Usb Device Control; Openbyindex; Getcount; Init - 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-1 USB Device Control

1)OpenByIndex

Opens HL-C2 by a device No.
HLC2_STATUS HLC2_OpenByIndex(DWORD dwIndex,
Argument
DWORD dwIndex
2
HLC2_HANDLE *hlc2Handle
Return value
Returns HLC2_OK if normal end.
Summary
Loads a device handle by using an index of acquired device connection
number.

2)GetCount

Acquires connection number of HL-C2.
HLC2_STATUS HLC2_GetCount(LPDWORD lpCount)
Argument
LPDWORD lpCount
Return value
Returns HLC2_OK if normal end.

3)Init

Initializes specified device.
HLC2_STATUS HLC2_Init(HLC2_HANDLE hlc2Handle);
Argument
HLC2_HANDLE hlc2Handle
Return value
Returns HLC2_OK if normal end.
HLC2_HANDLE *hlc2Handle)
Index of device connection number
(Select among 0 to device connection
number -1)
Handle storing variable pointer
Variable pointer for storing connection
number of HL-C2 device
Handle
2-14

Advertisement

Table of Contents
loading

Table of Contents