I7000_7017in8 – Measurement Computing CB-NAP-7000P User Manual
Page 19

15
5.7 I7000_7017In8
z Description:
Read the 8 channels of analog input values from CB-7017. This DLL will send high speed command, $AAA, to CB-
7017. The I7000_7017In8 is faster than I7000_AnalogIn8.
z Syntax:
I7000_7017In8(WORD w7000[], float f7000[], char szSendTo7000[], char szReceiveFrom7000[])
z Input Parameter:
w7000: WORD Input/Output argument table
f7000: float Input/Output argument table
szSendTo7000: command string send to CB-7000
szReceiveFrom7000: result string read from CB-7000
z Return Value:
NoError: OK
others: Error code, refer to I7000.H
z W7000: WORD Input/Output Table
w7000[0] : RS-232 port number, 1/2/3/4
w7000[1] : module address, from 0x00 to 0xFF
w7000[2] : module type, 08/09/0A/0B/0C/0D
w7000[3] : 0=checksum disable, 1=checksum enable
w7000[4] : TimeOut constant, normal=100
w7000[6] : 0
:no save to szSendTo7000&szReceiveFrom7000
1
:szSendTo7000=command string send to CB-7000
:szReceiveFrom
7000=result string receive from CB-7000
z F7000:
Float Input/Output Table
f7000[0] : analog input value of channel_0
f7000[1] : analog input value of channel_1
……………………………………………
f7000[7] : analog input value of channel_7