Benchtop Measurement and Test
Distributed Measurement and Control
High-Performance Test
Systems Engineering Software
Perspectives showcases how NI sees what’s next in the world of test and technology.
You can request repair, RMA, 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.
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.
02-02-2018 04:34 AM
Hello all!
Im making a simple code to teste mathscript, but im having a problem/don't know how to do a timer.
The idea of the code is:
Im measuring 2 values of voltage (V1 and V2)
When V2 > V1, I want to wait like 10 seconds and then if V2 still higher then V1 i want to activate a boolean.
My only problem now is making this "timer" or "wait".
Can someone help me pls?
02-02-2018 04:38 AM
Hi pedro,
using "plain" LabVIEW this would be very easy, so why do you use Mathscript here?
02-02-2018 04:46 AM - edited 02-02-2018 04:47 AM
This is the project
02-02-2018 06:54 AM
Hi Pedro,
All the stuff in the MathScript node can be done by simple LabVIEW functions easily!
I really recommend to get rid of the MathScript…
The timer can be implemented using the ElapsedTime function.
What do you need our team of experts to assist you with?
Thanks!
We'll be in touch soon!