xPC Target    

GPIB-232CT-A Setup Block

The setup block parameters must be set to match the jumper settings on the GPIB-232CT-A controller.

Driver Block Parameters

Parameter
Description
GPIB id

Enter the identification number for the GPIB controller. When the GPIB-232CT-A is turned on, the identification number is set to 0.

Port

From the list, select COM1, COM2, COM3, or COM4. This is the serial connections the target PC uses to communicate with the GPIB-232CT-A controller.

Baudrate

From the list, select 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200, 600, or 300.

Number of Databits

From the list, select 8 or 7.

Number of Stopbits

From the list, select 1 or 2.

Parity

From the list, select None, Odd, or Even.

Protocol

From the list, select None or XOn/XOff. If your serial device does not support hardware handshaking, or your application soft war re requires XOn/XOff handshaking, you might need to select 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

  • GPIB_Initialize
    

If you are not using initialization messages, enter two single quotes in this box. For information on creating this structure, see Creating GPIB Message Structures.

Termination Struct

Enter the name of the structure containing the termination information.


  GPIB Simulink Block Reference GPIB-232CT-A Send/Receive Block