IviSwtch Attribute Value Definitions
The following table defines value for all IviSwtch class attributes constants.
Note In the following table, the literal string IVISWTCH_ATTR_ precedes the attribute name and the literal string IVISWTCH_ precedes the value extension name. |
IviSwtch Attribute Defined Values
Attribute | Value Name | Defined Value | Description |
---|---|---|---|
SCAN_MODE | VAL_NONE | 0 | Indicates that no action should be taken on the previous paths. |
VAL_BREAK_BEFORE_MAKE | 1 | Tells the device to break the previous paths before making the new paths. | |
VAL_BREAK_AFTER_MAKE | 2 | Tells the driver to make the new paths before breaking the previous paths. | |
TRIGGER_INPUT | VAL_IMMEDIATE | 1 | Indicates that the switch module does not wait for a trigger before starting the next entry in the scan. |
VAL_EXTERNAL | 2 | Indicates that the trigger is coming from an external source through a trigger input connection. | |
VAL_SOFTWARE_TRIG | 3 |
The trigger is a software command sent by the program though the IviSwtch_SendSoftwareTrigger operation. If you set the IVISWTCH_ATTR_TRIGGER_INPUT attribute to this value, the instrument can only be triggered by calling the IviSwtch_SendSoftwareTrigger function. |
|
VAL_TTL0 | 111 | A backplane TTL trigger, such as the VXIbus TTL0 or PXI TRIG0. | |
VAL_TTL1 | 112 | A backplane TTL trigger, such as the VXIbus TTL1 or PXI TRIG1. | |
VAL_TTL2 | 113 | A backplane TTL trigger, such as the VXIbus TTL2 or PXI TRIG2. | |
VAL_TTL3 | 114 | A backplane TTL trigger, such as the VXIbus TTL3 or PXI TRIG3. | |
VAL_TTL4 | 115 | A backplane TTL trigger, such as the VXIbus TTL4 or PXI TRIG4. | |
VAL_TTL5 | 116 | A backplane TTL trigger, such as the VXIbus TTL5 or PXI TRIG5. | |
VAL_TTL6 | 117 | A backplane TTL trigger, such as the VXIbus TTL6 or PXI TRIG6. | |
VAL_TTL7 | 118 | A backplane TTL trigger, such as the VXIbus TTL7 or PXI TRIG7. | |
VAL_ECL0 | 119 | A backplane ECL0 trigger, such as is found in the VXIbus. | |
VAL_ECL1 | 120 | A backplane ECL1 trigger, such as is found in the VXIbus. | |
VAL_PXI_STAR | 125 | A PXI star trigger bus. | |
VAL_RTSI_0 | 140 | The RTSI0 trigger line usually found in DAQ instruments. | |
VAL_RTSI_1 | 141 | The RTSI1 trigger line usually found in DAQ instruments. | |
VAL_RTSI_2 | 142 | The RTSI2 trigger line usually found in DAQ instruments. | |
VAL_RTSI_3 | 143 | The RTSI3 trigger line usually found in DAQ instruments. | |
VAL_RTSI_4 | 144 | The RTSI4 trigger line usually found in DAQ instruments. | |
VAL_RTSI_5 | 145 | RouteThe RTSI5 trigger line usually found in DAQ instruments. | |
VAL_RTSI_6 | 146 | The RTSI6 trigger line usually found in DAQ instruments. | |
SCAN_ADVANCED_OUTPUT | VAL_NONE | 0 | No scan advanced output trigger is sent out of the switch module. |
VAL_EXTERNAL | 2 | The scan advanced output trigger is represented as an external trigger event. | |
VAL_GPIB_SRQ | 5 | The scan advanced output trigger is represented as a GPIB SRQ event. | |
VAL_TTL0 | 111 | A backplane TTL trigger, such as the VXIbus TTL0 or PXI TRIG0. | |
VAL_TTL1 | 112 | A backplane TTL trigger, such as the VXIbus TTL1 or PXI TRIG1. | |
VAL_TTL2 | 113 | A backplane TTL trigger, such as the VXIbus TTL2 or PXI TRIG2. | |
VAL_TTL3 | 114 | A backplane TTL trigger, such as the VXIbus TTL3 or PXI TRIG3. | |
VAL_TTL4 | 115 | A backplane TTL trigger, such as the VXIbus TTL4 or PXI TRIG4. | |
VAL_TTL5 | 116 | A backplane TTL trigger, such as the VXIbus TTL5 or PXI TRIG5. | |
VAL_TTL6 | 117 | A backplane TTL trigger, such as the VXIbus TTL6 or PXI TRIG6. | |
VAL_TTL7 | 118 | A backplane TTL trigger, such as the VXIbus TTL7 or PXI TRIG7. | |
VAL_ECL0 | 119 | A backplane ECL0 trigger, such as is found in the VXIbus. | |
VAL_ECL1 | 120 | A backplane ECL1 trigger, such as is found in the VXIbus. | |
VAL_PXI_STAR | 125 | A PXI star trigger bus. | |
VAL_RTSI_0 | 140 | The RTSI0 trigger line usually found in DAQ instruments. | |
VAL_RTSI_1 | 141 | The RTSI1 trigger line usually found in DAQ instruments. | |
VAL_RTSI_2 | 142 | The RTSI2 trigger line usually found in DAQ instruments. | |
VAL_RTSI_3 | 143 | The RTSI3 trigger line usually found in DAQ instruments. | |
VAL_RTSI_4 | 144 | The RTSI4 trigger line usually found in DAQ instruments. | |
VAL_RTSI_5 | 145 | The RTSI5 trigger line usually found in DAQ instruments. | |
VAL_RTSI_6 | 146 | The RTSI6 trigger line usually found in DAQ instruments. |
Parameter Defined Values
Parameter | Defined Value | Description |
---|---|---|
pathCapability | IVISWTCH_VAL_PATH_AVAILABLE | Indicates that the driver can create the path at this time. |
IVISWTCH_VAL_PATH_EXISTS | Indicates that the path already exists. | |
IVISWTCH_VAL_PATH_UNSUPPORTED | Indicates that the instrument is not capable of creating a path between the channels you specify. | |
IVISWTCH_VAL_RSRC_IN_USE | Indicates that although the path is valid, the driver cannot create the path at this moment because the switch module is currently using one or more of the required channels to create another path. You must destroy the other path before creating this one. | |
IVISWTCH_VAL_SOURCE_CONFLICT | Indicates that the instrument cannot create a path because both channels are connected to a different source channel. | |
IVISWTCH_VAL_CHANNEL_NOT_AVAILABLE | Indicates that the driver cannot create a path between the two channels because one of the channels is a configuration channel and thus unavailable for external connections. | |
scanMode | IVISWTCH_VAL_NONE | The instrument takes no action on existing connections. |
IVISWTCH_VAL_BREAK_BEFORE_MAKE | The instrument breaks an existing connection before creating a new one, which useful if you want to prevent two channels from connecting together in the transitional period. | |
IVISWTCH_VAL_BREAK_AFTER_MAKE | The instrument breaks an existing connection after creating a new one. This is useful if you want to prevent damage from occurring on inductive elements of a circuit that cannot stand rapid changes in the current flow. | |
triggerInput | IVISWTCH_VAL_IMMEDIATE | Immediate Trigger. The switch module does not wait for a trigger before processing the next entry in the scan list. |
IVISWTCH_VAL_EXTERNAL | External Trigger. The switch module waits until it receives a trigger from an external source through the "trigger in" connector. | |
IVISWTCH_VAL_SOFTWARE_TRIG | Software Trigger. The switch module waits until you call the IviSwtch_SendSoftwareTrigger function. | |
IVISWTCH_VAL_TTL0 | PXI TRIG0 or VXI. The switch module waits until it receives a trigger on the VXIbus TTL0 or PXI TRIG0 line before processing the next entry in the scan list. | |
TTL0 IVISWTCH_VAL_TTL1 | PXI TRIG1 or VXI. The switch module waits until it receives a trigger on the VXIbus TTL1 or PXI TRIG1 line before processing the next entry in the scan list. | |
TTL1 IVISWTCH_VAL_TTL2 | PXI TRIG2 or VXI. The switch module waits until it receives a trigger on the VXIbus TTL2 or PXI TRIG2 line before processing the next entry in the scan list. | |
TTL2 IVISWTCH_VAL_TTL3 | PXI TRIG3 or VXI. The switch module waits until it receives a trigger on the VXIbus TTL3 or PXI TRIG3 line before processing the next entry in the scan list. | |
TTL3 IVISWTCH_VAL_TTL4 | PXI TRIG4 or VXI. The switch module waits until it receives a trigger on the VXIbus TTL4 or PXI TRIG4 line before processing the next entry in the scan list. | |
TTL4 IVISWTCH_VAL_TTL5 | PXI TRIG5 or VXI. The switch module waits until it receives a trigger on the VXIbus TTL5 or PXI TRIG5 line before processing the next entry in the scan list. | |
TTL5 IVISWTCH_VAL_TTL6 | PXI TRIG6 or VXI. The switch module waits until it receives a trigger on the VXIbus TTL6 or PXI TRIG6 line before processing the next entry in the scan list. | |
TTL6 IVISWTCH_VAL_TTL7 | PXI TRIG7 or VXI. The switch module waits until it receives a trigger on the VXIbus TTL7 or PXI TRIG7 line before processing the next entry in the scan list. | |
TTL7 IVISWTCH_VAL_ECL0 | VXI ECL0. The switch module waits until it receives a trigger on the VXIbus ECL0 line before processing the next entry in the scan list. | |
IVISWTCH_VAL_ECL1 | VXI ECL1. The switch module waits until it receives a trigger on the VXIbus ECL1 line before processing the next entry in the scan list. | |
IVISWTCH_VAL_PXI_STAR | PXI Star. The switch module waits until it receives a trigger on the PXI STAR trigger bus before processing the next entry in the scan list. | |
IVISWTCH_VAL_RTSI_0 | RTSI line 0. The switch module waits until it receives a trigger on the RTSI 0 line before processing the next entry in the scan list. | |
IVISWTCH_VAL_RTSI_1 | RTSI line 1. The switch module waits until it receives a trigger on the RTSI 1 line before processing the next entry in the scan list. | |
IVISWTCH_VAL_RTSI_2 | RTSI line 2. The switch module waits until it receives a trigger on the RTSI 2 line before processing the next entry in the scan list. | |
IVISWTCH_VAL_RTSI_3 | RTSI line 3. The switch module waits until it receives a trigger on the RTSI 3 line before processing the next entry in the scan list. | |
IVISWTCH_VAL_RTSI_4 | RTSI line 4. The switch module waits until it receives a trigger on the RTSI 4 line before processing the next entry in the scan list. | |
IVISWTCH_VAL_RTSI_5 | RTSI line 5. The switch module waits until it receives a trigger on the RTSI 5 line before processing the next entry in the scan list. | |
IVISWTCH_VAL_RTSI_6 | RTSI line 6. The switch module waits until it receives a trigger on the RTSI 6 line before processing the next entry in the scan list. | |
scanAdvancedOutput | IVISWTCH_VAL_NONE | The switch module does not produce a Scan Advanced Output trigger. |
IVISWTCH_VAL_EXTERNAL | External Trigger. The switch module produces the Scan Advanced Output trigger on the "trigger out" connector. | |
IVISWTCH_VAL_GPIB_SRQ | The switch module produces the GPIB Service Request in place of the Scan Advanced Output trigger. | |
IVISWTCH_VAL_TTL0 | The switch module produces the Scan Advanced Output on the VXbus TTL0 or PXI TRIG0 line. | |
IVISWTCH_VAL_TTL1 | The switch module produces the Scan Advanced Output on the VXbus TTL1 or PXI TRIG1 line. | |
IVISWTCH_VAL_TTL2 | The switch module produces the Scan Advanced Output on the VXbus TTL2 or PXI TRIG2 line. | |
IVISWTCH_VAL_TTL3 | The switch module produces the Scan Advanced Output on the VXbus TTL3 or PXI TRIG3 line. | |
IVISWTCH_VAL_TTL4 | The switch module produces the Scan Advanced Output on the VXbus TTL4 or PXI TRIG4 line. | |
IVISWTCH_VAL_TTL5 | The switch module produces the Scan Advanced Output on the VXbus TTL5 or PXI TRIG5 line. | |
IVISWTCH_VAL_TTL6 | The switch module produces the Scan Advanced Output on the VXbus TTL6 or PXI TRIG6 line. | |
IVISWTCH_VAL_TTL7 | The switch module produces the Scan Advanced Output on the VXbus TTL7 or PXI TRIG7 line. | |
IVISWTCH_VAL_ECL0 | The switch module produces the Scan Advanced Output on the VXbus ECL0 line. | |
IVISWTCH_VAL_ECL1 | The switch module produces the Scan Advanced Output on the VXbus ECL1 line. | |
IVISWTCH_VAL_PXI_STAR | The switch module produces the Scan Advanced Output on the PXI STAR trigger bus. | |
IVISWTCH_VAL_RTSI_0 | The switch module produces the Scan Advanced Output on the RTSI 0 line. | |
IVISWTCH_VAL_RTSI_1 | The switch module produces the Scan Advanced Output on the RTSI 1 line. | |
IVISWTCH_VAL_RTSI_2 | The switch module produces the Scan Advanced Output on the RTSI 2 line. | |
IVISWTCH_VAL_RTSI_3 | The switch module produces the Scan Advanced Output on the RTSI 3 line. | |
IVISWTCH_VAL_RTSI_4 | The switch module produces the Scan Advanced Output on the RTSI 4 line. | |
IVISWTCH_VAL_RTSI_5 | The switch module produces the Scan Advanced Output on the RTSI 5 line. | |
IVISWTCH_VAL_RTSI_6 | The switch module produces the Scan Advanced Output on the RTSI 6 line. |