Integration with Bartender

Has anyone used the Bartender Application along with Ignition?
It is by Seagul Software
https://www.bartendersoftware.com/software/compare/
We have several application written using .NET and labview that calls the ActiveX components to easily print labels. The customer would like to continue to use Bartender in order to print DM and QR labels.

Thanks

Java and .Net aren’t really designed to play well together, though there are resources that might be made to work for you. I’d start here:

http://jni4net.com/

And yeah, don’t expect this to be trivial.

Thanks for the link, and i just saw that ActiveX controls were dropped from Ignition.
We are just starting to get into using Ignition more.
I did see that the Report builder can handle labels. Essentially we need labels on demand for Tracking.
I see i can script this out, but it looks like this is a blocking call, is this blocking at the gateway level i assume?

Yes, assuming you are talking about system.report.executeAndDistribute(). You can invoke a script with the function system.util.invokeAsynchronous() to give it its own thread.

1 Like

Do you mean report generation is a blocking call – to not use .Net? Yes, but executeAndDistribute() targeting a label printer can be called from an asynchronous thread.

From my experience with Bartender, the main point is getting data into Bartender (esp if you use the ‘Commander’ software. That’s pretty easy to do from Ignition - you can either open a raw socket using Java/Jython from scripting, or perform an HTTP request with some system functions.

1 Like