From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-28-2007 09:02 PM
06-28-2007 09:16 PM
06-28-2007 09:24 PM
Sorry dreeves, I don't have an answer for you. I would like to know the solution myself. I had similar problems recovering from a standby state.
DAQmx takes a while to get going for USB devices and the queue functions didn't recover properly at all. I just sat in a loop checking the status of my attached devices until they initialised properly then moved on from there.
It would be great if there was some way to check the status if the various LabVIEW modules that load on startup. Then, when all the ones you need are ready, continue with the rest of your application.
I would think checking LabVIEW for its status would be more reliable then asking Windows if it has finished starting up.
06-28-2007 09:57 PM
Thanks, I should try something like this again. When I first encountered this problem a while ago I believe I did something similar. I made a loop with the 'Initialise Controller' VI and waited until it executed successfully. From what I remember, it would then sometimes generate an error with another motion VI further on. At that point I gave up and just went for the simple delay option. I might go back and put some more effort into investigating your suggestion again. It would be a better solution than what I have at the moment.
David
06-29-2007 03:16 AM