CNiIviSwtchScan |
Class |
Declared in: NiIviSwtch.h |
Overview
Additional settings for configuring a scanning switch.
Data Items
long | AdvancedOutput | The method to use to notify another instrument that all signals going through the switch module have settled following the processing of one entry in the scan list. | |
bool | Continuous | Specifies whether the switch module continues scanning from the top of the scan list after reaching the end of the list. | |
double | Delay | The minimum amount of time in seconds that the switch module waits before it asserts the scan advanced output trigger after opening or closing the switch. | |
long | Input | The source of the trigger for which the switch module waits when processing a scan list. | |
CString | List | The scan list is a string that specifies channel connections and trigger conditions. | |
long | Mode | Specifies what happens to existing connections that conflict with the connections you make in a scan list. | |
long | NumberOfColumns | Returns the number of columns of a matrix or scanner. | |
long | NumberOfRows | Returns the number of rows of a matrix or scanner. |
Functions
inline void | Abort() |
Aborts a previously initiated scan. | |
inline void | ConfigureList( const CString &List, long mode ) |
Configures the switch module for scanning. | |
inline void | ConfigureTrigger( double scanDelay, long triggerInput, long scanAdvancedOutput ) |
Configures the scan triggers for the scan list you establish with ConfigureList function. | |
inline void | Initiate() |
Initiates a scan. | |
inline bool | IsScanning() const |
Returns whether the switch module is scanning. | |
inline void | Sends a command to trigger the switch. | ||
inline void | WaitForScanComplete( long maxTime ) const |
Waits until the instrument stops scanning. |