User guide

August 2001 197
Connecting Boards in an H.100 bus
Enabling or Disabling Resources
By default, the entire Vantage PCI board switch block is not
available to the CT bus. To enable or disable the MVIP-95
switch block, use the MVIP95_CMD_SET_SWITCH function.
The RealBLOCs board does not provide the switch enable
option. The switch is always enabled.
In their default state, lines and VP resources on a Vantage PCI
board are combined to make channels. Enabling the switch
block on a Vantage PCI board makes the VP and LS resources
available to the bus.
Enable the Vantage PCI switch block before you configure the
clock, set the stream speed, or establish connections for that
board. Example 11 shows how to enable the switch block on a
Vantage PCI board.
Example 11. MVIP95_CMD_SET_SWITCH Sample Code
#include brktddm.h
int main(int argc, char **argv)
{
BRKT_HANDLE BoardHandle;
BOOLEAN IoctlResult;
BRKT_SIZE_T BytesReturned;
struct MVIP95_SET_SWITCH_PARMS SwitchParams;
BoardHandle = BrktOpenDevice(BRKT_DEVICE_RDSP_BOARD, 0);
if (BoardHandle == BRKT_INVALID_HANDLE_VALUE)
return;
memset(&SwitchParams, 0, sizeof(SwitchParams));
SwitchParams.bus_enable_state = TRUE;