User guide

August 2001 167
Switching Calls through the MVIP-90 Bus
Establishing Connections
Establish or disconnect an MVIP connection using the function
SET_OUTPUT. When the application calls SET_OUTPUT, it
specifies the stream and slot to connect as output and the
stream and slot to connect as input. It also specifies the timeslot
mode.
You can set the OutputParam_s.Mode field to either disable
mode, connect mode, or pattern mode.
When OutputParam_s.Mode is in CONNECT_MODE, use
SET_OUTPUT to connect the timeslot defined by
OutputParam_s.OutputStream and
OutputParam_s.OutputSlot to the timeslot defined by
OutputParam_s.InputStream and
OutputParam_s.InputSlot. This connection allows the
timeslot defined by OutputStream, OutputSlot to receive
data from the InputStream, InputSlot timeslot. To make a
bidirectional connection, swap the input and output
timeslots in the OutPutParam_s data structure and call
SET_OUTPUT again.
When OutputParam_s.Mode is in PATTERN_MODE,
SET_OUTPUT repeatedly transmits
OutputParam_s.Message to the timeslot defined by the
OutputParam_s.OutputStream and
OutputParam_s.OutputSlot.
When OutputParam_s.Mode is in DISABLE_MODE, use the
function SET_OUTPUT to disconnect the timeslot defined
by OutputParam_s.OutputStream and
OutputParam_s.OutputSlot from the MVIP bus and
internal streams. You cannot disconnect an ATSI
connection using
DISABLE_MODE. Instead, use PATTERN_MODE
and transmit a silence.