AnsweredAssumed Answered

vrf AW: From String Error?

Question asked by VRFuser on Jun 8, 2004
<!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.2600.0" name=GENERATOR><STYLE>@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }P.MsoNormal {     FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}LI.MsoNormal {     FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}DIV.MsoNormal {     FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"}A:link {     COLOR: blue; TEXT-DECORATION: underline}SPAN.MsoHyperlink {     COLOR: blue; TEXT-DECORATION: underline}A:visited {     COLOR: purple; TEXT-DECORATION: underline}SPAN.MsoHyperlinkFollowed {     COLOR: purple; TEXT-DECORATION: underline}SPAN.EmailStyle17 {     COLOR: windowtext; FONT-FAMILY: Arial}DIV.Section1 {     page: Section1}</STYLE></HEAD><BODY lang=EN-US vLink=purple link=blue><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>Dear Paul,</FONT></SPAN></DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>I know this. Unfortunately this is a real VEE error which currently is evaluated at Agilent. This problem occured to me during the development phase of a big application. As I could not fix it, I disabled this function and continued with other parts. Finally I just activated again this function and it worked. One year later after successful usage of the VEE application, I amended the application by some graphics functions, which I imported from a library. Just importing the library activated the error again.</FONT></SPAN></DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>I found the following work around:</FONT></SPAN></DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>At the input to the FromString I inserted a formula object with the following formula: A+"
".</FONT></SPAN></DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>Hope, this helps</FONT></SPAN></DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>Hans-Joachim</FONT></SPAN></DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2></FONT></SPAN> </DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>ESF GmbH</FONT></SPAN></DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>Brennerweg 7</FONT></SPAN></DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>89143 Blaubeuren</FONT></SPAN></DIV><DIV><SPAN class=997181810-09062004><FONT face=Arial color=#0000ff size=2>Germany</FONT></SPAN></DIV><BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma   size=2>-----Ursprüngliche Nachricht-----<BR><B>Von:</B> Ross, Paul   [mailto:paul.ross@thalescomminc.com]<BR><B>Gesendet:</B> Mittwoch, 9. Juni   2004 12:14<BR><B>An:</B> VRF<BR><B>Betreff:</B> [vrf] From String   Error?<BR><BR></FONT></DIV>  <DIV class=Section1>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Has anyone had problems with the   From String object. I am using it to convert a time of HH:MM:SS AM/PM to a 24   hour time without colons. For example I want </SPAN></FONT><FONT face=Arial   size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">7:23:59   PM</SPAN></FONT><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> to look like 192359. The attached   snippet of my program works as a stand alone program but gets the following   error when incorporated and run in my real application: </SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">--------------------------------------</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">End of file or no data   found</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In Transaction number   1</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Object title : From   String</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Object Type : From   String</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Error number:701</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">--------------------------------------</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In the real application the time   is read from a text file and then feed to the ConvertTime function. If I look   at the input to the From String object it has "</SPAN></FONT><FONT face=Arial   size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">7:23:59   PM</SPAN></FONT><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">". I thought the From String   object may have been corrupted and I deleted it and placed a new one...no   luck. Any thoughts?</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Running VEE version   6.01</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT> </P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Regards,</SPAN></FONT></P>  <P class=MsoNormal><FONT face=Arial size=2><SPAN   style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Paul </SPAN></FONT></P>  <P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN   style="FONT-SIZE: 12pt"></SPAN></FONT> </P></DIV>  <DIV>  <P>  <HR>  This email and any files transmitted with it are confidential and are intended   solely for the use of the individual or entity to whom they are addressed.   This communication represents the originator's personal views and opinions,   which do not necessarily reflect those of Thales Communications, Inc. If you   are not the original recipient or the person responsible for delivering the   email to the intended recipient, be advised that you have received this email   in error, and that any use, dissemination, forwarding, printing, or copying of   this email is strictly prohibited. If you received this email in error, please   immediately notify Administrator@Thalescomminc.com.<BR>  <P></P></DIV></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@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