Overview This code shows how to trigger an analog voltage output with an analog voltage input range.
This function is accomplished by using two simultaneous while loops each running a continuous DAQmx task. The top loop is the input task and when the input value falls within a range it uses a case structure to set the "Voltage output" local variable. The bottom loop is the output task and it is continuously outputting a voltage which can be set by the front panel or by the logic in the input loop. Requirements
LabVIEW 2012 (or compatible)
DAQmx 9.5.5 (or compatible)
Steps to Implement or Execute Code
Select the physical channels and set proper parameters.
Run the VI.
Additional Information or References VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**