谢谢刘工!我本来打算用vb编写,但是不支持,所以后来改为用vs2015内的vB.net做上位机来控制此卡,用的控件是galil.dll,现在的问题是,可以连接上,但是不运动,只能听到吱吱的响一声就没了。相关代码如下,请刘工给看看是不是代码有不对的地方呢?
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
Timer1.Enabled = True
Timer1.Interval = 100
g.address = ""
If (g.connection()) Then
Timer1.Enabled = False
End If
End Sub
Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
g.command("SP 100")
g.command("PA5000")
g.command("BGA")
End Sub
回复内容:
对: 刘岩利 dmcwin也好,wsdk也好,都不能完善的识别、支持... 内容的回复!