Getbufferdatanormal - Panasonic HL-C2 Series User Manual

Ultra high-speed, high-accuracy laser displacement sensor
Hide thumbs Also See for HL-C2 Series:
Table of Contents

Advertisement

14)GetBufferDataNormal

Executes buffering setting [Data readout (normal)].
HLC2_STATUS HLC2_GetBufferDataNormal(HLC2_HANDLE hlc2Handle,
DWORD dwOut, HLC2_BUFFERNORMAL *pBufferNormal , BYTE
bccFlg)
Argument
HLC2_HANDLE hlc2Handle
DWORD dwOut
HLC2_BUFFERNORMAL *pBufferNormal
BYTE bccFlg
Return value
Returns HLC2_OK if normal end.
Remarks
The size of the memory area where the data loaded by data readout (normal)
command are stored is provided in the following calculating formula. Secure
or release the storage memory in API invoker side.
(End point -Top point +1)×11
* Readout data size of each point
decimal point + 6-digit decimal number)
· For reading buffering code by calculating BCC cord, perform one reading
every 400 points.
· In case of omitting BCC code calculation, up to 64000 points can be read.
Chapter 2 API Function Specifications
Handle of device
Specifies output. (OUT1 or OUT2)
Pointer of stored destination for
buffering data structure loaded by data
readout (normal) command
pBufferNormal->TopPoint
Top point (00001 to 99999) (in)
pBufferNormal->EndPoint
End point (00001 to 99999) (in)
pBufferNormal->pGetData
Pointer of stored area of normal
read data
(1-digit sign + 3-digit integer
(no zero suppression) + decimal point +
6-digit decimal number)
Selects BCC addition
(0:BCC omit, 1:BCC add)
*
(1-digit sign + 3-digit integer (no zero suppression) +
2-65
2
(out)

Advertisement

Table of Contents
loading

Table of Contents