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.

6.4 Digital Input/Output Functions6.4.1 For I-8000 modules via parallel port• DO_8Description:This function is used to output 8-bit data to a digital output module. The 0~7 bits ofoutput data are mapped into the 0~7 channels of digital module output respectively.Syntax:[ C ]void DO_8(int slot, unsigned char 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 char data=3;DO_8(slot, data);// The I-8064 card is plugged in slot 1 of LinPAC-8000 and can turn on channel 0// and 1.Remark:This function can be applied on modules: I-8060W, I-8064W, I-8065W, I-8066W,I-8068W and I-8069W.LinPAC-8x4x SDK:68

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

Saved successfully!

Ooh no, something went wrong!