11-30-2023 07:13 PM
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
12-04-2023 04:15 AM
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:
Block Diagram is simple and straight forward:
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:
When running (and deployed at first run), in NI DISM you will see something like that:
Now, in VBAI you should map these Variables
then
Now you can add step where you will write (or read) variables, for example, I'll increment ReadDBL:
and now it works:
And if you need to connect control or indicator with data binding, you can do it by this way:
Test project in the attachment. Hope it helps.
Andrey.