C/C++/VB Function Reference

NI-SWITCH Functions

C/C++/VB Function Reference

Expand this book to view the C and VB functions and attributes for NI-SWITCH.

Class/Panel Name Function Name
InitializeniSwitch_init
Initialize With OptionsniSwitch_InitWithOptions
Initialize With TopologyniSwitch_InitWithTopology
Configuration Functions
Set/Get/Check Attribute
Set Attribute
Set Attribute ViInt32niSwitch_SetAttributeViInt32
Set Attribute ViReal64niSwitch_SetAttributeViReal64
Set Attribute ViStringniSwitch_SetAttributeViString
Set Attribute ViBooleanniSwitch_SetAttributeViBoolean
Set Attribute ViSessionniSwitch_SetAttributeViSession
Get Attribute
Get Attribute ViInt32niSwitch_GetAttributeViInt32
Get Attribute ViReal64niSwitch_GetAttributeViReal64
Get Attribute ViStringniSwitch_GetAttributeViString
Get Attribute ViBooleanniSwitch_GetAttributeViBoolean
Get Attribute ViSessionniSwitch_GetAttributeViSession
Check Attribute
Check Attribute ViInt32niSwitch_CheckAttributeViInt32
Check Attribute ViReal64niSwitch_CheckAttributeViReal64
Check Attribute ViStringniSwitch_CheckAttributeViString
Check Attribute ViBooleanniSwitch_CheckAttributeViBoolean
Check Attribute ViSessionniSwitch_CheckAttributeViSession
Route Functions
Connect ChannelsniSwitch_Connect
Disconnect ChannelsniSwitch_Disconnect
Disconnect All ChannelsniSwitch_DisconnectAll
Switch Is Debounced?niSwitch_IsDebounced
Wait For DebounceniSwitch_WaitForDebounce
Can Connect Channels?niSwitch_CanConnect
Paths
Set PathniSwitch_SetPath
Get PathniSwitch_GetPath
Scan Functions
ScanniSwitch_Scan
Initiate ScanniSwitch_InitiateScan
Abort ScanniSwitch_AbortScan
Send Software TriggerniSwitch_SendSoftwareTrigger
Switch Is Scanning?niSwitch_IsScanning
Wait For Scan To CompleteniSwitch_WaitForScanComplete
Set Continuous ScanniSwitch_SetContinuousScan
Configure ScanlistniSwitch_ConfigureScanList
Configure Scan TriggerniSwitch_ConfigureScanTrigger
Route Trigger InputniSwitch_RouteTriggerInput
Route Scan Advanced OutputniSwitch_RouteScanAdvancedOutput
Relay Operations
Get Relay NameniSwitch_GetRelayName
Get Relay CountniSwitch_GetRelayCount
Get Relay PositionniSwitch_GetRelayPosition
Relay ControlniSwitch_RelayControl
Calibration Functions
Write Calibration DataniSwitch_CalibrationDataWrite
Read Calibration DataniSwitch_CalibrationDataRead
Utility Functions
CommitniSwitch_Commit
Get Channel NameniSwitch_GetChannelName
ResetniSwitch_reset
Reset With DefaultsniSwitch_ResetWithDefaults
DisableniSwitch_Disable
Self-TestniSwitch_self_test
Revision QueryniSwitch_revision_query
Error-QueryniSwitch_error_query
Error MessageniSwitch_error_message
Coercion Info
Get Next Coercion RecordniSwitch_GetNextCoercionRecord
Interchangeability Info
Get Next Interchange WarningniSwitch_GetNextInterchangeWarning
Clear Interchange WarningsniSwitch_ClearInterchangeWarnings
Reset Interchange CheckniSwitch_ResetInterchangeCheck
Error Info
Get ErrorniSwitch_GetError
Clear ErrorniSwitch_ClearError
Locking
Lock SessionniSwitch_LockSession
Unlock SessionniSwitch_UnlockSession
CloseniSwitch_close