To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI shows you how to acquire data from an AI sensor.
Description
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.
Requirements
Steps to Implement or Execute Code
Additional Information or References
VI Snippet
**This document has been updated to meet the current required format for the NI Code Exchange.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.