The method described below uses a digital output to trigger an analog input and analog output task. This can be done for any DAQ device which has limited internal routing.
Connect a wire between the digital output pin and the two PFI pins on your device
On both analog input and analog output task, use a trigger which uses one of the PFI lines as its source. (Separate PFI lines may be needed if PFI sharing is not allowed with the device).
Create a digital output task which sets its value to false (low) and then to true (high). This high value will be used as the trigger for the other tasks.
Make sure to write the true constant to the digital output task after both the analog input and analog output tasks have started.
Please see the following code as an example on how to implement the steps described above in LabVIEW.
Thank you for your feedback.
You changed your response to Not Helpful
You changed your response to Helpful
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.