(Page 10 of 22 in this chapter) Version


TxSetOutputFdx

Description

Makes/clears full-duplex connections or continuously transmits a pattern on a switch output.

Prototype

short TxSetOutputFdx (short handle,
STREAM_T oStream,
TIMESLOT_T oTimeslot,
MODE_T mode,
STREAM_T iStream,
TIMESLOT_T iTimeslot,
DATA_T message)

handle TX board number.

oStream Output stream number. For MVIP-90, must be between 0 and 15 for MVIP, 16 for T1-A, and 18 for T1-B. For MVIP-95, must be between 0 and 31 for H.100/H.110, 40 for T1-A, and 41 for T1-B.

oTimeslot Output timeslot number. For MVIP-90, must be between 0 and 31. For MVIP-95, must be between 0 and 127 for H.100/H.110, and between 0 and 31 for T1 interfaces.

mode Mode of operation. See the table in the Details section.

iStream Input stream number. For MVIP-90, must be between 0 and 15 for MVIP, 16 for T1-A, and 18 for T1-B. For MVIP-95, must be between 0 and 31 for H.100/H.110, 40 for T1-A, and 41 for T1-B.

iTimeslot Input timeslot number. For MVIP-90, must be between 0 and 31. For MVIP-95, must be between 0 and 127 for H.100/H.110, and between 0 and 31 for T1 interfaces.

message Value output on the stream/timeslot when the mode is PATTERN_MODE (not used for other modes).

Return Values

Details

The result of this function is determined by the mode parameter. The following table lists acceptable values for the mode parameter, as well as the resulting actions:
Mode

Action

CONNECT_MODE

A bi-directional path is connected between the two specified channel time slot pairs. The output side of the channel time slot specified by the oStream and oTimeslot parameters is connected to the input of the channel time slot specified by the iStream and iTimeslot parameters. The output side of the iStream/iTimeslot is connected to the input side of the oStream/oTimeslot.

DISABLE_MODE

Clears a bi-directional connection by disabling output on both the oStream/oTimeslot and iStream/iTimeslot channel timeslot pairs.

PATTERN_MODE

Forces the single byte pattern specified by the message parameter to be continuously output on the channel time slot specified by the oStream and oTimeslot parameters.The iStream and iTimeslot parameters are not used. In pattern mode, this is identical to the half-duplex operation.



(Page 10 of 22 in this chapter) Version


tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.