ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Shared Network Variable timeout?

Is there such a thing as a timeout when trying to read a TCP based Shared Network Variable?  Just how long does the Shared Variable Read wait before returning an error if the variable/variable engine are not available?   If so, does anyone know what the default is and if it can be changed?
 
I'm troubleshooting a problem that involves a cFP hosting the SVE and a program deployed on a host pc.  I believe the problem is related to network response times being very slow at certain times of the day.  Particularly first thing in the AM when everyone is logging in, checking E-mail etc.  
0 Kudos
Message 1 of 7
(4,268 Views)
Centerbolt,

Do you get an error message on your host computer? This kb might be helpful.
Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 2 of 7
(4,247 Views)

Karunya,

Just getting started with this.  Due to the nature of the application the error handling is a bit different and I will have to modify it so I can see what is happening in the host and target executables.  I will probably have to start logging them to a .txt file.  If I'm not standing right there when the problem occurs, the operator is going to reset the cFP and continue on. 

I asked about the timeout because I know the network has been experiencing BW issues at certain times of the day and this would explain the behaviour I'm seeing.   All I do know at this time is that it appears that the SVE remains up and running on the cFP.   

0 Kudos
Message 3 of 7
(4,234 Views)
Hey centerbolt,

I am not familiar with what a BW issue is. Educate me?



Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 4 of 7
(4,212 Views)
I believe he is using BW as abbreviation for bandwidth.  In other words, too much network traffic during that time of day causing interruptions in the communication.
0 Kudos
Message 5 of 7
(4,204 Views)
BW never crossed my mind as the abbreviation for BW. Anyway to answer the time out question, shared variables don't have a timeout. Once they are deployed, they are going to wait until there is an update. But if there is high network traffic, the update might take a while but it will happen at somepoint.
Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 6 of 7
(4,186 Views)
Centerbolt,

Once you troubleshoot some more, check for errors from the SVE on the host computer.

Warm regards,
Karunya R
National Instruments
Applications Engineer
Message 7 of 7
(4,184 Views)