Measurement-computing CB-NAP-7000P User Manual

Browse online or download User Manual for Hardware Measurement-computing CB-NAP-7000P. Measurement Computing CB-NAP-7000P User Manual

  • Download
  • Add to my manuals
  • Print

Summary of Contents

Page 1 - User Manual

NAP7000P User Manual Revision 1 July 1998

Page 2

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

Page 3

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

Page 4

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

Page 5

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

Page 6 - 2.2 I7000.DLL

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

Page 7 - 2.4 Demo Programs

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

Page 8 - 2.5 VC++ Call DLLs

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

Page 9 - 2.6 MFC Call DLLs

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/

Page 10 - 3 Windows 3.1 Applications

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

Page 11 - 3.3 Demo Programs

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

Page 12 - 4.2 Close_Com

Your new Measurement Computing product comes with a fantastic extra — Management committed to your satisfaction! Thank you for choosing a Measurem

Page 13 - 4.4 Read_Com_Status

165.8 I7000_AnalogOut z Description: Send the analog output command to CB-7000. z Syntax: I7000_AnalogOut(WORD w7000[], float f7000[], char

Page 14 - 4.5 Send_Str

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

Page 15 - 5.2 Float_Sub_2

185.10 I7000_DigitalIn z Description: Read the digital input value from a CB-7000 series DIO module. z Syntax: I7000_DigitalIn(WORD w7000[],

Page 16 - 5.5 I7000_AnalogIn

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

Page 17

205.12 I7000_DigitalOutReadBack z Description: Read back the digital output value of CB-7000 series module. z Syntax: I7000_DigitalOutReadBa

Page 18 - 5.6 I7000_AnalogIn8

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

Page 19 - 5.7 I7000_7017In8

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

Page 20 - 5.8 I7000_AnalogOut

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

Page 21

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

Page 22 - 5.10 I7000_DigitalIn

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

Page 23 - 5.11 I7000_DigitalOut

3Table of Contents 1 INTRODUCTION...

Page 24

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

Page 25 - 5.13 I7000_NetworkAnalogIn

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

Page 26 - 5.14 I7000_NetworkDigitalIn

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

Page 27

29For Your Notes

Page 28 - 6.2 Close_Com

30For Your Notes

Page 30 - 6.6 Send_Str

Measurement Computing 10 Commerce Way Norton, MA 02766 (508) 946-5100 Fax: (508) 946-9500 [email protected] www.mccda

Page 31 - 6.8 Send_Receive_Str

45.10 I7000_DIGITALIN ... 18 5.11 I7000_

Page 32 - 6.9 VC Demo Programs

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

Page 33 - For Your Notes

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.

Page 34

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

Page 35

4 The following provides a brief description of the various demo programs. Demo1 :send/receive command to CB-7000 with checksum disable Demo2 :send

Page 36 - Measurement Computing

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

No comments