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.

• DIO_DO_16Description:This function is used to output 16-bits of data to DIO modules, which have 16 digitalinput and 16 digital output channels running simultaneously. The 0~15 bits of output dataare mapped onto the 0~15 output channels for their specific DIO modules respectively.Syntax:[ C ]void DIO_DO_16(int slot, unsigned int data)Parameter:slot :data :[Input] the slot number where the I/O module is plugged into.[Input] output data.Return Value:NoneExample:int slot=1;unsigned int data=3;DIO_DO_16(slot, data);// The I-8042 card is plugged in slot 1 of LinPAC-8000 and can turn on the// channels 0 and 1.// It not only outputs a value, but also shows 32LEDs.Remark:This function can be applied on modules: I-8042W and I-8050W.LinPAC-8x4x SDK:75

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

Saved successfully!

Ooh no, something went wrong!