GrabBag/SDK/Device/VzNLSDK/_Inc/VZNL_Customer.h
2026-03-17 22:27:58 +08:00

27 lines
821 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef __VIZUM_CUSTOMER_HEADER__
#define __VIZUM_CUSTOMER_HEADER__
#include "VZNL_Export.h"
#include "VZNL_Types.h"
/**
* @brief 设置数据采集间隔
* @param [in] hDevice 设备句柄
* @param [in] nCaptureInterval 采集间隔
* @return 成功返回0否则为其他错误码
*/
VZNLAPI int VzNL_SetLaserCaptureInterval(VZNLHANDLE hDevice, unsigned int nCaptureInterval);
VZNLAPI int VzNL_GetLaserCaptureInterval(VZNLHANDLE hDevice, unsigned int* pnCaptureInterval);
/**
* @brief 设置数据扫描长度,当扫描达到指定长度后,自动停止扫描。
* @param [in] hDevice 设备句柄
* @param [in] nDistance 扫描长度,单位毫米(mm)
* @return 成功返回0否则为其他错误码
*/
VZNLAPI int VzNL_SetLaserCaptureDistance(VZNLHANDLE hDevice, double dDistance);
VZNLAPI int VzNL_GetLaserCaptureDistance(VZNLHANDLE hDevice, double* dnDistance);
#endif