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_WriteConfig_16Description:This function is used to configure the channel of the universal DIO module which isdigital input or digital output mode. The universal DIO module can be up to 16 digital inputor digital output channels running simultaneously.Syntax:[ C ]unsigned short UDIO_WriteConfig_16(int slot, unsigned short config)Parameter:slot : [Input] the slot number where the I/O module is plugged into.config : [Input] channel status.[ DO : 1 / DI : 0 ]Return Value:NoneExample:int slot=1;unsigned short config=0xffff;UDIO_WriteConfig_16(slot, config);// The I-8064 card is plugged in slot 1 of LinPAC-8000.// WriteConfig: 0xffff (ch 0~ch15 is DO mode)Remark:This function can be applied on modules: I-8050W.LinPAC-8x4x SDK:81

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

Saved successfully!

Ooh no, something went wrong!