最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【记录】下载试用HART协议分析工具FrameAlyst

HART crifan 5201浏览 0评论

【背景】

得知有个叫FrameAlyst的HART协议分析工具。

现在打算去试试。

【折腾过程】

1.去找到主页中的下载页面:

http://borst-automation.com/downloads/downloads.htm

然后看到FrameAlyst是HartTools中的一部分。

所以要先去下载HartTools。

当然系统是win7 x64,所以去下载64位的:

HartTools 7.2-64 Setup (.msi)

2.然后去安装Setup_HartTools_7.2-64.msi:

welcome to the hart tools 7.2 setup wizard

hart tools 7.2 select installation folder

hart tools 7.2 setup ready to install

hart tools 7.2 setup installing hart tools

hart tools completing the hart tools 7.2 setup wizard

3.然后看看帮助文件:

C:/Borst Automation/Hart Tools 7.2/ReadMe_HartTools.htm

Hart Tools Version Update Information

Version 7.2.0, July 8th, 2012

        hart tool 7.2 structure  and explanation          
         
         

Visual Studio Requirements

The examples are based on Visual Studio 2010.

Using the DLL

When using the DLL the first call to the DLL has to be a call of the function BHDrv_ValidateLicense.

HartDLL.BHDrv_ValidateLicense(new StringBuilder("Valid User Name"),
               new StringBuilder("Valid License Key"));

The correct user name and the license key are provided in the user license certificate.

HartDLL 7.2

This is the first release of the Hart driver to this base version. 7.2 is the second migration in the direction of Hart 6 and Hart 7.

Target 64 Bit

The DLL and the example applications are fully compatible to 32 bit and 64 bit.

4.然后再去看看软件如何使用。

注:

由于当前台式机(竟然)没有串口,只能用USB转串口了:

先用USB转串口弄出来对应的COM7

usb to serial FDTI port com7

(上面被禁用了)

所以再去启用:

enalbe usb to serial com7

然后,再接到HART猫上。

HART猫再接到HART设备上。

5.启动FrameAlyst 7.2软件

framealyst 7.2 desktop icon

会有提示:

trial version notice for framealyst

启动后,FrameAlyst主界面:

framealyst 7.2 for hart main ui

6.再去看使用说明:

http://borst-automation.com/Hart-Tools/FrameAlystNotes/FrameAlystNotes.htm

去配置:

framealyst setting communication

然后设置为COM7:

active role for com port com7 and master

然后就可以看到启用OK了:

com7 monitoring active master emulator active

7.然后再去扫描HART设备:

services searchdevice

此时,由于物理上没连接到HART设备,所以没扫描到设备:

all channel response no data

去接上那个HART设备:Yamatake DSTJ300

然后再去扫描:

就可以找到设备了:

can found the com9 response data contain valid data

对应的,cmd0,有返回数据,而且看起来就是正常的数据。

注:该cmd 0所返回的数据,后续可以用程序去解码,而得到人类可读的信息的。

【总结】

如此,就可以完成用FrameAlyst去调试HART设备了。

转载请注明:在路上 » 【记录】下载试用HART协议分析工具FrameAlyst

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
90 queries in 0.179 seconds, using 22.12MB memory