AnsweredAssumed Answered

vrf corrupted file

Question asked by daras Employee on Jan 28, 2004
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 11 (filtered medium)"><!--[if !mso]><style>v:* {behavior:url(#default#VML);}o:* {behavior:url(#default#VML);}w:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}</style><![endif]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="country-region"/><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/><!--[if !mso]><style>st1:*{behavior:url(#default#ieooui) }</style><![endif]--><style><!-- /* Font Definitions */ @font-face     {font-family:Tahoma;     panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal     {margin:0in;     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;}p     {mso-margin-top-alt:auto;     margin-right:0in;     mso-margin-bottom-alt:auto;     margin-left:0in;     font-size:12.0pt;     font-family:"Times New Roman";}span.EmailStyle18     {mso-style-type:personal-reply;     font-family:Arial;     color:navy;}@page Section1     {size:8.5in 11.0in;     margin:1.0in 1.25in 1.0in 1.25in;}div.Section1     {page:Section1;}--></style></head><body lang=EN-US link=blue vlink=purple><div class=Section1><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>I have also seen this problem happen inlarge VEE files.  The best way to avoid this problem is to break up yourtest program into smaller, more manageable libraries that a small main programloads and runs.  This is a good programming practice anyway and itsignificantly reduces the chance of this problem happening.  If you takethis more modular approach to designing and writing your code, even if such aproblem occurred, it would only affect a smaller file, which can betrouble-shot or replaced easier.<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Dara Sariaslani<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Measurement Scientist,<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Component Test Division<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'>Agilent Technologies<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p><div><div class=MsoNormal align=center style='text-align:center'><font size=3face="Times New Roman"><span style='font-size:12.0pt'><hr size=3 width="100%" align=center tabindex=-1></span></font></div><p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Ivan Edwards[mailto:ie@irisys.co.uk]
<b><span style='font-weight:bold'>Sent:</span></b> Monday, January 26, 20047:21 AM
<b><span style='font-weight:bold'>Subject:</span></b> corrupted file</span></font><o:p></o:p></p></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p><div><p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Over the past two years I have developed a test programwhich has grown to over 3Mbyte in size and there are many tens ofuser objects and user functions in it.  Of late I have had the oddinstance of the dreaded red 'corrupted file' screen occurring during operationof the .vxe.  I have found on investigation that a small user functionwritten long ago now has a strange behaviour.  Some functions within ithave missing connections at their input, yet they continue to work!  Alsothe main output of the user function cannot be deleted without the corruptedfile' screen coming up.  Looking back through earlier versions it appearsto have crept in about 6 versions ago without any warning that I canrecollect.  I have deleted the user function and copied in a newversion.  For the moment I believe all is well, though time will tell asthe corrupted version worked OK 99% of the time anyway.</span></font><o:p></o:p></p></div><div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p></div><div><p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>My question is, how can I be sure that there aren't othernasties like this buried somewhere in my program?  Has anyone similarstories to tell?  What could I do differently to make sure corruptionsdon't take place or at least are spotted as soon as they do occur?</span></font><o:p></o:p></p></div><p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Ivan Edwards</span></font> <o:p></o:p></p><p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Senior Engineer,</span></font>
<font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>InfraRedIntegrated Systems Ltd.,</span></font>
<font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>TowcesterMill,</span></font>
<font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Towcester,</span></font>
<font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Northants(<st1:country-region w:st="on"><st1:place w:st="on">UK</st1:place></st1:country-region>).</span></font>
<font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>NN126AD.</span></font> <o:p></o:p></p><p><font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Tel:   +44 (0)1327 357824</span></font>
<font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Fax:  +44 (0)1327 357825</span></font>
<font size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>Website:www.irisys.co.uk</span></font> <o:p></o:p></p></div>---<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".<BR>Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!</BODY></html>  

Outcomes