Romilly's HART® and Fieldbus Message Board


[ Follow Ups ] [ Post Followup ] [ Back to top of Message Board ]

Re: can smbdy send me vb code for sending the HART Commannds

Message posted by Fup (fup@gmx.at : 88.116.228.10) on 26 July 2006 at 13:11:46.

in reply to: can smbdy send me vb code for sending the HART Commannds posted by kamal on 23 July 2005 at 05:06:37.

Maybe you will use something like this:

' Pre = 7x Chr(255)
' : FF FF FF FF FF FF FF 02 81 00 00 83
MSComm1.Output = Pre & Chr(2) & Chr(129) & Chr(0) & Chr(0) & Chr(131)

MSComm1.Input hold everything you want to read.
Don't forget to set RTreshold. I'm using the OnComm() event.

Cheers
Fup




Follow Ups:




Post a Followup

Name:
E-Mail:

Subject: Re: Re: can smbdy send me vb code for sending the HART Commannds

Comments:


[ Follow Ups ] [ Post Followup ] [ Back to top of Message Board ]