AR500 User’s Manual
LLL00xxxx – Rev 1.0
33
If the device fails to be switched to continuous measurement transmission
mode, the function returns FALSE, otherwise the function returns TRUE.
10.10
Stop Measurement stream (RF60x_StopStream)
The function RF60x_StopStream switches the sensor from continuous
measurement transmission mode to the “request-response” mode:
Parameters:
hCOM
–
descriptor of the device obtained from function
RF60x_OpenPort or CreateFile;
bAddress
-
address of the device.
Returned value:
If the device fails to be stopped in the continuous data transmission mode, the
function returns FALSE, otherwise the function returns TRUE
10.11
Get Measurement Results from Stream
(RF60X_GetStreamMeasure)
The function RF60x_GetStreamMeasure reads data from the COM-port input
buffer which are received from RF603 sensor after successful execution of the
RF60xX_StartStream function. The data arrive in the buffer at a rate specified
in the RF603 sensor parameters. Since depth of the input buffer is limited to
1024 bytes, it is preferable to read data with periodicity equal to that specified
in the RF603 sensor parameters. The parameter
lpusValue
is identical to the
parameter
lpusValue
in the RF60x_Measure function.
Parameters:
hCOM
–
descriptor of the device obtained from function
RF60x_OpenPort or CreateFile;
lpusValue
-
pointer to USHORT/WORD-type variable containing the
result D.
Returned value:
If there are no data in the buffer, the function returns FALSE, otherwise the
function returns TRUE and fills the value
lpusValue.
BOOL RF60x_StartStream(
HANDLE
hCOM,
BYTE
bAddress
);
BOOL RF60x_GetStreamMeasure(
HANDLE
hCOM,
USHORT *
lpusValue
);
Содержание AccuRange AR500
Страница 4: ...AR500 User s Manual LLL00xxxx Rev 1 0 ii...