In the VI example below, the correlated signals are generated by deriving a digital output waveform from the analog output waveform using the LabVIEW Comparison Nodes. Sample clock synchronization is achieved by specifying the analog output task's sample clock as the sample clock source for the digital output task. When the analog output task is started (assuming that the digital output task is already started and waiting for a sample clock), the tasks will run in a synchronized fashion, operating using the same sample clock, until the user stops the application. The following VI Snippet shows an example of Hardware synchronization between Digital and Analog Input tasks:Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram. The same concepts for analog output and digital output apply to the input example.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.