NI SWITCH Value Constants - ni/grpc-device GitHub Wiki

Value Constants

NISWITCH_VAL_BREAK_AFTER_MAKE

Description

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

Defined Value

2

NISWITCH_VAL_BREAK_BEFORE_MAKE

Description

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

Defined Value

1

NISWITCH_VAL_EXTERNAL

Description

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

Defined Value

2

NISWITCH_VAL_FALLING_EDGE

Description

The trigger occurs on the falling edge of the signal.

Defined Value

1

NISWITCH_VAL_FRONTCONNECTOR

Description

This value represents the front connector. The front connector can send or receive triggers for scan list operations.

Defined Value

1001

NISWITCH_VAL_FRONTCONNECTOR_MODULE1

Description

This value represents the front connector module 1. The front connector module 1 can send or receive triggers for scan list operations.

Defined Value

1041

NISWITCH_VAL_FRONTCONNECTOR_MODULE10

Description

This value represents the front connector module 10. The front connector module 10 can send or receive triggers for scan list operations.

Defined Value

1050

NISWITCH_VAL_FRONTCONNECTOR_MODULE11

Description

This value represents the front connector module 11. The front connector module 11 can send or receive triggers for scan list operations.

Defined Value

1051

NISWITCH_VAL_FRONTCONNECTOR_MODULE12

Description

This value represents the front connector module 12. The front connector module 12 can send or receive triggers for scan list operations.

Defined Value

1052

NISWITCH_VAL_FRONTCONNECTOR_MODULE2

Description

This value represents the front connector module 2. The front connector module 2 can send or receive triggers for scan list operations.

Defined Value

1042

NISWITCH_VAL_FRONTCONNECTOR_MODULE3

Description

This value represents the front connector module 3. The front connector module 3 can send or receive triggers for scan list operations.

Defined Value

1043

NISWITCH_VAL_FRONTCONNECTOR_MODULE4

Description

This value represents the front connector module 4. The front connector module 4 can send or receive triggers for scan list operations.

Defined Value

1044

NISWITCH_VAL_FRONTCONNECTOR_MODULE5

Description

This value represents the front connector module 5. The front connector module 5 can send or receive triggers for scan list operations.

Defined Value

1045

NISWITCH_VAL_FRONTCONNECTOR_MODULE6

Description

This value represents the front connector module 6. The front connector module 6 can send or receive triggers for scan list operations.

Defined Value

1046

NISWITCH_VAL_FRONTCONNECTOR_MODULE7

Description

This value represents the front connector module 7. The front connector module 7 can send or receive triggers for scan list operations.

Defined Value

1047

NISWITCH_VAL_FRONTCONNECTOR_MODULE8

Description

This value represents the front connector module 8. The front connector module 8 can send or receive triggers for scan list operations.

Defined Value

1048

NISWITCH_VAL_FRONTCONNECTOR_MODULE9

Description

This value represents the front connector module 9. The front connector module 9 can send or receive triggers for scan list operations.

Defined Value

1049

NISWITCH_VAL_IMMEDIATE

Description

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

Defined Value

1

NISWITCH_VAL_MASTER

Description

Multiple switches are sharing bused trigger lines for the scan and this device is the trigger master. You must set NISWITCH_ATTR_MASTER_SLAVE_TRIGGER_BUS, NISWITCH_ATTR_MASTER_SLAVE_SCAN_ADVANCED_BUS, NISWITCH_ATTR_SCAN_ADVANCED_OUTPUT and NISWITCH_ATTR_TRIGGER_INPUT for this device.

Defined Value

1

NISWITCH_VAL_NONE

Description

No implicit action on connections when scanning.

Defined Value

0

NISWITCH_VAL_PXI_STAR

Description

This value represents the PXI_STAR trigger bus. The PXI_STAR trigger bus can send or receive triggers for scan list operations.

Defined Value

125

NISWITCH_VAL_REARCONNECTOR

Description

This value represents the rear connector. The rear connector can send or receive triggers for scan list operations.

Defined Value

1000

NISWITCH_VAL_REARCONNECTOR_MODULE1

Description

This value represents the rear connector module 1. The rear connector module 1 can send or receive triggers for scan list operations.

Defined Value

1021

NISWITCH_VAL_REARCONNECTOR_MODULE10

Description

This value represents the rear connector module 10. The rear connector module 10 can send or receive triggers for scan list operations.

Defined Value

1030

NISWITCH_VAL_REARCONNECTOR_MODULE11

