EasyManua.ls Logo

HIKVISION DS-4 Series - 4.2.5. ChannelClose(); 4.2.6. GetTotalChannels(); 4.2.7. GetTotalDSPs(); 4.2.8. GetBoardCount()

HIKVISION DS-4 Series
51 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Technical Manual
© 2006-2010 by HIKVISION. All rights reserved. 15
4.2.5. int ChannelClose(int channelHandle) ;
Parameter:
int channelHandle channel handle;
Explanation:
Close channel and release correlative resource;
Return value:
0success; -1 failed;
4.2.6. int GetTotalChannels();
Explanation:
Get total valid channel number in system.
Return value:
If return value is less than the number of channels installed in system, it is means those
initializations of DSP are failed.
4.2.7. int GetTotalDSPs();
Explanation:
Get the number of DSP in system.
Return value:
If return value is less than the number of DSP installed system, it is means those some
initializations of DSP are failed.
4.2.8. int GetBoardCount()
Explanation:
Get the number of card in system.
Return value:
The number of the cards
4.2.9. int GetBoardDetail (UINT boardNum,DS_BOARD_DETAIL *pBoardDetail)
Parameter:
UINT boardNum the index of the board
DS_BOARD_DETAIL *pBoardDetail the info of the board
typedef struct
{
BOARD_TYPE_DS type; //the type of the board
BYTE sn[16]; //the serial number
UINT dspCount; //the DSP count in the board
UINT firstDspIndex; //the index of the first DSP
UINT encodeChannelCount; //the encode channel count in the board
UINT firstEncodeChannelIndex; //index of first encode channel
UINT decodeChannelCount; //the decode channel count in the board
UINT firstDecodeChannelIndex; //the index for the first decoding channel
UINT displayChannelCount; //the display channel count

Related product manuals