To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI shows how to create two Analog Output tasks on two separate devices and use one hardware clock to control both devices.
Description
In this case, we set the rate for Device 0, then export the clock to a RTSI line, but you can also use a PFI line. You can externally connect the RTSI bus or the PFI lines, so the two devices can share a clock.
Note that the slave task must start before the master.
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.