NAP7000P User Manual Revision 1 July 1998
63 Windows 3.1 Applications 7000W31.DLL is a 16-bit DLL driver designed for Windows 3.1 applications. The user can use VC++ or VB to call th e 7000
73.3 Demo Programs There are many demo programs designed for VC and VB. These demo program are given in the NAP7000P as following: 1. \NAP7000P
84 UART.DLL for Windows 95/NT There are six DLL functions provided in the UART.DLLs. This section briefly describes these functions and the vari
94.3 Send_Cmd z Description: This DLL will create a thread to send a command to CB-7 000 and receive the response -result from CB-7000. If the wChe
104.5 Send_Str z Description: This DLL will create a th read to send a comman d and receive the response-result from a g eneral purpose RS-232
115 I7000.DLL for Windows 95/NT The I7000.DLL provides a wide variety of high level calls. These are described in the following sections. For specif
125.3 Get_Dll_Version z Description: Read the software version of the NAP7000P DLLs. z Syntax: WORD Get_Dll_Version(void) ; z Input Paramete
13z 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 ID, 0x7011/
145.6 I7000_AnalogIn8 z Description: Read the 8 channels of analog input values from CB-7017 or CB-7018. z Syntax: I7000_AnalogIn8(WORD w700
155.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
Your new Measurement Computing product comes with a fantastic extra — Management committed to your satisfaction! Thank you for choosing a Measurem
165.8 I7000_AnalogOut z Description: Send the analog output command to CB-7000. z Syntax: I7000_AnalogOut(WORD w7000[], float f7000[], char
175.9 I7000_AnalogOutReadBack z Description: Read back the current D/A output value of CB-7021. There are two types of analog output read back
185.10 I7000_DigitalIn z Description: Read the digital input value from a CB-7000 series DIO module. z Syntax: I7000_DigitalIn(WORD w7000[],
195.11 I7000_DigitalOut z Description: Set the digital output value of CB-7000 series digital I/O module. z Syntax: I7000_DigitalOut(WORD w7
205.12 I7000_DigitalOutReadBack z Description: Read back the digital output value of CB-7000 series module. z Syntax: I7000_DigitalOutReadBa
215.13 I7000_NetworkAnalogIn z Description: Read the multi-module analog input value from CB-7000 RS-485 network.. The user can call I7000_AnalogIn
225.14 I7000_NetworkDigitalIn z Description: Read the multi-module digital input value from CB-7000 RS-485 network.. The user can call I7000_Digit
235.15 VC I7000 Demo Programs z Demo20 :I7000_AnalogIn demo1 z Demo21 :I7000_AnalogIn demo2 z Demo22 :I7000_AnalogIn8 demo z Demo23 :I7000_An
246 7000W31.DLL for Windows 3.1 6.1 Open_Com Description: This DLL will initialize the COM port. This DLL must be called once before the othe
256.3 Send_Cmd Description: This DLL will send a command string to CB-7000. If the wCheckSum=1, this DLL will automatically add the two checksum
3Table of Contents 1 INTRODUCTION...
266.5 Send_Receive_Cmd Description: This DLL will send a command stri ng to CB-7000 then receive the result string from I 7000. This DLL will call
276.7 Receive_Str Description: This DLL will receive a re sult string from a general purpose RS-232 device. This DLL is very similar to Receive_Cmd
286.9 VC Demo Programs A wide variety of demo programs showing the usage of the 7000W31 DLL are provided. The following provides a very brief descri
29For Your Notes
30For Your Notes
Measurement Computing 10 Commerce Way Norton, MA 02766 (508) 946-5100 Fax: (508) 946-9500 [email protected] www.mccda
45.10 I7000_DIGITALIN ... 18 5.11 I7000_
1 Introduction The NAP7000P is a Windows DLL designed for Windows 3.1/95/NT user. It can be called by VC++, BC++, VB, Delphi, BC++ Builder, LabVI
22 Windows 95/NT Applications The UART.DLL & I7000.DLL are Win32 DLLs drivers designed for Windows 95 and Windows NT 3.51/4.0 applications.
32.3 Required Files The VC++ user has to include the following five files: 1. \NAP7000P\W32\UART\uart.dll :RS232 related DLLs 2. \NAP7000P\W32\UAR
4 The following provides a brief description of the various demo programs. Demo1 :send/receive command to CB-7000 with checksum disable Demo2 :send
52.6 MFC Call DLLs The usage of NAP7000P DLLs for MFC user is very similar to that for C user. These have also been tested in Windows 95/NT and
Comments to this Manuals