02-04-2016 05:34 PM
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!
02-04-2016 06:00 PM
02-06-2016 02:25 PM
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
02-07-2016 12:19 PM
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
02-09-2016 08:31 AM
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.