xPC Target | ![]() ![]() |
Using GPIB Drivers
xPC Target uses a combination of Simulink blocks and MATLAB structures to support GPIB communication from your target application and target PC. The topics in this section are
This section uses an example of a multimeter attached to a GPIB bus with an address of 16. This multimeter needs the initialization command
to set the device to read DC voltages, and needs the command
during each sample interval
to read one voltage value
![]() | MATLAB Message Structures for GPIB | Adding GPIB Driver Blocks | ![]() |