To establish and clear switched connections, use TxSetOutput and TxSetOutputFdx. These functions accept a destination stream and timeslot, a source stream and timeslot, and a connection mode as input to configure the switch fabric appropriately. The following connection modes are available:
Connection mode |
Description |
CONNECT_MODE |
Establishes a connection between the specified source stream and timeslot and destination stream and timeslot. TxSetOutput sets up a half duplex connection in which data sampled from the specified source stream and timeslot is transmitted on the specified destination stream timeslot only. TxSetOutputFdx sets up a full duplex connection in which data sampled from the specified source stream and timeslot is transmitted on the specified destination stream timeslot. Data sampled for the destination stream and timeslot's corresponding input is transmitted on the specified source stream and timeslot's corresponding output. |
DISABLE_MODE |
Clears a connection by disabling (tri-stating) the output specified by the destination stream and timeslot. TxSetOutputFdx also disables the output side corresponding to the source stream and timeslot, effectively clearing both directions of a full duplex connection. |
PATTERN_MODE |
Forces a specified one-byte pattern to be repeatedly transmitted on the destination stream and timeslot (source stream and timeslot is ignored). |
The following illustration shows a half duplex H.100/H.110 connection:
The following illustration shows a full duplex H.100/H.110 connection:
When you create a full duplex connection with TxSetOutputFdx, the TX board automatically determines the reverse direction stream numbers. Full duplex connections are always created across a pair of adjacent streams. When the stream number specified as a parameter to TxSetOutputFdx (stream) is odd, the paired stream number is stream – 1. When the stream number is even, the paired stream number is stream + 1. This is done independently for both the source and destination sides of a connection.
You can configure the TX board to transmit or receive across a given channel for any H.100/H.110 stream and timeslot. There is no restriction to even or odd stream numbers.
The H.100/H.110 library uses pseudo stream numbers to refer to local streams providing access to T1/E1/J1 trunks. These pseudo stream numbers are needed since the H.100/H.110 interface provides for the specification of MVIP bus versus LOCAL bus. The pseudo stream numbers are used as follows:
TX board type |
Stream numbers |
PCI and PCI Express T1/E1/J1 trunks 1 - 4 |
80 - 83 |
CompactPCI T1/E1/J1 trunks 1 - 8 |
80 - 87 |
Note: Switch fabric streams that correspond to T1/E1/J1 lines (streams 80 – 83 on PCI and PCI Express TX boards, and streams 80 - 87 on CompactPCI TX boards) do not switch between input and output on a given signal line. There is no pairing of even and odd stream numbers across a T1/E1/J1 connection. For TxSetOutputFdx, no T1/E1/J1 stream numbers are altered for the reverse connection.
The following illustration shows an example of setting up a full duplex connection between two T1 lines on different TX boards using the H.100/H.110 bus. This example shows a connection between T1 line A (stream 80), timeslot 2 on board 1 and T1 line B (stream 81), timeslot 7 on board 2. The connection between the two boards is set up over H.100/H.110 bus streams 0 and 1, timeslot 9.