diaGlobWrapper Help
Assembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Establishes an SCbus connection between two channels
Namespace:
InkostarAssembly: DiaGlobWrapper (in DiaGlobWrapper.dll) Version: 0.0.0.0
Syntax
| C# |
|---|
public void ScBusConnect( Channel FirstChannel, DiaGlobWrapperCommon..::.ScBusDeviceType FirstChannelDeviceType, Channel SecondChannel, DiaGlobWrapperCommon..::.ScBusDeviceType SecondChannelDeviceType, DiaGlobWrapperCommon..::.ScBusConnectionType ConnectionType ) |
| Visual Basic (Declaration) |
|---|
Public Sub ScBusConnect ( _ FirstChannel As Channel, _ FirstChannelDeviceType As DiaGlobWrapperCommon..::.ScBusDeviceType, _ SecondChannel As Channel, _ SecondChannelDeviceType As DiaGlobWrapperCommon..::.ScBusDeviceType, _ ConnectionType As DiaGlobWrapperCommon..::.ScBusConnectionType _ ) |
| Visual C++ |
|---|
public: void ScBusConnect( Channel^ FirstChannel, DiaGlobWrapperCommon..::.ScBusDeviceType FirstChannelDeviceType, Channel^ SecondChannel, DiaGlobWrapperCommon..::.ScBusDeviceType SecondChannelDeviceType, DiaGlobWrapperCommon..::.ScBusConnectionType ConnectionType ) |
Parameters
- FirstChannel
- Type: Inkostar..::.Channel
The first channel to be connected.
- FirstChannelDeviceType
- Type: Inkostar..::.DiaGlobWrapperCommon..::.ScBusDeviceType
The SCbus timeslot type of the first channel to be connected. Voice, Analogue or Digital
- SecondChannel
- Type: Inkostar..::.Channel
The second channel to be connected.
- SecondChannelDeviceType
- Type: Inkostar..::.DiaGlobWrapperCommon..::.ScBusDeviceType
The SCbus timeslot type of the second channel to be connected. Voice, Analogue or Digital
- ConnectionType
- Type: Inkostar..::.DiaGlobWrapperCommon..::.ScBusConnectionType
Whether the connection between the two time slots should be made in full or half duplex
Remarks
This function can be used as a substitute to a call transfer by using two separate channels.
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 connect voice timeslots of both channels in full-duplex:
C#: objDevice.ScBusConnect(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, ChannelOutbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, DiaGlobWrapperCommon.ScBusConnectionType.FullDuplex);
VB.NET: objDevice.ScBusConnect(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, ChannelOutbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, DiaGlobWrapperCommon.ScBusConnectionType.FullDuplex)
C#: objDevice.ScBusConnect(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, ChannelOutbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, DiaGlobWrapperCommon.ScBusConnectionType.FullDuplex);
VB.NET: objDevice.ScBusConnect(ChannelInbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, ChannelOutbound, Inkostar.DiaGlobWrapperCommon.ScBusDeviceType.Voice, DiaGlobWrapperCommon.ScBusConnectionType.FullDuplex)