Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Vision Builder AI 3.6 - ActiveX - VB - Variable access

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 

0 Kudos
Message 1 of 4
(3,978 Views)

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 

Message 2 of 4
(3,962 Views)

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 

 

 

 

0 Kudos
Message 3 of 4
(3,938 Views)

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

Chris Walker
Certified Labview Developer
0 Kudos
Message 4 of 4
(3,626 Views)