<font size=2 face="sans-serif">Hello Hugo,</font>
<font size=2 face="sans-serif">Your welcome. I owe a lot things from great regular VRF contributors (Shaw Fessenden, G.Nied,Bill Osmann,M.Watts, all vrf good guys). If you have solutions to VRF posted problems in the future, feel free to help too!</font>
<font size=2 face="sans-serif">To answer your question:</font>
<font size=2 face="sans-serif">You can get the interface event from:</font>
<font size=2 face="sans-serif">I/O -->ADVANCE I/O-->INTERFACE EVENT</font>
<font size=2 face="sans-serif">Regards. </font>
<font size=2 face="sans-serif">Ronald G. Padua
+++++++++++++++++++++++++++++++++
Failure Analysis Engineer
CBE Customer Returns Analysis Group
Continental Temic Philippines
Bagsakan Road, FTI Estate
1630 Taguig,Metro Manila, Philippines
+++++++++++++++++++++++++++++++++
Fax/Phone: (++632)8384195
E-mail: ronald.padua@temic.com</font>
<table width=100%><tr valign=top><td><td><font size=1 face="sans-serif"><b>"Hugo Renkema" |TKIP@gastec.nl></b></font><p><font size=1 face="sans-serif">06/05/2003 08:28 PM</font>
<td><font size=1 face="Arial"> </font>
<font size=1 face="sans-serif"> To: |Ronald.Padua@temic.com></font>
<font size=1 face="sans-serif"> cc: </font>
<font size=1 face="sans-serif"> Subject: RE: [vrf] Re: No read terminator symbol RS232 communication</font></table>
<font size=2 color=#000080 face="Arial">Hello Ronald,</font>
<font size=2 color=#000080 face="Arial"> </font>
<font size=2 color=#000080 face="Arial">The example you send to me worked fine!! Big thank-you for that.</font>
<font size=2 color=#000080 face="Arial"> </font>
<font size=2 color=#000080 face="Arial">Only one question left, where did you this "Interface Event"?? I searched through the functions list, but not Interface Event there.</font>
<font size=2 color=#000080 face="Arial"> </font>
<font size=2 color=#000080 face="Arial">Regards,</font>
<font size=2 color=#000080 face="Arial"> </font>
<font size=2 color=#000080 face="Arial">Hugo Renkema</font>
<font size=2 color=#000080 face="Arial"> </font>
<font size=2 face="Tahoma">-----Oorspronkelijk bericht-----<b>
Van:</b> Ronald.Padua@temic.com [mailto:Ronald.Padua@temic.com] <b>
Verzonden:</b> donderdag 5 juni 2003 14:08 <b>
Aan:</b> VEE vrf<b>
Onderwerp:</b> [vrf] Re: No read terminator symbol RS232 communication<b>
Urgentie:</b> Hoog</font>
<font size=3 face="Times New Roman"> </font>
<font size=2 face="sans-serif">
Hello Hugo,</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif">
Try running the attach sample inside your VEE program. You can seek more info about the involve objects on VEE help facility.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif">
Regards.</font><font size=3 face="Times New Roman">
</font><font size=2 face="sans-serif">
Ronald G. Padua
+++++++++++++++++++++++++++++++++
Failure Analysis Engineer
CBE Customer Returns Analysis Group
Continental Temic Philippines
Bagsakan Road, FTI Estate
1630 Taguig,Metro Manila, Philippines
+++++++++++++++++++++++++++++++++
Fax/Phone: (++632)8384195
E-mail: ronald.padua@temic.com</font>
---You are currently subscribed to vrf as: rsb@soco.agilent.comTo subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Hello Hugo,
If the protocol has, as you say, the number of bytes in the header
(viz A packet size indicator),
then assuming the header is always a fixed number of bytes,
you first do a binary read of the standard number of bytes
for the header then parse that and compute how many more
bytes to read, then do a binary read for that number of bytes
and Voila'....
We have a bit more complex protocol to deal with here, DF1.
Which has no packet size indicator, the packet starts with
an escape sequence and ends with an escape sequence,
so we have to read it one byte at a time and have to analyze
each byte as it comes in (a real royal pain - but the PC's
are pretty fast today so it is not very noticeable).
Regards
....Rob
"Hugo Renkema" <TKIP@gastec.nl> on 06/05/2003 06:33:38 AM
Please respond to "Hugo Renkema" <TKIP@gastec.nl>
To: "VEE vrf" <vrf@it.lists.it.agilent.com>
cc:
Subject: [vrf] No read terminator symbol RS232 communication
Hello everyone,
This is my first post in the vrf Mailing List. I hope my problem is
explained well, if not; feel free to ask for more information.
I am using HP-VEE 6.01 to communicate with a device via RS232. The protocol
by which the communication takes place has no EOL-symbol. The message-body
does contain a NoB (Number of Bytes) which indicates the length of the
message.
When sending commands from PC to this device, this is not a problem in
HP-VEE. The problem occurs when the device sends back a response. This
response also has no EOL-symbol. Therefore HP-VEE doesn't know when the
total message is received.
This results in the fact that the response is shown in the BUS I/O MONITOR,
but not available with a read-command in a DIRECT IO component.
This is due to the fact that the read terminator, which must be filled in,
is different for every single response.
The question is simple (and hopefully the answer too). How to read a
string, obtained from a COM-port, using HP-VEE when the last byte of the
message is unknown.
Thanks in advance,
Hugo Renkema
Email: tkip@gastec.nl
---
You are currently subscribed to vrf as: ramarquardt@ra.rockwell.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email
"vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@it.lists.it.agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".