是德科技
直播中

卢颖萍

8年用户 108经验值
私信 关注
[问答]

怎么使用VEE与RS232热板通信

嗨,我打算使用VEE通过RS-232与EchoTherm可编程数字热板型号HS40进行通信
这不是符合IEEE-488的设备,因此不响应像“* IDN?”这样的SCPI命令。
它仅使用简单的单字母ASCII命令,如“a”,“B”或“c”。
我已经使用USB-RS232电缆(COM4)和Windows Hyperterminal程序成功地与热板通信,具有以下设置:2400个Bauds,8个数据位,1个停止位和无奇偶校验。
我的问题是如何让VEE通过RS232与这个热板通信?
:?:我尝试将I-O库使用了Instrument Manager,但没有成功。
Agilent I / O库甚至无法检测到热板。谢谢您的帮助!

以上来自于谷歌翻译


     以下为原文

  Hi, I'm planning to use VEE to communicate to a EchoTherm Programmable Digital Hot Plate Model HS40 via RS-232. This is not a IEEE-488 compliant device and therefore doesn't respond to SCPI commands like "*IDN?". It uses only simple single-lettered ASCII commands like "a", "B" or "c". I have successfully communicated with the hot plate using a USB-RS232 cable (COM4) and Windows Hyperterminal program with the following settings: 2400 Bauds, 8 Data Bits, 1 Stop Bit and No Parity.

My question is how do I get VEE to communicate with this hot plate via RS232?  :?: I have tried using Instrument manager with I/O Libraries but wasn't successful. The Agilent I/O library couldn't even detect the hot plate.

Thanks for your help!

回帖(4)

李麒

2019-3-20 10:45:40
如果Agilent I / O库无法看到热板,我想VEE也无法检测到它。
要继续使用VEE,我会考虑使用Active-X或.NET。
我还没有使用它进行串行编程,没有太多关于使用哪个DLL /类的提示。
祝你好运。

以上来自于谷歌翻译


     以下为原文

  If Agilent I/O library is not able to see the hot plate, I guess VEE won't be able to detect it as well.
To continue to use VEE, I would think to use Active-X or .NET then. I have not did serial programming using that yet, not much hints on which DLL/class to use. Good luck.
举报

卢兰凤

2019-3-20 10:59:13
我用RS232转盘做了类似的事情。
即使不符合IEEE标准,VEE仍应能够向设备发送命令。
我遇到的唯一问题是确保在VEE中的设备配置中正确设置了所有较低级别的串行端口设置,并且正确设置了终止字符。

以上来自于谷歌翻译


     以下为原文

  I've done something similar with a RS232 turntable.  VEE should be able to still send commands to the device even though it is not IEEE compliant.  The only issues I ran into was making sure all the lower level serial port settings were set properly in the device configuration in VEE and that the termination characters were set properly.
举报

卢颖萍

2019-3-20 11:14:23
感谢你的回复,Mei Kuan和Odanzy!Odanzy,您使用什么VEE编程模块与RS-232交谈?

以上来自于谷歌翻译


     以下为原文

  Thanks for the replies, Mei Kuan and Odanzy!

Odanzy, what VEE programming blocks did you use to talk to the RS-232?
举报

卢兰凤

2019-3-20 11:22:01
我主要使用DirectIO块。
关键是确保设备在VEE中的属性(例如波特率,奇偶校验等)与设备所需的设置相匹配。

以上来自于谷歌翻译


     以下为原文

  I mainly used DirectIO blocks.  The key was making sure that the device's properties in VEE (e.g. baud rate, parity, etc...) matched the settings required by the device.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分