13.07.2015 Views

User manual - ICP DAS USA

User manual - ICP DAS USA

User manual - ICP DAS USA

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

• GetRotaryIDDescription:This function is used to retrieve the rotary ID number in the LinPAC-8000.Syntax:int GetRotaryID(int type, & id)[ C ]Parameter:type :[Input] number of slot.idReturn Value:0 is for SuccessNot 0 is for FailureExample:int id, slot, type, wRetVal;switch(type){case 1:slot = 0; //lp-8x4xbreak;case 2:slot = 8;break;default:slot = 0;break;}wRetVal = Open_Slot(slot);if (wRetVal > 0) {printf("open Slot%d failed!\n",slot);return (-1);}id= GetRotaryID(slot);printf("GetRotaryID =%d \n",id); // Get the LinPAC-8000 rotary id. If user turn therotary switch to the 1 position, would get the returned value: GetRotaryID = 78Remark:LinPAC-8x4x SDK:59

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

Saved successfully!

Ooh no, something went wrong!