Description

This value represents the rear connector module 11. The rear connector module 11 can send or receive triggers for scan list operations.

Defined Value

1031

NISWITCH_VAL_REARCONNECTOR_MODULE12

Description

This value represents the rear connector module 12. The rear connector module 12 can send or receive triggers for scan list operations.

Defined Value

1032

NISWITCH_VAL_REARCONNECTOR_MODULE2

Description

This value represents the rear connector module 2. The rear connector module 2 can send or receive triggers for scan list operations.

Defined Value

1022

NISWITCH_VAL_REARCONNECTOR_MODULE3

Description

This value represents the rear connector module 3. The rear connector module 3 can send or receive triggers for scan list operations.

Defined Value

1023

NISWITCH_VAL_REARCONNECTOR_MODULE4

Description

This value represents the rear connector module 4. The rear connector module 4 can send or receive triggers for scan list operations.

Defined Value

1024

NISWITCH_VAL_REARCONNECTOR_MODULE5

Description

This value represents the rear connector module 5. The rear connector module 5 can send or receive triggers for scan list operations.

Defined Value

1025

NISWITCH_VAL_REARCONNECTOR_MODULE6

Description

This value represents the rear connector module 6. The rear connector module 6 can send or receive triggers for scan list operations.

Defined Value

1026

NISWITCH_VAL_REARCONNECTOR_MODULE7

Description

This value represents the rear connector module 7. The rear connector module 7 can send or receive triggers for scan list operations.

Defined Value

1027

NISWITCH_VAL_REARCONNECTOR_MODULE8

Description

This value represents the rear connector module 8. The rear connector module 8 can send or receive triggers for scan list operations.

Defined Value

1028

NISWITCH_VAL_REARCONNECTOR_MODULE9

Description

This value represents the rear connector module 9. The rear connector module 9 can send or receive triggers for scan list operations.

Defined Value

1029

NISWITCH_VAL_RISING_EDGE

Description

The trigger occurs on the rising edge of the signal.

Defined Value

0

NISWITCH_VAL_SINGLE

Description

When scanning, the switch does not share trigger lines with other switches. You must set NISWITCH_ATTR_SCAN_ADVANCED_OUTPUT and NISWITCH_ATTR_TRIGGER_INPUT for this device.

Defined Value

0

NISWITCH_VAL_SLAVE

Description

Multiple switches are sharing trigger lines for the scan and this device is one of the trigger slaves. You must set NISWITCH_ATTR_MASTER_SLAVE_TRIGGER_BUS and NISWITCH_ATTR_MASTER_SLAVE_SCAN_ADVANCED_BUS for this device.

Defined Value

2

NISWITCH_VAL_SW_TRIG_FUNC

Description

The switch waits until you call the niSwitch_SendSoftwareTrigger function before processing the next entry in the scan list.

Defined Value

3

NISWITCH_VAL_TTL0

Description

This value represents the PXI_TRIG0 line. The PXI_TRIG0 line can send or receive triggers for scan list operations.

Defined Value

111

NISWITCH_VAL_TTL1

Description

This value represents the PXI_TRIG1 line. The PXI_TRIG1 line can send or receive triggers for scan list operations.

Defined Value

112

NISWITCH_VAL_TTL2

Description

This value represents the PXI_TRIG2 line. The PXI_TRIG2 line can send or receive triggers for scan list operations.

Defined Value

113

NISWITCH_VAL_TTL3

Description

This value represents the PXI_TRIG3 line. The PXI_TRIG3 line can send or receive triggers for scan list operations.

Defined Value

114

NISWITCH_VAL_TTL4

Description

This value represents the PXI_TRIG4 line. The PXI_TRIG4 line can send or receive triggers for scan list operations.

Defined Value

115

NISWITCH_VAL_TTL5

Description

This value represents the PXI_TRIG5 line. The PXI_TRIG5 line can send or receive triggers for scan list operations. .

Defined Value

116

NISWITCH_VAL_TTL6

Description

This value represents the PXI_TRIG6 line. The PXI_TRIG6 line can send or receive triggers for scan list operations.

Defined Value

117

NISWITCH_VAL_TTL7

Description

This value represents the PXI_TRIG7 line. The PXI_TRIG7 line can send or receive triggers for scan list operations.

Defined Value

118

VI_FALSE

Description

False.

Defined Value

0

VI_TRUE

Description

True.

Defined Value

1

⚠️ **GitHub.com Fallback** ⚠️