LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Single VI, multiple DAQ, need to Manually Trigger Last One

I want to use a single VI to log a thermocouple for a long period of time and to log transducer data for a short period at the end of the test. How do I delay the transducer start until a manual trigger? I have tried putting a Boolean switch on it but get an error that it is the wrong kind of input.

Thank you!

0 Kudos
Message 1 of 5
(3,645 Views)
Where did you put this Boolean? You should be able to use normal dataflow. Assuming your thermocouple read is in a loop, when the loop finishes, close and clear that task and start the new one. Connecting the error wires will enforce execution order.
0 Kudos
Message 2 of 5
(3,633 Views)

You know, if we saw your code (which seems to mention two separate devices, but I'm not sure about that), we could better understand what you intend to do (probably) and would be better able to help you figure out how to do it.  Otherwise, we're just guessing (both about what you intend and why it isn't working).  And, please, if you do post code, post executable code, most easily done by attaching a VI, but a LabVIEW Snippet is also OK.

 

Bob Schor

0 Kudos
Message 3 of 5
(3,589 Views)

You have a simple elegant solution. Do it via State machine

- Initialize (Open references to your logger, devices, FP GUI, etc.)

- Wait for user to hit start (Trigger when user presses Start)

- Log from Thermocouple

- Transition from Thermocouple data logger to delay of whatever you need

- Log Transducer

- Post process

- Wait for user to hit start


Kudos are the best way to say thanks 🙂
0 Kudos
Message 4 of 5
(3,559 Views)

In the bottom loop, I am trying to delay starting this daq logger until an input (button or switch) is activated on the front panel. I want the top loop to start logging when I push run like it currently does. I can already individally stop the loops.

0 Kudos
Message 5 of 5
(3,504 Views)