Enums

Enums used in NI-SWITCH

HandshakingInitiation

class niswitch.HandshakingInitiation
MEASUREMENT_DEVICE

The niSwitch Initiate Scan <switchviref.chm::/:py:meth:`niswitch.Session.Initiate_Scan.html>`__ VI does not return until the switch hardware is waiting for a trigger input. This ensures that if you initiate the measurement device after calling the niSwitch Initiate Scan <switchviref.chm::/:py:meth:`niswitch.Session.Initiate_Scan.html>`__ VI , the switch is sure to receive the first measurement complete (MC) signal sent by the measurement device. The measurement device should be configured to first take a measurement, send MC, then wait for scanner advanced output signal. Thus, the first MC of the measurement device initiates handshaking.

SWITCH

The niSwitch Initiate Scan <switchviref.chm::/:py:meth:`niswitch.Session.Initiate_Scan.html>`__ VI returns immediately after beginning scan list execution. It is assumed that the measurement device has already been configured and is waiting for the scanner advanced signal. The measurement should be configured to first wait for a trigger, then take a measurement. Thus, the first scanner advanced output signal of the switch module initiates handshaking.

PathCapability

class niswitch.PathCapability
PATH_AVAILABLE

Path Available

PATH_EXISTS

Path Exists

PATH_UNSUPPORTED

Path Unsupported

RESOURCE_IN_USE

Resource in use

SOURCE_CONFLICT

Source conflict

CHANNEL_NOT_AVAILABLE

Channel not available

RelayAction

class niswitch.RelayAction
OPEN

Open Relay

CLOSE

Close Relay

RelayPosition

class niswitch.RelayPosition
OPEN

Open

CLOSED

Closed

ScanAdvancedOutput

class niswitch.ScanAdvancedOutput
NONE

The switch device does not produce a Scan Advanced Output trigger.

EXTERNAL

External Trigger. The switch device produces the Scan Advanced Output trigger on the external trigger output.

TTL0

The switch device produces the Scan Advanced Output on the PXI TRIG0 line.

TTL1

The switch device produces the Scan Advanced Output on the PXI TRIG1 line.

TTL2

The switch device produces the Scan Advanced Output on the PXI TRIG2 line.

TTL3

The switch device produces the Scan Advanced Output on the PXI TRIG3 line.

TTL4

The switch device produces the Scan Advanced Output on the PXI TRIG4 line.

TTL5

The switch device produces the Scan Advanced Output on the PXI TRIG5 line.

TTL6

The switch device produces the Scan Advanced Output on the PXI TRIG6 line.

TTL7

The switch device produces the Scan Advanced Output on the PXI TRIG7 line.

PXI_STAR

The switch module produces the Scan Advanced Output Trigger on the PXI Star trigger bus before processing the next entry in the scan list.

REARCONNECTOR

The switch device produces the Scan Advanced Output trigger on the rear connector.

FRONTCONNECTOR

The switch device produces the Scan Advanced Output trigger on the front connector.

REARCONNECTOR_MODULE1

The switch module produces the Scan Advanced Output Trigger on the rear connector module 1.

REARCONNECTOR_MODULE2

The switch module produces the Scan Advanced Output Trigger on the rear connector module 2.

REARCONNECTOR_MODULE3

The switch module produces the Scan Advanced Output Trigger on the rear connector module 3.

REARCONNECTOR_MODULE4

The switch module produces the Scan Advanced Output Trigger on the rear connector module 4.

REARCONNECTOR_MODULE5

The switch module produces the Scan Advanced Output Trigger on the rear connector module 5.

REARCONNECTOR_MODULE6

The switch module produces the Scan Advanced Output Trigger on the rear connector module 6.

REARCONNECTOR_MODULE7

The switch module produces the Scan Advanced Output Trigger on the rear connector module 7.

REARCONNECTOR_MODULE8

The switch module produces the Scan Advanced Output Trigger on the rear connector module 8.

REARCONNECTOR_MODULE9

The switch module produces the Scan Advanced Ouptut Trigger on the rear connector module 9.

REARCONNECTOR_MODULE10

The switch module produces the Scan Advanced Output Trigger on the rear connector module 10.

REARCONNECTOR_MODULE11

The switch module produces the Scan Advanced Output Trigger on the rear connector module 11.

REARCONNECTOR_MODULE12

The switch module produces the Scan Advanced Output Trigger on the rear connector module 12.

FRONTCONNECTOR_MODULE1

The switch module produces the Scan Advanced Output Trigger on the front connector module 1.

FRONTCONNECTOR_MODULE2

The switch module produces the Scan Advanced Output Trigger on the front connector module 2.

FRONTCONNECTOR_MODULE3

The switch module produces the Scan Advanced Output Trigger on the front connector module 3.

FRONTCONNECTOR_MODULE4

The switch module produces the Scan Advanced Output Trigger on the front connector module 4.

FRONTCONNECTOR_MODULE5

The switch module produces the Scan Advanced Output Trigger on the front connector module 5.

FRONTCONNECTOR_MODULE6

The switch module produces the Scan Advanced Output Trigger on the front connector module 6.

FRONTCONNECTOR_MODULE7

The switch module produces the Scan Advanced Output Trigger on the front connector module 7.

FRONTCONNECTOR_MODULE8

