Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

timout error on connections that are open for several hours

Hello everybody!

 

We are using NI Soft- and Hardware to control our measurement devices.

Everything works out fine exept one phenomenon.

 

We are connecting and initializing all our GPIB/TCPIP connections once we start our programm.

We are performing measurements, the communication is stable.

When we are leaving the system without stopping our software the connections remain opened, there is just no communication happening.

Coming back after, let's say two hours, starting a new measurement which will NOT reinitialize everything, it will just start communicating (*IDN? e.g.) an error occures.

A timeout is reported.

It seems to me that there is some sort of general timeout that will force the VISA-component to close the connection after a certain time of no communication.

I also think that it is not a _ATTR_TIMEOUT comment, because this will just work on QUERY issues (Send - Read).

 

Has anyone of you an idea if there is such a general timeout, or has anyone had the same problems?

 

Thanks in advance!

 

Best regards

Christian

0 Kudos
Message 1 of 2
(3,372 Views)

I suspect the powerdown of a usb port by the operating system.

Check all power settings!

greetings from the Netherlands
0 Kudos
Message 2 of 2
(3,360 Views)