13.07.2015 Views

User manual - ICP DAS USA

User manual - ICP DAS USA

User manual - ICP DAS USA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

• Read_SNDescription:This function is used to retrieves the hardware serial identification number on theLinPAC-8000 main controller. This function supports the control of hardware versions byreading the serial ID chipSyntax:[ C ]void Read_SN(unsigned char serial_num[])Parameter:serial_num : [Output] Receive the serial ID number.Return Value:NoneExample:int slot ;unsigned char serial_num[8];Open_Slot(0);Read_SN(serial_num);printf("SN=%x%x%x%x%x%x%x%x\n",serial_num[0],serial_num[1], serial_ num[2],serial_num[3],serial_num[4],serial_num[5],serial_num[6],serial_num[7]);Remark:• SetLEDDescription:This function is used to turn the LinPAC-8000 LED’s on/off.Syntax:void SetLED(unsigned int led)[ C ]LinPAC-8x4x SDK:55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!