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.

• AnalogInAllDescription:This function is used to obtain the analog input value of all channels form I-7000 seriesmodules.Syntax:[ C ]WORD AnalogInAll (WORD wBuf[], float fBuf[],char szSend[],char szReceive[])Parameter:wBuf: WORD Input/Output argument talbewBuf[0] : [Input] COM port number, from 1 to 255wBuf[1] : [Input] Module address, form 0x00 to 0xFFwBuf[2] : [Input] Module ID, 0x7005/15/16/17/18/19/33wBuf[3] : [Input] 0= Checksum disable; 1= Checksum enablewBuf[4] : [Input] Timeout setting , normal=100 msecondwBuf[6] : [Input] 0 no save to szSend & szReceive1 Save to szSend & szReceivefBuf : Float Input/Output argument table.fBuf[0] : ::: [Output] Analog input value return of channel_0fBuf[1] : ::: [Output] Analog input value return of channel_1fBuf[2] : ::: [Output] Analog input value return of channel_2fBuf[3] : ::: [Output] Analog input value return of channel_3fBuf[4] : ::: [Output] Analog input value return of channel_4fBuf[5] : ::: [Output] Analog input value return of channel_5fBuf[6] : ::: [Output] Analog input value return of channel_6fBuf[7] : ::: [Output] Analog input value return of channel_7szSend : [Input] Command string to be sent to I-7000 series modules.szReceive : [Output] Result string receiving from I-7000 series modules .Note : <strong>User</strong>s have to use DCON utility to set up the analog input configuration of themodule in hex format.Return Value:0 is for SuccessNot 0 is for FailureLinPAC-8x4x SDK:146

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

Saved successfully!

Ooh no, something went wrong!