The switch module produces the Scan Advanced Output Trigger on the front connector module 8.

FRONTCONNECTOR_MODULE9

The switch module produces the Scan Advanced Output Trigger on the front connector module 9.

FRONTCONNECTOR_MODULE10

The switch module produces the Scan Advanced Output Trigger on the front connector module 10.

FRONTCONNECTOR_MODULE11

The switch module produces the Scan Advanced Output Trigger on the front connector module 11.

FRONTCONNECTOR_MODULE12

The switch module produces the Scan Advanced Output Trigger on the front connector module 12.

ScanAdvancedPolarity

class niswitch.ScanAdvancedPolarity
RISING

The trigger occurs on the rising edge of the signal.

FALLING

The trigger occurs on the falling edge of the signal.

ScanMode

class niswitch.ScanMode
NONE

No implicit action on connections when scanning.

BREAK_BEFORE_MAKE

When scanning, the switch device breaks existing connections before making new connections.

BREAK_AFTER_MAKE

When scanning, the switch device breaks existing connections after making new connections.

TriggerInput

class niswitch.TriggerInput
IMMEDIATE

Immediate Trigger. The switch device does not wait for a trigger before processing the next entry in the scan list.

EXTERNAL

External Trigger. The switch device waits until it receives a trigger from an external source through the external trigger input before processing the next entry in the scan list.

SOFTWARE_TRIG

The switch device waits until you call the niswitch.Session.send_software_trigger() method before processing the next entry in the scan list.

TTL0

The switch device waits until it receives a trigger on the PXI TRIG0 line before processing the next entry in the scan list.

TTL1

The switch device waits until it receives a trigger on the PXI TRIG1 line before processing the next entry in the scan list.

TTL2

The switch device waits until it receives a trigger on the PXI TRIG2 line before processing the next entry in the scan list.

TTL3

The switch device waits until it receives a trigger on the PXI TRIG3 line before processing the next entry in the scan list.

TTL4

The switch device waits until it receives a trigger on the PXI TRIG4 line before processing the next entry in the scan list.

TTL5

The switch device waits until it receives a trigger on the PXI TRIG5 line before processing the next entry in the scan list.

TTL6

The switch device waits until it receives a trigger on the PXI TRIG6 line before processing the next entry in the scan list.

TTL7

The switch device waits until it receives a trigger on the PXI TRIG7 line before processing the next entry in the scan list.

PXI_STAR

The switch device waits until it receives a trigger on the PXI STAR trigger bus before processing the next entry in the scan list.

REARCONNECTOR

The switch device waits until it receives a trigger on the rear connector.

FRONTCONNECTOR

The switch device waits until it receives a trigger on the front connector.

REARCONNECTOR_MODULE1

The switch module waits until it receives a trigger on the rear connector module 1.

REARCONNECTOR_MODULE2

The switch module waits until it receives a trigger on the rear connector module 2.

REARCONNECTOR_MODULE3

The switch module waits until it receives a trigger on the rear connector module 3.

REARCONNECTOR_MODULE4

The switch module waits until it receives a trigger on the rear connector module 4.

REARCONNECTOR_MODULE5

The switch module waits until it receives a trigger on the rear connector module 5.

REARCONNECTOR_MODULE6

The switch module waits until it receives a trigger on the rear connector module 6.

REARCONNECTOR_MODULE7

The switch module waits until it receives a trigger on the rear connector module 7.

REARCONNECTOR_MODULE8

The switch module waits until it receives a trigger on the rear connector module 8.

REARCONNECTOR_MODULE9

The switch module waits until it receives a trigger on the rear connector module 9.

REARCONNECTOR_MODULE10

The switch module waits until it receives a trigger on the rear connector module 10.

REARCONNECTOR_MODULE11

The switch module waits until it receives a trigger on the rear connector module 11.

REARCONNECTOR_MODULE12

The switch module waits until it receives a trigger on the rear connector module 12.

FRONTCONNECTOR_MODULE1

The switch module waits until it receives a trigger on the front connector module 1.

FRONTCONNECTOR_MODULE2

The switch module waits until it receives a trigger on the front connector module 2.

FRONTCONNECTOR_MODULE3

The switch module waits until it receives a trigger on the front connector module 3.

FRONTCONNECTOR_MODULE4

The switch module waits until it receives a trigger on the front connector module 4.

FRONTCONNECTOR_MODULE5

The switch module waits until it receives a trigger on the front connector module 5.

FRONTCONNECTOR_MODULE6

The switch module waits until it receives a trigger on the front connector module 6.

FRONTCONNECTOR_MODULE7

The switch module waits until it receives a trigger on the front connector module 7.

FRONTCONNECTOR_MODULE8

The switch module waits until it receives a trigger on the front connector module 8.

FRONTCONNECTOR_MODULE9

The switch module waits until it receives a trigger on the front connector module 9.

FRONTCONNECTOR_MODULE10

The switch module waits until it receives a trigger on the front connector module 10.

FRONTCONNECTOR_MODULE11

The switch module waits until it receives a trigger on the front connector module 11.

FRONTCONNECTOR_MODULE12

The switch module waits until it receives a trigger on the front connector module 12.

TriggerInputPolarity

class niswitch.TriggerInputPolarity
RISING

The trigger occurs on the rising edge of the signal.

FALLING

The trigger occurs on the falling edge of the signal.