简介:
脉冲触发器,可以配合激光器使用。通过Gate信号连接激光器,控制激光器的出光频率,出光次数。
1.介绍
1.测试
![](https://i-blog.csdnimg.cn/blog_migrate/e710e9b4c9a55af28c573dd733314d32.png)
2.协议
NO. | Command Code | Description |
1 | P0 | Diode Do Not Pump(启动) |
2 | P1 | Diode Pump(关闭) |
3 | F50 | Laser Frequency 50Hz(频率) |
4 | G0 | Point Shot(出光一次) |
5 | M100 | 100 Times Point Shot(出光次数) |
6 | G1 | Continuous Shot(一直出光) |
7 | S | Start Shot(开始出光) |
8 | RP | Check Pump Status(检查状态) |
9 | RF | Check Current Frequency(检测频率) |
10 | RG | Check Signal Type(Point or Continuous)(检测出光模式) |
11 | T | Stop Shot(停止出光,出光一次时自动停止,无需此操作) |
2.使用
1.Shot举例
private bool BGShot()
{
string str = "S" + CarriageReturn;
string rec;
bool result = false;
if (SendData(str, out rec, 1000))
{
result = rec.Contains(str);
}
return result;
}