Specifications
GPIB Simulink Block Reference
3-17
GPIB Initialization and Termination Message
Structures
The format for the initialization and termination structures are similar to the
send/receive structure except for a few differences:
The initialization and termination structures do not need to receive or send
information through driver block ports on your Simulink model. Therefore, the
initialization and termination structures do not use the message fields
.InputPorts, .OutputPorts, .RecData, and .OutputDataTypes.
Below is a description of the possible message fields for the initialization and
termination structures. The order of the message fields does not matter.
However, the field names are case-sensitive.
Message
Fields
Description
Address Sets the GPIB address for the device being accessed and
defines the keyword ADDR. Default value =
[].
Command GPIB command sent to a GPIB device. Default value =
’’.
SendData Data sent with the GPIB command. Default value =
’’.
RdLength Defines the length of the acknowledge string, in bytes, from
the GPIB controller.
Ack The expected acknowledge string from the controller as a
result of an initialization or termination message. If this
value is set, you need to set the timeout value. If no string is
defined, then no acknowledge is expected.
Timeout Time, in seconds, allowed for the GPIB controller to respond
to a message and send back an acknowledge string. Default
value =
0.049 seconds.
If the time-out value is exceeded, a time-out error is
reported.