Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Update tolerances in VBAI in real time via ActiveX?

Check out this document.

http://zone.ni.com/devzone/cda/epd/p/id/1139

 

And this one explains the syntax to use to access shared variables using the datasocket API.

http://digital.ni.com/public.nsf/allkb/8D2FE9AC6ACB8B3F862571B0007FAECA

 

-Christophe

0 Kudos
Message 41 of 44
(1,043 Views)

Ok, I have looked at the examples and started to try in VB6.

In VBAI if I create a network shared system variable called "test", wich URL for the datasocket should I use?

I tried many combinations, but none worke (I get a connection error status).

 

0 Kudos
Message 42 of 44
(1,041 Views)

I answer myself. The url value should be:   "psp:\\localhost\Vision Builder\test"

Use the  SelectURL("localhost")  method to display the avaliable shared variables.

 

0 Kudos
Message 43 of 44
(1,038 Views)

The URL syntax to access shared variables from datasocket is psp://computer/library/shared_variable
Try psp://localhost/Vision Builder/test

0 Kudos
Message 44 of 44
(1,037 Views)