AnsweredAssumed Answered

vrf More Dynamic Objects & Properties PURE VEE

Question asked by ramarquardt on Jun 4, 2003
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META http-equiv=Content-Type content="text/html; charset=us-ascii"><META content="MSHTML 6.00.2800.1141" name=GENERATOR><STYLE><!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal     {margin:0cm;     margin-bottom:.0001pt;     font-size:12.0pt;     font-family:"Times New Roman";}a:link, span.MsoHyperlink     {color:blue;     text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed     {color:purple;     text-decoration:underline;}span.EmailStijl17     {font-family:Arial;     color:windowtext;}@page Section1     {size:595.3pt 841.9pt;     margin:70.85pt 70.85pt 70.85pt 70.85pt;}div.Section1     {page:Section1;}--></STYLE></HEAD><BODY lang=NL vLink=purple link=blue><DIV style="FONT: 10pt Courier New">Hello Hugo, </DIV><DIV style="FONT: 10pt Courier New"> </DIV><DIV style="FONT: 10pt Courier New">nice to meet you here as a new listmember.</DIV><DIV style="FONT: 10pt Courier New"> </DIV><DIV style="FONT: 10pt Courier New">If your vee program does not know with howmany bytes your device responds how do you know by yourself when it isfinished sending data?</DIV><DIV style="FONT: 10pt Courier New"> </DIV><DIV style="FONT: 10pt Courier New">Perhaps it would be helpful to read one byteafter another and reassemble them in vee.</DIV><DIV style="FONT: 10pt Courier New"> </DIV><DIV style="FONT: 10pt Courier New"><DIV><DIV>best regards,</DIV><DIV> </DIV><DIV>G. Nied</DIV><DIV> </DIV><DIV>-------------------------------------------------------------------------</DIV><DIV>Georg Nied  - Software-Development - Hansestr.7 -51149 Cologne - Germany</DIV><DIV>Tel: +49 2203 9770915 - Fax: +49 2203 9770924 - eMail:<Ahref="mailto:info@gn-software.de">info@gn-software.de</A></DIV><DIV>-------------------------------------------------------------------------</DIV></DIV><DIV> </DIV></DIV><DIV style="FONT: 10pt Courier New"> </DIV><BLOCKQUOTEstyle="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">  <TABLE  style="BORDER-LEFT-WIDTH: 0px; BORDER-LEFT-COLOR: #efefef; FONT: 10pt Arial; COLOR: black; BORDER-TOP-COLOR: #efefef; BORDER-BOTTOM: #efefef 0px; BORDER-RIGHT-WIDTH: 0px; BORDER-RIGHT-COLOR: #efefef"  cellSpacing=0 cols=2 cellPadding=0 width="99%" bgColor=#dfdfdf border=0>    <TBODY>    <TR borderColor=#dfdfdf borderColorLight=#dfdfdf bgColor=#dfdfdf>      <TD style="PADDING-LEFT: 4px; PADDING-BOTTOM: 3px; PADDING-TOP: 3px"      width=120>        <DIV style="FONT: bold 9pt Arial">Original        Message      </DIV></TD>      <TD align=right>        <DIV style="FONT: 8pt Arial"><STRONG><FONT color=#808080> processed        by Tobit InfoCenter</FONT></STRONG> </DIV></TD></TR>    <TR style="PADDING-BOTTOM: 2px" bgColor=#efefef>      <TD style="PADDING-LEFT: 4px" width=80 bgColor=#efefef>        <DIV style="FONT: bold 9pt Arial">Subject: </DIV></TD>      <TD bgColor=#efefef><FONT face=Arial,Helvetica><FONT size=-1>[vrf] No        read terminator symbol RS232 communication (05-Jun-2003        13:33)</FONT></FONT></TD></TR>    <TR style="PADDING-BOTTOM: 2px" bgColor=#efefef>      <TD style="PADDING-LEFT: 4px" width=80 bgColor=#efefef>        <DIV style="FONT: bold 9pt Arial">From:    </DIV></TD>      <TD bgColor=#efefef><FONT face=Arial,Helvetica><FONT size=-1><A        href="mailto:TKIP@gastec.nl">TKIP@gastec.nl</A></FONT></FONT></TD></TR>    <TR style="PADDING-BOTTOM: 4px" bgColor=#efefef>      <TD style="PADDING-LEFT: 4px" width=80 bgColor=#efefef>        <DIV        style="FONT: bold 9pt Arial">To:      </DIV></TD>      <TD><FONT face=Arial,Helvetica><FONT size=-1><A        href="mailto:vrf@it.lists.it.agilent.com">vrf@it.lists.it.agilent.com</A></FONT></FONT></TD></TR></TBODY></TABLE>  <DIV> </DIV>  <DIV class=Section1>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">Hello everyone,</SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">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.</SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">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.</SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">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. </SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">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.</SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">This is due to the fact that the read terminator,  which must be filled in, is different for every single  response.</SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">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.</SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">Thanks in advance,</SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">Hugo Renkema</SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt">Email: tkip@gastec.nl</SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB  style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>---<BR>You are currently  subscribed to vrf as: g.nied@gn-software.de<BR>To subscribe send a blank email  to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to  "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com". <BR>If you need help with the mailing  list send a message to "owner-vrf@it.lists.it.agilent.com".</BLOCKQUOTE>---<BR>You are currently subscribed to vrf as: rsb@soco.agilent.com<BR>To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".<BR>To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".<BR>To send messages to this mailing list,  email "vrf@it.lists.it.agilent.com".  <BR>If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".</BODY></HTML>  

Outcomes