How can I synchronize analog intputs and outputs using Data Acquisition Toolbox?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 15 Nov 2011
Edited: MathWorks Support Team
on 3 Mar 2022
I am using Data Acquisition Toolbox and would like to synchronize an analog input and analog output object.
Accepted Answer
MathWorks Support Team
on 24 Feb 2022
Edited: MathWorks Support Team
on 3 Mar 2022
Synchronization of analog inputs and outputs can only be achieved through the use of hardware triggering. It is also possible to trigger two analog input objects at approximately the same time using software triggering, however they will not be synchronized.
If you wish to use hardware triggering, you will need to make sure that your hardware is capable of the type of synchronization you want to do. For example, some boards may have separate trigger pins for analog inputs and outputs. Please see the following page for a list of the hardware supported by Data Acquisition Toolbox:
The following example shows how to use analog input channels and analog output channels together with a single Session object running near simultaneous.
2 Comments
Walter Roberson
on 22 Nov 2013
Edited: MathWorks Support Team
on 5 Apr 2018
Updated links:
For Legacy: https://www.mathworks.com/help/releases/R2015b/daq/starting-multiple-device-objects.html?searchHighlight=starting%20multiple%20device%20objects and see also https://www.mathworks.com/help/releases/R2015b/daq/configuring-analog-input-triggers.html?searchHighlight=Configure%20Analog%20Input%20Triggers and https://www.mathworks.com/help/releases/R2015b/daq/examples/using-analog-input-triggers.html
More Answers (0)
See Also
Categories
Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!