CNiIviSwtchPath::GetPath

Measurement Studio IVI

Class
CNiIviSwtchPath::
GetPath()
Base ClassesFunctionsGo to hierarchy chart    Prev page: DisconnectAllNext page: IsDebounced    
Public Function Declared in:
NiIviSwtch.h

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

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

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

Returns a string that uniquely identifies a path created with the Connect function. This string can be passed to the SetPath function to establish the exact same path in the future.

This function returns only those paths that you explicitly create by calling Connect and SetPath functions. For example, if you connect channels CH1 and CH3, and then channels CH2 and CH3, this function will not return the implicit path between CH1 and CH3.

Shortcut to top of page. Parameters

const CString &ch1

One of the two channels for which to retrieve a path.

const CString &ch2

One of the two channels for which to retrieve a path.

'See Also' icon -- Shortcut to top of page. See Also