MPU Series B
Ultrasonic Gas Flow Meter
______________________________________________________________________
_____________________________________________________________________
PRD-0000022543 Rev. 00D Page 23 of 28
MNKS008 0.0 (4/08)
Figure 7 shows a sample run of this application.
Figure 7 - Running the SimpleTalk.exe application
6.1.3. The Network Programmers Interface
The following functions are implemented in the DLL:
GetFloatValues
This functions reads object as float values from the MPU Series B
database.
int DLLAPI getFloatValues(
// Input
const char *lpszHost, //
Hostname to connect to (MPUsn11)
unsigned short nFirstObjectNumber, //
First database object to read
unsigned short nNOfObject, // The
number of objects to read
// Output
float *pfValueBuffer //
Buffer to store the values
);
Parameters :
î LpszHost
Specifies the host to connect. The host must be defined in the
host file on your PC. The string must be null terminated.