GrabBag/SDK/VzNLSDK/Inc/VZNL_ExtLaserLight.h

40 lines
1002 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.

/*
* Header: VZNL_ExtLaserLight.h
* Description: 外部激光器头文件
* Sample:
* Author: Mjw
* Date: 2023/10/16
*/
#ifndef __VIZUM_EXTLASERLIGHT_HEADER__
#define __VIZUM_EXTLASERLIGHT_HEADER__
#include "VZNL_Export.h"
#include "VZNL_Types.h"
/**
* @brief 获取外部激光器功率控制范围
* @param [in] hDevice 设备句柄
* @param [out] pnErrorCode 错误码,为nullptr时不返回
* @return 成功返回功率范围
*/
VZNLAPI SVzNLRange VzNL_GetExtLaserLightRange(VZNLHANDLE hDevice, int* pnErrorCode);
/**
* @brief 配置功率等级
* @param [in] hDevice 设备句柄
* @param [in] nLevel 功率等级
* @return 成功返回0否则为错误码。
*/
VZNLAPI int VzNL_SetLaserLightLevel(VZNLHANDLE hDevice, int nLevel);
/**
* @brief 获取功率等级
* @param [in] hDevice 设备句柄
* @param [out] pnErrorCode 错误码,为nullptr时不返回
* @return 成功返回当前激光功率等级
*/
VZNLAPI int VzNL_GetLaserLightLevel(VZNLHANDLE hDevice, int* pnErrorCode);
#endif //__VIZUM_EXTLASERLIGHT_HEADER__