01-12-2009 03:12 AM
Hi,
i have an VB.NET project using the VBAI 3.6 ActiveX and want to read and write some variables, created with the Variable Manager. Is it possible to access this variables from Visual Basic?
I tried to find some documentation but i only have the ActiveX help file and some basic example programs.
greetings
Hansjoerg
01-13-2009 03:55 AM
Hey,
If you created network shared System Variables or Network Variables its possible to access them trough the Measurement Studios Network Variable Library.
It's not possible to access them via ActiveX. However you can use ActiveX to access inspection results or step results.
Christian
01-14-2009 04:51 AM
Ok thank you Christian,
i´m tryin to write the variables through Modbus TCP now, think that should be the easiest way without buying Measurment Studio.
Hansjoerg
04-21-2009 05:16 PM
Christian,
You said it is possible to access the inspection variables using ActiveX. I have seen examples for reading values from these variables, but do you have a LabView (8.5) example that writes values INTO an online VBAI inspection from Labview? Or must I use modbus? Also, I am looking to write a string into a variable in VBAI. One string will be accessed by the VBAI data log function as a filename. The other will be a path string that I want to send into VBAI and somehow tell VBAI to inspect images from that directory... if possible.
Thanks.
-Chris W