| DiaGlobWrapperScBusRelease Method |
diaGlobWrapper Help
Tears down and releases the previously established SCbus connection between two channels
Namespace: InkostarAssembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntaxpublic void ScBusRelease(
Channel FirstChannel,
DiaGlobWrapperCommonScBusDeviceType FirstChannelDeviceType,
Channel SecondChannel,
DiaGlobWrapperCommonScBusDeviceType SecondChannelDeviceType,
DiaGlobWrapperCommonScBusConnectionType ConnectionType
)
Public Sub ScBusRelease (
FirstChannel As Channel,
FirstChannelDeviceType As DiaGlobWrapperCommonScBusDeviceType,
SecondChannel As Channel,
SecondChannelDeviceType As DiaGlobWrapperCommonScBusDeviceType,
ConnectionType As DiaGlobWrapperCommonScBusConnectionType
)
public:
void ScBusRelease(
Channel^ FirstChannel,
DiaGlobWrapperCommonScBusDeviceType FirstChannelDeviceType,
Channel^ SecondChannel,
DiaGlobWrapperCommonScBusDeviceType SecondChannelDeviceType,
DiaGlobWrapperCommonScBusConnectionType ConnectionType
)
member ScBusRelease :
FirstChannel : Channel *
FirstChannelDeviceType : DiaGlobWrapperCommonScBusDeviceType *
SecondChannel : Channel *
SecondChannelDeviceType : DiaGlobWrapperCommonScBusDeviceType *
ConnectionType : DiaGlobWrapperCommonScBusConnectionType -> unit
Parameters
- FirstChannel
- Type: InkostarChannel
The first channel to be disconnected. - FirstChannelDeviceType
- Type: InkostarDiaGlobWrapperCommonScBusDeviceType
The SCbus timeslot type of the already connected first channel. Voice, Analogue or Digital - SecondChannel
- Type: InkostarChannel
The second channel to be disconnected. - SecondChannelDeviceType
- Type: InkostarDiaGlobWrapperCommonScBusDeviceType
The SCbus timeslot type of the already connected second channel. Voice, Analogue or Digital - ConnectionType
- Type: InkostarDiaGlobWrapperCommonScBusConnectionType
Whether the previous connection between the two time slots was made in full or half duplex
Remarks
After releasing the SCbus connection between the channels, the ScBusConnect function must be invoked to re-establish the default connection between the timeslots, ie: voice and digital or voice and analogue
Compatibility: All
On failure this function will generate an exception of type DiaGlobWrapperLibException
Examples
To unroute voice timeslots of both channels previously connected in full-duplex:
C#: objDevice.ScBusRelease(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, ChannelOutbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, DiaGlobWrapperCommon.ScBusConnectionType.FullDuplex);
VB.NET: objDevice.ScBusRelease(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, ChannelOutbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, DiaGlobWrapperCommon.ScBusConnectionType.FullDuplex)
See Also