diaGlobWrapper Help
Assembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Tears down and releases the previously established SCbus connection between two channels
Namespace:
InkostarAssembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntax
| C# |
|---|
public void ScBusRelease( Channel FirstChannel, DiaGlobWrapperCommon..::.ScBusDeviceType FirstChannelDeviceType, Channel SecondChannel, DiaGlobWrapperCommon..::.ScBusDeviceType SecondChannelDeviceType, DiaGlobWrapperCommon..::.ScBusConnectionType ConnectionType ) |
| Visual Basic (Declaration) |
|---|
Public Sub ScBusRelease ( _ FirstChannel As Channel, _ FirstChannelDeviceType As DiaGlobWrapperCommon..::.ScBusDeviceType, _ SecondChannel As Channel, _ SecondChannelDeviceType As DiaGlobWrapperCommon..::.ScBusDeviceType, _ ConnectionType As DiaGlobWrapperCommon..::.ScBusConnectionType _ ) |
| Visual C++ |
|---|
public: void ScBusRelease( Channel^ FirstChannel, DiaGlobWrapperCommon..::.ScBusDeviceType FirstChannelDeviceType, Channel^ SecondChannel, DiaGlobWrapperCommon..::.ScBusDeviceType SecondChannelDeviceType, DiaGlobWrapperCommon..::.ScBusConnectionType ConnectionType ) |
Parameters
- FirstChannel
- Type: Inkostar..::.Channel
The first channel to be disconnected.
- FirstChannelDeviceType
- Type: Inkostar..::.DiaGlobWrapperCommon..::.ScBusDeviceType
The SCbus timeslot type of the already connected first channel. Voice, Analogue or Digital
- SecondChannel
- Type: Inkostar..::.Channel
The second channel to be disconnected.
- SecondChannelDeviceType
- Type: Inkostar..::.DiaGlobWrapperCommon..::.ScBusDeviceType
The SCbus timeslot type of the already connected second channel. Voice, Analogue or Digital
- ConnectionType
- Type: Inkostar..::.DiaGlobWrapperCommon..::.ScBusConnectionType
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
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)
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)