Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

RT Example Network Variables

I am currently trying to upgrade a simulation running on an obsolete controller onto a new PXI controller and labview. I have not previously done much with the RT side, so I started out by messing around with some of the examples. Specifically the RT Network communication example that deals with network shared variables. The problem is that I can successfully deploy to my RT target, but the variables themselves do not update. I tried doing everything in the knowledge base article Troubleshooting Network-Published Shared Variables with no effect. When I highlight execution of the host vi, it shows the network variable waveform as giving a -1950679022 error. All information I could find on this error references programatically deploying variables which isn't the case since I am working from the project view, and not from an executable.
 
Host Computer - 192.168.158.57
Windows firewall service is not running
Labview 8.5/Real Time module
No antivirus software
 
Target - 192.168.158.56
NI-PXI-8106
Running Labview Realtime
Software
     Ethernet driver
     Labview RT 8.5
     Network Variable Engine 1.4.0
     Variable Client Support 1.4.0
 
The two are connected by a simple 4 port open switch.
 
I can communicate with the RT controller both with MAX and in the project view the RT controller comes up with a green circle.
 
The variable manage shows the variables deployed to the RT controller, but has problems updating the watch window with them. I recieve error 56 and 1184 when trying to manually change the values from the variable manager.
   
Can anyone think of any reason the NI supplied example would not update properly given my setup? Everything points to a firewall issue, but with no windows firewall, no antivirus firewall, and an open switch I don't see where the communication would be getting disrupted.

Message Edited by Engineer Guy on 07-09-2008 07:40 AM

Message Edited by Engineer Guy on 07-09-2008 07:43 AM
0 Kudos
Message 1 of 3
(3,249 Views)
Looks like I had a bad shared variable engine or network variable support loaded on my RT target. I reinstalled these components and it seems to work fine now.
0 Kudos
Message 2 of 3
(3,207 Views)
Hi Engineer Guy,

I was investigating this issue for a while, and when I went to reply, you had beaten me to it.  I'm glad that you have resolved the issue.  For your reference, there are a few known issues (112935, 96056, 69248, etc.) with network published shared waveform variables with real-time FIFO enabled.  If you come up against problems with waveform data with this type of variable, try turning off the real-time FIFO.  "These issues have been addressed in a future release of LabVIEW".  By the way, great description in your post!
0 Kudos
Message 3 of 3
(3,205 Views)