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.

WORD m_port=3;WORD m_address=1;WORD m_timeout=100;WORD m_checksum=0;Open_Com(COM3, 9600, Data8Bit, NonParity, OneStopBit);wBuf[0] = m_port;wBuf[1] = m_address;wBuf[2] = 0x7016;wBuf[3] = m_checksum;wBuf[4] = m_timeout;wBuf[5] = 0;wBuf[6] = 1;AnalogIn (wBuf, fBuf, szSend, szReceive); // szSend=”#02” , szReceive=”>+001.9”AI = fBuf[0]; // AI = 1.9Close_Com(COM3);Remark:LinPAC-8x4x SDK:142

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

Saved successfully!

Ooh no, something went wrong!