Common Setting Command; Cmnsamplingcycle - 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

Chapter 2 API Function Specifications

2-2-4 Common Setting Command

1)CmnSamplingCycle

IO for common setting [Sampling cycle]
HLC2_STATUS HLC2_CmnSamplingCycle(HLC2_HANDLE hlc2Handle,
DWORD dwIO, LPDWORD lpCycle, BYTE bccFlg)
Argument
HLC2_HANDLE hlc2Handle
2
DWORD dwIO
LPDWORD lpCycle
BYTE bccFlg
Return value
Returns HLC2_OK if normal end.
If this setting is changed between 10μs ↔ 20μs or above, the USB of the
controller will be reset. To continuously use the USB device after such
changes, reconnect following the USB device Close and Open procedures.
USB Close Function : HLC2_Close()
USB Open Function : HLC2_OpenByIndex(), HLC2_Open()
Handle of device
Selects IO. (0: load (input), 1:setting (output))
Variable pointer for storing sampling
cycle selection* of load/setting target
* Sampling cycle selection:
*lpCycle = 0:10[μs]
1:20[μs]
2:40[μs]
3:100[μs]
4:200[μs]
Selects BCC addition
(0:BCC omit, 1:BCC add)
2-48
5:400[μs]
6:1[ms]
7:2[ms]

Advertisement

Table of Contents
loading

Table of Contents