MPU Series B
Ultrasonic Gas Flow Meter
______________________________________________________________________
_____________________________________________________________________
PRD-0000022543 Rev. 00D Page 21 of 28
MNKS008 0.0 (4/08)
6. WINDOWS COMMUNICATION SOFTWARE
6.1. MPUCOMM Dynamic Link Library
This communication link provides a fast and simple way of
communicating with the MPU Series B using the network
interface. The interface is based on a Microsoft Windows DLL.
This DLL encapsulate all the communication with the MPU Series
B, and offers a set of library functions that can be called from your
program. (DLLs are callable from most programming languages
including Microsoft visual C++, Microsoft Visual Basic, National
Instrument Lab View/Lab Windows, Office applications that can
be programmed with Visual Basic Macros i.e. Excel).
The PC to use this DLL has to have the following “pieces”:
1. Running Microsoft Windows 98/NT//2000 or later versions.
2. Ethernet network (or a Ethernet card in your computer)
3. TCP/IP protocol installed under Windows.
4. Application can then call a Windows DLL (Dynamic Link
Library). The DLL contains simple functions to read or write to
the MPU Series B database via the network.
6.1.1. Installation
The IP address of the MPU Series B must be defined in the host
file. For example:
128.1.221.121 MPUsn11
where ‘128.1.221.121’ is the IP address, and ‘MPUsn11’ is the
name the machine can be referenced by.
This file is usually found in directory
C:\WINNT\system32\drivers\etc\ on PCs running Windows NT,
and under C:\WINDOWS\…. on PCs running Windows 98.
The following files is included in the MPU Series B network
communication toolkit:
1. MPUBComm.dll - Callable library containing the
implementation of the communication system.
2. MPUBComm.lib - Linkable library for Microsoft visual C++.
3. DLLTester.exe – An executable test program with a simple user
interface