To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example uses a counter input to trigger a serial acquisition. When the counter detects a digital event, the specified string command is written to the serial port and a serial read is executed.
Description
Serial commands are typically software-timed, sent every iteration of a loop. By importing a sample clock, the serial commands can be synchronized with external acquisitions based on hardware timing. Each time the external sample clock strikes, an event is registered and each event triggers a serial acquisition.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
Block Diagram
**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.
Great stuff!