04-10-2012 04:45 AM
Hello,
I would like to create a custom plugin using the VBAI Dev. Toolkit. I'm using VBAI 2010 with LabView 2010.
In this step I would like to send a TCP message over a TCP connection defined in VBAI Communication Manager. How can I get the open Connection ID? Or do I have to open the connection in the Plugin? In this case, how to get the defined TCP data from the Communication Manager?
Thanks for your help.
Best regards,
Yellow
04-11-2012 10:45 AM
Unfortunately, there is currently no way of accessing the TCP session declared in the Vision Builder Communication Device Manager from a custom step.
-Christophe
04-23-2012 12:55 AM
Ok, thanks for your reply.
In that case, would it be possible to open a new connection in a custom plugin and send custom data streams over that connnection?
Regards,
Yellow
04-23-2012 08:06 AM
Yes you could. You can even create a simple VBAI inspection that uses the TCP step and then migrate it to LabVIEW to see how VBAI opens the connection and uses it in the TCP step. It may be more involved if you want to allow the user to configure all the TCP settings (IP Address/port) and have all your custom steps use the same settings (maybe save them to an INI and have all steps use the same INI to get the settings).
Hope this helps,
Brad