How can I synchronize analog intputs and outputs using Data Acquisition Toolbox?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 15 Nov. 2011
Bearbeitet: MathWorks Support Team
am 3 Mär. 2022
I am using Data Acquisition Toolbox and would like to synchronize an analog input and analog output object.
Akzeptierte Antwort
MathWorks Support Team
am 24 Feb. 2022
Bearbeitet: MathWorks Support Team
am 3 Mär. 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 Kommentare
Walter Roberson
am 22 Nov. 2013
Bearbeitet: MathWorks Support Team
am 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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Data Acquisition Toolbox Supported Hardware finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!