Aerospace, Defense, & Government
Academic & Research
Benchtop Measurement and Test
Distributed Measurement and Control
Systems Engineering Software
You can request repair, schedule calibration, or get technical support. A valid service agreement may be required.
Provides support for NI data acquisition and signal conditioning devices.
Provides support for Ethernet, GPIB, serial, USB, and other types of instruments.
Provides support for NI GPIB controllers and NI embedded controllers with GPIB ports.
I need to insert a timeout on a while loop to exit this loop in the case of the device isn't able to answer.
How can I do ?
Go to Solution.
Create a Local Variable:
In an expression step before you start the while loop set Locals.StartTime = Seconds()
As part of the condition for the While Loop use: (Seconds() - Locals.StartTime) < X
where X is your timeout in seconds.
Hope this helps,
Thank you it works very well.
What do you need our team of experts to assist you with?
We'll be in touch soon!