AR500 User’s Manual
LLL00xxxx – Rev 1.0
32
Parameters:
hCOM
–
descriptor of the device obtained from function
RF60x_OpenPort or CreateFile;
bAddress
-
address of the device.
Returned value:
If the device does not respond to result-latching request, the function returns
FALSE, otherwise the function returns TRUE.
10.8
Get Measurement Result (RF60x_Measure)
The function RF60x_Measure reads current measurement value from the
RF603 sensor. The result value (D) transmitted by the sensor is normalized in
such a way as the value of 4000h (16384) corresponds to full range of the
sensor (S в мм), the result in mm is obtained by the following formula:
X=D*S/4000h (mm) :
Parameters:
hCOM
–
descriptor of the device obtained from function
RF60x_OpenPort or CreateFile;
bAddress
-
address of the device.
lpusValue
-
pointer to USHORT/WORD-type variable containing the
result D.
Returned value:
If the device does not respond to result request, the function returns FALSE,
otherwise, if the restore confirm is obtained from the sensor, the function
returns TRUE.
10.9
Start Measurement Stream (RF60X_StartStream)
The function RF60x_StartStream switches RF603 sensor to the mode Where:
continuous transmission of measurement results takes place:
Parameters:
hCOM
–
descriptor of the device obtained from function
RF60x_OpenPort or CreateFile;
bAddress
-
address of the device.
Returned value:
BOOL RF60x_Measure(
HANDLE
hCOM,
BYTE
bAddress,
USHORT *
lpusValue
);
BOOL RF60x_StartStream(
HANDLE
hCOM,
BYTE
bAddress
);
Содержание AccuRange AR500
Страница 4: ...AR500 User s Manual LLL00xxxx Rev 1 0 ii...