简介:
此款激光器的控制器支持串口通信,可指令控制。
介绍:
下载链接:https://download.csdn.net/download/c_gyl/11351080。
![](https://i-blog.csdnimg.cn/blog_migrate/52febf9cac741ecf6ff48af112d4f9d1.png)
![](https://i-blog.csdnimg.cn/blog_migrate/024dda1b0bb3355560fb64882e9f84a0.png)
![](https://i-blog.csdnimg.cn/blog_migrate/816027c4825c304b0d5f3729dafd6a97.png)
![](https://i-blog.csdnimg.cn/blog_migrate/7ac3882c73fefdb5bbceb77db65b805e.png)
使用:
- 使用前,需要设置Slit、能量、频率等。
- 出光前,使能出光,出光。不用时,需要关闭出光。
1.出光
//0-停止出光,空闲状态;1-使能出光;2-出光;
CString str;
str.Format(_T(";LC:FL 2\r\n"));
2.使能开光
//0-禁使能;1-使能;
CString str;
str.Format(_T(";LC:EN 1\r\n"));
3.能量设置
//三波长(波长类型、几个波长的依据是实际选型),分别是IR,GRN,DUV,0~1000
CString str;
str.Format(_T(";LC:BL %d,%d,%d\r\n"), IR, GRN, DUV);
4.光斑大小
//Slit大小,0.00~2500.00μm
CString str;
str.Format(_T(";LC:SP 1,%d,%d\r\n"), slitX, slitY);
5.出光模式
//0-连续;1-点射;2-burst;
CString str;
str.Format(_T(";LC:PM %d\r\n"), mode);
6.频率
//1-100 Hz
CString str;
str.Format(_T(";LC:RR %d\r\n"), rate);
7.光源
//0-不使用;1-Slit背光;
CString str;
str.Format(_T(";LC:IL 1,%d\r\n"), light);