SwitchScan Properties
- Updated2023-02-21
- 5 minute(s) read
The SwitchScan type exposes the following members.
Name | Description | |
---|---|---|
![]() | AdvancedOutput | Gets or sets a value which specifies the method you want to use to notify another instrument that all signals going through the switch have settled following the processing of one entry in the SwitchScan.List. |
![]() | AdvancedPolarity | Gets or sets the advance polarity for the scan. |
![]() | Continuous | Gets or sets a value that indicates whether a switch device stops scanning at the end of the scan, or continues scanning from the top of the scan list. Notice that if you set the scan to continuous trueTruetruetrue (True in Visual Basic), the SwitchScan.WaitForScanComplete method will always time out and you must call SwitchScan.Abort to stop the scan. |
![]() | Delay | Gets or sets a value which indicates the minimum amount of time, in seconds, the Switch device waits before it asserts the SwitchScan.AdvancedOutput trigger after opening or closing the switch. The switch always SwitchPath.WaitForDebounce before asserting the trigger. |
![]() | DigitalFilterEnable | Gets or sets a value which indicates whether to apply the pulse width to the SwitchScan.TriggerInput. Set the property to trueTruetruetrue (True in Visual Basic) to prevent the switch module from being triggered by pulses that are less than 150 ns on PXI trigger lines 0-7. When this property is set to falseFalsefalsefalse (False in Visual Basic), noise on the PXI trigger lines might trigger the switch module. If the device triggering the switch module can send pulses greater than 150 ns, do not disable this property. |
![]() | HandshakingInitiation | Gets or sets a value which specifies how to start handshaking with a measurement device. |
![]() | IsScanning | Gets or sets a value which indicates whether the switch has completed the scan operation. The value trueTruetruetrue (True in Visual Basic) indicates that the scan is complete. |
![]() | IsWaitingForTrigger | In a SwitchScan.List, a semicolon (;) is used to indicate that at that point in the SwitchScan.List, the scan engine should pause until a trigger is received from the SwitchScan.TriggerInput. If that trigger is user generated through either a hardware pulse or the SwitchScan.SendSoftwareTrigger method, it is necessary for the user to know when the scan engine has reached such a state. |
![]() | List |
This property contains a SwitchScan.List, which is a string that specifies channel connections and trigger conditions. The SwitchScan.Initiate function makes or breaks connections and waits for triggers according to the instructions in the SwitchScan.List.
The SwitchScan.List is comprised of channel names that you separate with special characters. These special characters determine the operations the scanner performs on the channels when it executes this scan list.
|
![]() | Mode | Specifies what happens to existing connections that conflict with the connections you make in a SwitchScan.List. For example, if CH1 is already connected to CH2 and the SwitchScan.List instructs the switch to connect CH1 to CH3, this attribute specifies what happens to the connection between CH1 and CH2. If the value of this attribute is SwitchScanMode.None, the switch takes no action on existing paths. If the value is SwitchScanMode.BreakBeforeMake, the switch breaks conflicting paths before making new ones. If the value is SwitchScanMode.BreakBeforeMake, the switch breaks conflicting paths after making new ones. Most switches support only one of the possible values. In such cases, this attribute serves as an indicator of the device's behavior. |
![]() | TriggerInput | Gets or sets a value which specifies the source of the trigger for which the switch can wait when processing a SwitchScan.List. The switch waits for a trigger when it encounters a semicolon in a SwitchScan.List. When the trigger occurs, the switch advances to the next entry in the SwitchScan.List. |
![]() | TriggerInputPolarity | Gets or sets a value which determines the behavior of the trigger input. |