LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview stops when computer is locked

We are running Labview 2011.  After some time of no user interaction the computer is locked by Windows XP.  Supposedly programs should be able to keep running while the computer is locked.  My Labview code doesn't.  Does anyone know what's going on?

 

The code I have controls a temperature chamber and some data multiplexere and acquires data from a frequency counter (all done through a RS-232 to USB adapter).  This is logged to a .csv file every 10 or 15 minutes.

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

Check your computers "power settings" and make sure it is not going to "sleep" or hibernation at the same time it locks the screen.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 2 of 6
(3,754 Views)

We have disabled all going to sleep/hibernation stuff.  The only solution so far is to log off our network and just log on to the local computer that is running Labview.  Then Labview keeps running.  Somehow being logged into the network kills Labview.

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

Another chance to push a Plug-n-Play FAQ

 

FAQ 1 : My USB device stops working unexpectedly.

The first thing to look at is the OS power saving options.  There is a global trend towards developing "Green" electronics and energy star ratings are getting fairly common.  "If its not being used shut it off" is nothing new.  Cavemen learned how to bank a fire to preserve energy that would otherwise be wasted.  Likewise, the Windows OS has a power saving feature to shut down power to the USB hubs when no user activity is present.  In Automated systems this feature can cause problems since removing USB hub power will shut down the USB device.   Solution: Use the device manager to change the USB hub Power Options.

 

The really funny thing is the first time I posted this the OP turned out to be the contractor sitting next to me at the time.


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 6
(3,742 Views)

Thanks, this sounds promising but it will be a few hours before I can test it.

0 Kudos
Message 5 of 6
(3,733 Views)

@antonv wrote:

Thanks, this sounds promising but it will be a few hours before I can test it.


It will probably work just fine- you wouldn't be the first to pull out hair trying to figure out why "that dratted USB device goes out to lunch every time I go out to lunch."  I probably wasn't the first eitherSmiley Wink 


"Should be" isn't "Is" -Jay
0 Kudos
Message 6 of 6
(3,724 Views)