NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

All threads hang after a certain period of time

I am running an older version of teststand - after some time executing all of my sequences are hanging.  The size of reports is small ~168kb, test stand gui is responsive - all threads are stuck in one thread.

 

Any ideas?

 

I am running a modified version of a parallel model with TS4.2 ( i know old) and never seen this type of behavior.

0 Kudos
Message 1 of 6
(3,896 Views)

rsmrostov-

 

Has anything changed in your software or hardware setup recently that may coincide with this behavior surfacing?

 

-Jeff

0 Kudos
Message 2 of 6
(3,886 Views)

No, runs for about 1/2 hour than everything freezes. This behaviour is constistent also...May be I am overflowing the buffer, but every write vi clears the serial buffer, so I shouldn't be.

 

when I try opening MAX and expanding the devices - it says driver hung up, looks like the 6008 card's drivers are hanging.

0 Kudos
Message 3 of 6
(3,884 Views)

Are you able to troubleshoot with NI I/O Trace to observe the behavior of the driver calls while this behavior occurs?

 

-Jeff

0 Kudos
Message 4 of 6
(3,880 Views)

Are you using a laptop? It sounds like USB power saving configuration of 30 minutes which will essentially kill the interface to the USB devices. That can lead to driver hangs.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 5 of 6
(3,869 Views)

Wasn't able to do that, as this would hang the system right up.  I remembered that it is the Usb->Serial Driver situation, that causes grief to just about everyone using it.  I have disabled powering the unit up and down, while the serial connection is enabled, added a few delays to cushion opening and closing the port - seems to be running ok now.

0 Kudos
Message 6 of 6
(3,839 Views)