xPC Target | ![]() ![]() |
GPIB-232CT-A Setup
The setup block parameters must be set to match the jumper seatings on the GPIB-232CT-A.
Driver Block Parameters
GPIB id - Enter the identification number for the GPIB controller. When the GPIB-232CT-A is tuned on, the identification number is set to 0. If you want to use another number, you need to:
Gpibinit(1).command = 'caddr 2'
Port - From the list, choose COM1, COM2, COM3, or COM4. Serial connection from the target PC to the GPIB-232CT-A controller
Baudrate - From the list, choose 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 600, or 300.
Number of Databits - From the list, choose 8 or 7.
Number of Stopbits - From the list, choose 1 or 2.
Prity - From the list, choose None, Odd, or Even.
Protocol - From the list, choose None or XOnXOff. If your serial device does not support hardware handshaking, or your application softwarre requires XOn/XOff handshaking, you might need to choose XOn/XOff.
Send Buffer Size - Enter the buffer size in bytes.
Receive Buffer Size - Enter the buffer size in bytes.
Initialization Struct - Enter the name of the structure containing the initialization information. For example, enter
gpibinit
Termination Struct - Enter the name of the structure containing the termination information.
![]() | GPIB-232CT-A | GPIB-232CT-A Send/Receive | ![]() |