(Page 9 of 22 in this chapter) Version


TxSetOutput

Description

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

Prototype

short TxSetOutput (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 uni-directional path is connected from the channel time slot specified by the iStream and iTimeslot parameters to the output channel time slot specified by the oStream and oTimeslot parameters.

For MVIP-90 boards (TX 2000 and TX 3000):

· If the output stream, N, is MVIP stream 0 through 7, then the output is on MVIP bus signal DSiN. If the output stream, N, is MVIP stream 8 through 15, then the output is on MVIP bus signal DSo(N-8).

· Similarly, if the input stream, N, is MVIP stream 0 through 7, then the input is from MVIP bus signal DSoN. If the input stream, N, is MVIP stream 8 through 15, then the input is from MVIP bus signal DSi(N-8).

DISABLE_MODE

Clears a connection by disabling output on the channel time slot specified by the oStream and oTimeslot parameters. The iStream and iTimeslot parameters are not used.

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.



(Page 9 of 22 in this chapter) Version


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