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
- LabVIEW 2012 (or compatible)
Steps to Implement or Execute Code
- Configure the physical channels for the two analog output tasks.
- Specify the analog output rate and the data you want to output.
- Run the VI.
Additional Information or References
VI Snippet


**This document has been updated to meet the current required format for the NI Code Exchange.**