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.

6.8 3-axis Encoder Functions• I8090_REGISTRATIONDescription:In order to distinguish more than one I-8090 card in the LinPAC-8000 platform, theI-8090 modules should be registered before using it. If there are no I-8090 modules in theLinPAC-8000 at the given address, this function will return 0 which means a failure.Syntax:[ C ]unsigned char I8090_REGISTRATION(unsigned char slot, unsigned int address)Parameter:slot : [Input] Specify the LinPAC-8000 slot (Range: 1 to 8)ddress : This parameter is not used in the LinPAC-8000.Return Value:1: Success registration0: Failure registrationExample:unsigned char slot=1;unsigned int address=0x0;I8090_REGISTRATION(slot, address); // I-8090 is plugged in slot 1 of LinPAC.Remark:This function can be applied on module: I-8090.LinPAC-8x4x SDK:203

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

Saved successfully!

Ooh no, something went wrong!