Overview This VI shows you how to acquire data from an AI sensor.
The purpose of this example is how to acquire data from an AI sensor each time the proxistor is triggered from a Digital Input. To capture 1 cycle of data and save the data on each cycle to be used at a later date to pick off certain samples at a specified time. From the waveform triggering picture attached, the analog signal needs to be acquired on every '1' state of the digital pulse. You will see that when the digital edge is triggered it returns back to zero and at this edge it will correspond to an analog value.
LabVIEW 2012 (or compatible)
DAQmx 12.0 (or compatible)
Steps to Implement or Execute Code
Download the attached VI, select the desired channels.
Run the code.
Additional Information or References VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Many thanks for using the NI forums and I look forward to your reply.