MPU Series B
Ultrasonic Gas Flow Meter
______________________________________________________________________
_____________________________________________________________________
PRD-0000022543 Rev. 00D
Page 25 of 28
MNKS008 0.0 (4/08)
PnValueBuffer
Specifies the memory address where the function will place the
read values. The parameter must be a pointer to an array of 64
bits integer values. The size of the array must at least be
nFirstObjectNumber
* 8 bytes.
SetFloatValues:
This function writes floating point values to the MPU Series B
database.
int DLLAPI setFloatValues(
// 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
float *pfValueBuffer //
Buffer with 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.
NFirstObjectNumber
Specifies the object number of the first database value to write.
These object numbers are defined in section 3.
NNOfObject
Specifies how many objects to write. This must be a number
between 1 and 64. The parameter must be a 16 bit integer.
PfValueBuffer
Specifies the memory address where the values to write are
fetched from. The parameter must be a pointer to an array of 32
bits single precision values. The size of the array must at least
be
nFirstObjectNumber
* 4 bytes.