Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Error accessing network (Vision builder 2023 and Labview 2023)

I have vision builder 2023 and labview 2023

I have a school assignment, pretty easy

 

The thing is that in VBAI i get this message with i create a "Set Variable" 

I create the variable, publish it in the network, but i keep getting the same mistake "Error Accessing Network"
I already installed and uninstalled everything, from labview to vision, to everything National Instruments related, restarted, updated my drivers, killed my firewall, everything and nothing seems to be working.

In labview i dont see my Vision Builder to select a variable.


I've read that Distributed Manager helped but it does not show anything.

 

I dont know if im missing a NI driver or toolkit or something

0 Kudos
Message 1 of 2
(440 Views)

It seems to be that you tried to use local variables instead of network variables and also using datasocket instead.

 

What you can do:

Try to create simple LabVIEW project which will hold and publish (deploy) Network Vriables:

Screenshot 2023-12-04 10.56.51.png

Block Diagram is simple and straight forward:

Snippet.png

For demo purposes I'll read "ReadDBL", multiply by 2 and write to WriteDBL. Also will write Counter.

Also be sure that you haven't disable autodeploy occasionally:

Screenshot 2023-12-04 11.05.56.ADpng.png

When running (and deployed at first run), in NI DISM you will see something like that:

Screenshot 2023-12-04 11.06.54-NIDISM1.png

Now, in VBAI you should map these Variables 

Screenshot 2023-12-04 10.58.02.png

then

Screenshot 2023-12-04 10.59.12.png

Now you can add step where you will write (or read) variables, for example, I'll increment ReadDBL:

Screenshot 2023-12-04 11.10.28-Step.png

and now it works:

Screenshot 2023-12-04 11.12.17 Works.png

 

And if you need to connect control or indicator with data binding, you can do it by this way:

Screenshot 2023-12-04 11.00.17.png

Test project in the attachment. Hope it helps.

Andrey.

0 Kudos
Message 2 of 2
(380 Views)