GpibCommunicatorConfiguration#
This is the class for the configuration for a GPIB communicator. This class inherits from CommunicatorConfiguration.
constructor GpibCommunicatorConfiguration(gpib_driver_type: PyGpibDriverType, gpib_board: str, gpib_board_address: int, gpib_device_address: int, timeout_in_seconds: int, termination_character: str)#
Initializes a new instance of the GpibCommunicatorConfiguration class.
Parameters#
| Name | Description |
|---|---|
| gpib_driver_type | The type of GPIB driver used. See GpibDriverType for available options. |
| gpib_board | The identification of the GPIB adapter. For NI use "GPIB0", for AdLink 3488 use "ADLINK3488". |
| gpib_board_address | The GPIB address of the GPIB adapter. Usually 0. |
| gpib_device_address | The GPIB address of the target device. |
| timeout_in_seconds | The timeout for communication in seconds. |
| termination_character | The termination character used in SendLine(). |
property gpib_board#
Returns or sets the identification of the GPIB adapter
Returns#
| Type | Description |
|---|---|
| str | The identification of the GPIB adapter. |
property gpib_board_address#
Returns or sets the GPIB address of the GPIB adapter
Returns#
| Type | Description |
|---|---|
| int | The address of the GPIB adapter. |
property gpib_device_address#
GPIB address of the target device
Returns#
| Type | Description |
|---|---|
| int | The address of the target device. |
property gpib_driver_type#
Returns the type of driver used to establish communication
Returns#
| Type | Description |
|---|---|
| GpibDriverType | The type of GPIB driver used. |
property receive_termination#
Line ending for receiving data.
Returns#
| Type | Description |
|---|---|
| int | The line ending for receiving data. |
property send_eot_mode#
Line ending for sending data.
Returns#
| Type | Description |
|---|---|
| SendEotMode | The line ending for sending data. |