LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB communications are lost after windows7 sleep

If I leave a Labview program running long enough for Windows 7 to enter sleep mode, on awakening, the program no longer has communications with the GPIB instruments. Scanning for instruments in MAX produces the message "There was an error...", which says it all.  It happens with more than one GPIB instrument.

 

When re-booted, everything works fine until the next sleep.

 

This has happened on several computers, all using the same version of Windows 7. It can be avoided by changing the sleep mode to 'never'. The program being run is an executable built on a pc running XP, and LV8.5.

Is there some other way to fix this, other than eliminating sleep mode?

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

 


@Dekay wrote:

If I leave a Labview program running long enough for Windows 7 to enter sleep mode,

This has happened on several computers, all using the same version of Windows 7. It can be avoided by changing the sleep mode to 'never'. The program being run is an executable built on a pc running XP, and LV8.5.

Is there some other way to fix this, other than eliminating sleep mode?


Not that I have noticed----  Win7 sleep mode seems to shut down a lot of I/O from PCI devices and USB ports.  I think it is related to an attempt to be "Green" and, it does save power.  However, It also presents a problem to running processes that get suspended.

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 2
(2,540 Views)