Skip to content

enumerations¤

Enumeration constants.

ATNState (IntEnum) ¤

The state of the GPIB Attention (ATN) line.

Attributes:

Name Type Description
DEASSERT int

Deassert ATN line, 0

ASSERT int

Assert ATN line and take control synchronously without corrupting transferred data, 1

DEASSERT_HANDSHAKE int

Deassert ATN line and enter shadow handshake mode, 2

ASSERT_IMMEDIATE int

Assert ATN line and take control asynchronously and immediately, without regard for any data transfer currently in progress, 3

Backend (Enum) ¤

The backend library to use for communication with the equipment.

Attributes:

Name Type Description
MSL str

"MSL"

PyVISA str

"PyVISA"

NIDAQ str

"NIDAQ"

DataBits (IntEnum) ¤

The number of data bits to use for Serial communication.

Attributes:

Name Type Description
FIVE int

5

SIX int

6

SEVEN int

7

EIGHT int

8

Parity (Enum) ¤

The parity type to use for Serial communication.

Attributes:

Name Type Description
NONE str

"N"

ODD str

"O"

EVEN str

"E"

MARK str

"M"

SPACE str

"S"

RENMode (IntEnum) ¤

The mode of the GPIB Remote Enable (REN) line and optionally the remote/local state.

Attributes:

Name Type Description
DEASSERT int

Deassert REN line, 0

ASSERT int

Assert REN line, 1

DEASSERT_GTL int

Deassert REN line and send the Go To Local (GTL) command, 2

ASSERT_ADDRESS int

Assert REN line and address device, 3

ASSERT_LLO int

Send local lockout (LLO) to any device that is addressed to listen, 4

ASSERT_ADDRESS_LLO int

Address this device and send the LLO command, putting it in the Remote with Lockout State (RWLS), 5

ADDRESS_GTL int

Send the GTL command to this device, 6

StopBits (Enum) ¤

The number of stop bits to use for Serial communication.

Attributes:

Name Type Description
ONE int

1

ONE_POINT_FIVE float

1.5

TWO int

2