To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI monitors a digital line/digital lines and performs an analog acquisition every time there is a rising or falling edge on those digital lines.
Description
It uses change detection as the sample clock for the digital and analog lines. There is a counter input task that uses a clock to count edges so that the relative time in ms, since the program begins output with each analog sample taken. The data is recorded in a spreadsheet.
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.