登录
首页 串口通信 串口通信
回帖 发帖
正文

主题:如果用VB來發送GPIB命令跟機器通信

点击:1664 回复:0

如發送 *RST 到機子的話是不是直接:
    MSComm1.Settings = "9600,n,7,1"
If MSComm1.PortOpen <> True Then
MSComm1.PortOpen = True
End If
  MSComm1.Output ="*RST"  
strinput = MSComm1.Input
Text2.Text = strinput
End Sub
07-02-05 16:03

工控新闻

更多新闻资讯