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.

• UDIO_ReadConfig_16Description:This function is used to read the channels configuration of the universal DIO modulewhich is digital input or digital output mode.Syntax:[ C ]unsigned short UDIO_ReadConfig_16(int slot)Parameter:slot :[Input] the slot number where the I/O module is plugged into.Return Value:NoneExample:int slot=1;unsigned int ret;unsigned short config=0x0000;UDIO_WriteConfig_16(slot, config);ret=UDIO_ReadConfig_16(slot);printf("Read the I/O Type is : 0x%04lx \n\r",ret);// The I-8050W is plugged in slot 1 of LinPAC-8000.// WriteConfig: 0x0000 (ch 0~ch15 is DI mode)// Read the I/O Type is: 0x0000Remark:This function can be applied on modules: I-8050W.LinPAC-8x4x SDK:82

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

Saved successfully!

Ooh no, something went wrong!