Specifications

Using GPIB Drivers
3-7
3 Double-click the National Instruments group block.
A window with blocks for GPIB drivers opens.
Alternatively, you could access the xPC Target block library from the
Simulink Library Browser. In the Simulink window, and from the
View
menu, click
Show Library Browser. In the left pane, double-click xPC
Target
, double-click GPIB, and then click National Instruments.
4 Drag-and-drop a GPIB Setup block and a GPIB Send/Receive block to your
Simulink model.
Your model should look similar to the figure below. Notice, the input and
output ports are not defined or visible on the blocks. The inputs and outputs
are defined in a MATLAB message structure, and visible only after you load
that structure into the MATLAB workspace and update your Simulink
model.