Difference between Serial Send and To Instrument

2 views (last 30 days)
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?

Answers (0)

Categories

Find more on Instrument Control Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!