beautypg.com

Get_dll_version, I7000_test, I7000_analogin – Measurement Computing CB-NAP-7000P User Manual

Page 16

background image

12

5.3 Get_Dll_Version


z Description:

Read the software version of the NAP7000P DLLs.

z Syntax:

WORD Get_Dll_Version(void) ;

z Input Parameter:

void

z Return Value:

return=0x202 :Version 2.2


5.4 I7000_Test


z Description:

Test function.

z Syntax:

I7000_Test(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

5.5 I7000_AnalogIn


z Description:

Read the analog input value from CB-7000.

z Syntax:

I7000_AnalogIn(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