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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling daq

Hi

 

We have four voltage signals coming from a DAQ and then being split using signal manipulation. We would like it so one of the tests entering the daq can trigger all the other tests to begin. That is on test is always on and the other three don't begin until a set result is generated from the first test. Is this possible?

 

Thanks

 

Chris

0 Kudos
Message 1 of 7
(2,553 Views)
This post is a bit confused. Are the signals coming from the DAQ, or going to the DAQ? What do you mean by "tests": maybe software routines activating DAQ lines? Do you want one of this routines to trigger activation of the others when it finishes?
0 Kudos
Message 2 of 7
(2,541 Views)

the signals are coming from the daq, I want one of the tests from the daq to trigger the start of the other tests from the daq.

 

thanks

 

chris

0 Kudos
Message 3 of 7
(2,536 Views)
If you mean can you control the starting of one test based on the results coming back in from some other already running test the answer is: Of course you can.  Automating this type of thing is one of the main purposes of LabVIEW.
LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 4 of 7
(2,535 Views)

Still unclear: by "test", do you mean a test program, or a part of it? In this case test is not "from DAQ", but using DAQ as external hardware. Is it your situation?

In this case, NIquist's advice applies!

Regards

0 Kudos
Message 5 of 7
(2,529 Views)
in response to NIquist yes this is what i want to do, but i am having trouble doing it, is there a simple way to achieve this only using one daq assistant in a while loop.
0 Kudos
Message 6 of 7
(2,513 Views)
Nope.  You'll need a more advanced architecture if you want to monitor input, make decisions based on it, and then trigger the appropriate code to run.  A state machine is probably the best way to go.  You'll have an idle state spinning in a loop to monitor input and then it sends the machine to different states depending on what input it receives. 
LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 7 of 7
(2,502 Views)