Execmemchange; Execmemcopy - 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

3)ExecMemChange

System setting [memory change]
Specifies a memory No., and then executes [Memory change] / loads its status.
HLC2_STATUS HLC2_ExecMemChange(HLC2_HANDLE hlc2Handle, DWORD
dwIO, LPDWORD lpMemNo, BYTE bccFlg)
Argument
HLC2_HANDLE hlc2Handle
DWORD dwIO
LPDWORD lpMemNo
BYTE bccFlg
Return value
Returns HLC2_OK if normal end.
If a memory switchover which changes the sampling cycle setting to more than
10μs
20μs is executed, the USB of the controller will be reset. To
continuously use the USB device after such a memory switchover, reconnect
following the USB device Close and Open procedures.
USB Close Function : HLC2_Close()
USB Open Function : HLC2_OpenByIndex(), HLC2_Open()

4)ExecMemCopy

System setting [Memory copy]
Specifies copy source and copy destination, and then execute [Memory copy].
HLC2_STATUS HLC2_ExecMemCopy(HLC2_HANDLE hlc2Handle,
HLC2_MEMCOPY *pMemCopy, BYTE bccFlg);
Argument
HLC2_HANDLE hlc2Handle
HLC2_MEMCOPY *pMemCopy
pMemCopy->SetMemFrom
pMemCopy->SetMemTo
pMemCopy-> MemCopyCom
BYTE bccFlg
Return value
Returns HLC2_OK if normal end.
If a memory copy which changes the sampling cycle setting to more than 10μs
↔ 20μs is executed on the currently specified memory, the USB of the
controller will be reset. To continuously use the USB device after such a
memory copy, reconnect following the USB device Close and Open procedures.
USB Close Function : HLC2_Close()
USB Open Function : HLC2_OpenByIndex(), HLC2_Open()
Chapter 2 API Function Specifications
Handle of device
Selects IO. (0: status load, 1: execute)
Variable pointer for storing memory
change No.*
* Memory change No.:
*lpMemNo = 0 to 15
Selects BCC addition
(0:BCC omit, 1:BCC add)
Handle of device
Pointer of stored destination for copy source
memory, copy destination memory, and copy
command setting structure
Copy source memory No.(0 to 15) (in)
Copy destination memory No. (0 to 15) (in)
Memory copy command
0: No command,
1: Execute
Selects BCC addition
(0:BCC omit, 1:BCC add)
2-53
2

Advertisement

Table of Contents
loading

Table of Contents