![]() |
CanConnect()





Public Function |
Declared in: NiIviSwtch.h |
Declaration
Description
Returns a value indicating whether a path is currently available between two channels given the existing connections.
The following list includes valid values:
- CNiIviSwtch::PathAvailable - The path is available.
- CNiIviSwtch::PathExists - The path already exists.
- CNiIviSwtch::PathUnsupported - The path can not be created.
- CNiIviSwtch::ResourceInUse - The path is valid but cannot be created because part of the path is alread in use.
- CNiIviSwtch::SourceConflict - The path can not be created because both channels are connected to source channels.
- CNiIviSwtch::ChannelNotAvailable - The path can not be created because one of the channels is a configuration channel.
Parameters
const CString &ch1
const CString &ch2
One of the two channels to test for connectivity.
One of the two channels to test for connectivity.