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.

• SetStartUpValue_8KDescription:This function is used to read start-up value of analog output module for I-8000 seriesmodules.Syntax:[ C ]WORD ReadStartUpValue_8K(DWORD dwBuf[], float fBuf[],char szSend[],char szReceive[])Parameter:dwBuf:DWORD Input/Output argument talbedwBuf[0] : [Input] COM port number, from 1 to 255dwBuf[1] :dwBuf[2] :dwBuf[3] :dwBuf[4] :[Input] Module address, form 0x00 to 0xFF[Input] Module ID, 0x8024[Input] 0= Checksum disable; 1= Checksum enable[Input] Timeout setting , normal=100 mseconddwBuf[5] : : [Input] The defined analog output channel No.dwBuf[6] :[Input] 0 no save to szSend &szReceivedwBuf[7] : ::: [Input] Slot numberfBuf :fBuf[0] :szSend :szReceive :Return Value:0 is for SuccessNot 0 is for FailureExample:float StartUp;float fBuf[12];char szSend[80];char szReceive[80];DWORD dwBuf[12];DWORD m_port=3;DWORD m_address=1;DWORD m_timeout=100;1 Save to szSend &szReceiveFloat input/output argument table.[Output] Start-Up value.[Input] Command string to be sent to I-8000 series modules.[Output] Result string receiving from I-8000 series modules.LinPAC-8x4x SDK:189

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

Saved successfully!

Ooh no, something went wrong!