(Page 5 of 22 in this chapter)
Version
TxQueryOutput
Description
Queries the current output status of a specified timeslot on a specified stream.
Prototype
short
TxQueryOutput
(
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
Address where current mode of the specified output stream/timeslot is returned to caller.
iStream
Address where the input stream is returned to caller when the mode is
CONNECT_MODE
(not used for other modes.)
iTimeslot
Address where the input timeslot is returned to caller when the mode is
CONNECT_MODE
(not used for other modes).
message
Address where the current value being output on the stream/timeslot is returned to caller when the mode is
PATTERN_MODE
(not used for other modes).
Return Values
SUCCESS
MVIP_INVALID_HANDLE
The specified handle is invalid.
MVIP_INVALID_STREAM
Output or source stream number out of range.
MVIP_INVALID_TIMESLOT
Output or source timeslot number out of range.
MVIP_NO_RESOURCES
Adapter not present on CP.
Details
The following table provides a list of valid entries for the
mode
parameter:
Mode
Description
DISABLE_MODE
Output is disabled (not connected).
PATTERN_MODE
A fixed pattern is continuously output on this channel.
CONNECT_MODE
Connected to the source channel specified in the
iStream
and
iTimeslot
parameters.
(Page 5 of 22 in this chapter)
Version
tech_support@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.