LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

network published variablers do not update by replacing rt exe files on the controller

I am using Labview 2020 to program sbrio 9608 boards. After i make changes to my software i build and run the program as startup on one 9608 board. This creates rt exe files that i then upload on a second 9608 board.

 

The issue is that when i make some changes to the network published variables on one board and upload the rt exe files to a new board, the network published variables on the new board do not update. 

 

Are there other steps i need to do update the network published variables on the second board. Is replacing the rt exe files on the second board not enough?

 

If i create an image of the first board using RAD utility and upload that image to the second board that works fine. also if i connect the second board to my computer and build the program directly on it, that works too. However i want to avoid both of these methods. 

 

 

 

0 Kudos
Message 1 of 2
(1,212 Views)

This may help you: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YIDuCAO&l=en-US

 

You can allow your compiled rt application to automatically check and deploy your shared variable libraries at run time.

Also if using several targets in the same LV project, you can set the Reference Mode of your shared variable nodes to "Target Relative" to ensure they connect to the variable hosted on the target itself (and not to an equivalent variable from another target).

 

Then, from a host PC you can dynamically access any shared variable of any target with "Open Variable Connection" by specifying its URL :

ni.var.psp://target_ip_address/library_name/variable_name

(library_name is without the ".lvlib" extension).

0 Kudos
Message 2 of 2
(1,161 Views)