CNiIviSwtchPath

Measurement Studio IVI

Class CNiIviSwtchPath Base ClassesFunctionsGo to hierarchy chart    Prev page: WaitForDebounceNext page: CanConnect    
Class Declared in:
NiIviSwtch.h

'Overview' icon -- Shortcut to top of page. Overview

Additional settings related to channel paths.

Hierarchy Chart Hierarchy Chart

'Functions' icon -- Shortcut to top of page. Functions

Public function inline long

CanConnect( const CString &ch1, const CString &ch2 ) const

Returns a value indicating whether a path is currently available between two channels given the existing connections.
Public function inline void

Connect( const CString &ch1, const CString &ch2 )

Connects the shorted posssible path between two channels.
Public function inline void

Disconnect( const CString &ch1, const CString &ch2 )

Destroys a previously connected path between two channels.
Public function inline void

DisconnectAll()

Disconnects all existing paths.
Public function inline CString

GetPath( const CString &ch1, const CString &ch2 ) const

Returns a string that uniquely identifies a path created with the Connect function.
Public function inline bool

IsDebounced() const

Returns a whether all the previously created paths have settled.
Public function inline void

SetPath( const CString &path )

Connects two channels by establishing the exact path specified with the path parameter.
Public function inline void

WaitForDebounce( long maxTime ) const

Returns process control back to the user only after all the previously created paths have settled.