File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ The examples in this folder relate to synchronising tasks.
22It's assumed you're already familiar with the information in vidrio.mixed
33Also see ContinuousAI.c in the DAQmx_ANSI_C_examples directory
44
5- One
5+ ### One
66Let's start two tasks at the same time on different DAQs from the command line.
77Hook up the AO0 lines of each DAQ to a scope then run:
88>> B=vidrio.sync.sine_AO_AI('Dev1');
@@ -18,7 +18,7 @@ Stop the acquisition:
1818>> B.stopAcquisition;R.stopAcquisition;
1919
2020
21- Two
21+ ### Two
2222Will this problem go away if start the two waveforms at exactly the same time?
2323vidrio.sync.sine_AO_AI triggers the AO task from the AI task so we need to set this up to wait for a trigger:
2424
@@ -39,7 +39,7 @@ Stop the acquisition:
3939>> B.stopAcquisition;R.stopAcquisition;
4040
4141
42- Three
42+ ### Three
4343Clearly we need a shared clock between the boards.
4444Each class is set up such that the AI task uses the AO clock.
4545So all we need to do is have the AO clock of the DAQ in one class use the AO clock of the DAQ in the other class.
You can’t perform that action at this time.
0 commit comments