Difference between Serial Send and To Instrument

2 visualizzazioni (ultimi 30 giorni)
Tahir
Tahir il 21 Apr 2012
The Instrument Control Toolbox in MATLAB/Simulink contains two blocks that can send data to a device on a serial port:
Serial Send: Send binary data over serial port
To Instrument: Send simulation data to instrument
It looks like the To Instrument block is more general-purpose than Serial Send. To Instrument allows you to select the underlying interface, with one option being "Serial".
What is the difference between To Instrument (when configured with Interface=Serial) and Serial Send? Is there any reason to prefer either one for sending, say, 4 bytes of numeric data to the device? Are there any other situations where only one of them would work?

Risposte (0)

Categorie

Scopri di più su Instrument Control Toolbox Supported Hardware in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by