Click or drag to resize
DiaGlobWrapperScBusRelease Method
diaGlobWrapper Help
Tears down and releases the previously established SCbus connection between two channels

Namespace: Inkostar
Assembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntax
public void ScBusRelease(
	Channel FirstChannel,
	DiaGlobWrapperCommonScBusDeviceType FirstChannelDeviceType,
	Channel SecondChannel,
	DiaGlobWrapperCommonScBusDeviceType SecondChannelDeviceType,
	DiaGlobWrapperCommonScBusConnectionType ConnectionType
)

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