开发者

software developed in vb.net hanging and it is giving exceptions

software developed in vb.net(communicating with serialport) hanging and it is giving these rexceptions

1.The device does not recognize the command

2.Unhandled开发者_运维百科 exception has occurred in your application. If you click continue, the application will ignore this error and attempt to continue. if you click Quit, the application will close immediatly. The device does not recognize the command..


I assume your question is incomplete. Please provide your code and the serialport library you use.

If you use .NET 2.0 (and above) System.IO.Ports.SerialPort, the exception is clearer and it's more device independent as long as you are communicating over serial port. If you don't, then the exception isn't clear and can be too broad or too specific for specific devices.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