Download Instrument Control Toolbox User`s Guide

Transcript
To Instrument
To Instrument
Send simulation data to instrument
Library
Instrument Control Toolbox
Description
The To Instrument block configures and opens an interface to an instrument, initializes
the instrument, and sends data to the instrument. The configuration and initialization
happen at the start of the model execution. The block sends data to the instrument
during model run time.
The block has no output ports. The block has one input port corresponding to the data
sent to the instrument. This data type must be double precision.
Note: The To Instrument block can be used with these interfaces: VISA, GPIB, Serial,
TCP/IP, and UDP. It is not supported on these interfaces: SPI, I2C, and Bluetooth.
Dialog Box
Block sample time
The Block sample time parameter is the only setting outside of the dialog box tabs.
The default value of -1 sets the block to inherit timing. A positive value is used as
the sample period.
Hardware Configuration Tab
The Hardware Configuration tab is where you define the settings for communications
with your instrument. You have two choices about establishing an interface:
24-33