To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example shows using a pulse train generated by a retriggerable counter task as the sample clock for the analog IO task.
Description
Like M Series devices, the cDAQ 9178 features retriggerable counter tasks but not Analog IO tasks. We can get around this by using a pulse train generated by a retriggerable counter task as the sample clock for the analog IO task. Two VIs are attached for this example. The file RetriggerableIOcDAQ9178 is configured to accept an external trigger to retrigger the analog IO. The VI retriggerableIOcDAQ9178Demo demonstrates the retriggerable functionality by using another counter to generate a low frequency pulse train to act as the trigger source.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**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.