📄 rs232resp.bas
字号:
Attribute VB_Name = "Module1"
Public theCommPort As Integer ' 1 is COMM1, 2 is COMM2
Static Sub DOCMD(commCtrl As MSComm, CMD As String)
'
' Execute the user's command or query
'
Dim ESRResponse As String
'
' Send the command or query to the scope and print the number of
' characters sent
'
Call RS232WRITE(commCtrl, CMD)
frmtl.lblWriteResponse.Caption = Str(Len(CMD)) + " character(s) sent."
' We can't get the at instruments status bits so will just wait a bit.
Call WaitABit(1)
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -