NCM_StartBoard( )
Description | Cautions | Example | Error Codes | See Also
NCMRetCode NCM_StartBoard(pncmFamily, pncmDeviceUnique)
NCMFamily *pncmFamily NCMDevice *pncmDeviceUnique NCM_SUCCESS if success NCM error code if failure NCMApi.h synchronous Description
The NCM_StartBoard( ) function starts a single Intel® Dialogic DM3 board. This function only applies to DM3 PCI (H.100) and CompactPCI (H.110) boards. The function blocks until the board is completely started. For more information about starting a single Intel® Dialogic DM3 Board, see Section 2.9, Single Board Stop/Start (Hot Swap).
The function parameters are defined as follows:
pncmFamily pointer to the structure containing the family name; the value contained in the structure must be an instantiated family (see Cautions below) pncmDeviceUnique pointer to the structure containing the device's unique name; the unique device name must be the same name you used to add the device to the system configuration with the NCM_AddDevice( ) function Cautions
This function is applicable only to devices that are capable of being started and stopped on an individual basis (i.e., DM3 PCI and CompactPCI boards).
Example
#include "NCMApi.h" ... // // Prepare inputs // NCMFamily family; Family.name = "DM3"; Family.next = NULL; NCMDevice device; device.name = "QS_T1-1"; device.next = NULL; // // Execute // NCMRetCode ncmRc = NCM_StartBoard(&family, &device); if ( ncmRc == NCM_SUCCESS ) { // process related functions calls ... } else { // process error ... }Error Codes
NCME_GENERAL a problem occurred retrieving the data See Also
Click here to contact Telecom Support Resources
Copyright 2003, Intel Corporation