Hi RaySun,
Here's a VI that will work and takes the following steps. I am working on getting it posted to the official Developer Zone site:
1.- Choose the constants that will be used for input clock source depending on the board type. The PXI 10MHz back plane is used for PXI boards.
For PCI boards the master exports the clock and the slave receives it.
2.- Open a session to each of the digitizers.
3.- Configure the vertical parameters for each of the digitizers. Both are configured to the same input range.
4.- Configure the horizontal parameters for each of the digitizers. Both will run at the same rate and acquire the same number of samples.
6.- Configure an analog edge trigger on the master digitizer.
7.- Export the stop (reference) trigger from the master to RTSI 1.
8.- Configure the slave digitizer to have a digital trigger on RTSI 1. It will trigger of the master's exported stop (reference) trigger.
9.- Query the pipeline delays from the master and slave, add them, add an additional specified delay, and set the slave trigger delay. The additional delay can
be modified to line up the two waveforms.
10.- Initiate the slave digitizer first. This is required since we want the slave to be waiting for the trigger when the master sends it. Initiate the master digitizer second.
11.- Fetch the waveforms from both digitizers and merge them so they can be displayed on the same graph.
12.- Check for errors, and stop if any occurred. Also stop if the "Stop" button is clicked.
13.- Reset the digitizers to free all the lines used for synchronization. Close the session and display any errors that might have occurred.
Here's the example that should get you going, in LabVIEW 8, 7.1, and 7.0 versions (since I had to save down from 8 to 7, might as well provide them all)
Now, to save them down from LabVIEW 8, the links to NI-SCOPE VIs may have been broken, so you may need to replace those VIs, but you should be able to see which ones go where by looking at the context help over them.
Thanks,
mike
Message Edited by Berto on 03-23-2006 01:11 PM
Message Edited by Support on 03-23-2006 01:20 PM