<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD><BODY><DIV><FONT face=Arial size=2><SPAN class=113370815-26012004>Over the past two years I have developed a test program which has grown to over 3Mbyte in size and there are many tens of user objects and user functions in it. Of late I have had the odd instance of the dreaded red 'corrupted file' screen occurring during operation of the .vxe. I have found on investigation that a small user function written long ago now has a strange behaviour. Some functions within it have missing connections at their input, yet they continue to work! Also the main output of the user function cannot be deleted without the corrupted file' screen coming up. Looking back through earlier versions it appears to have crept in about 6 versions ago without any warning that I can recollect. I have deleted the user function and copied in a new version. For the moment I believe all is well, though time will tell as the corrupted version worked OK 99% of the time anyway.</SPAN></FONT></DIV><DIV><FONT face=Arial size=2><SPAN class=113370815-26012004></SPAN></FONT> </DIV><DIV><FONT face=Arial size=2><SPAN class=113370815-26012004>My question is, how can I be sure that there aren't other nasties like this buried somewhere in my program? Has anyone similar stories to tell? What could I do differently to make sure corruptions don't take place or at least are spotted as soon as they do occur?</SPAN></FONT></DIV><P><FONT face="Courier New" size=2>Ivan Edwards</FONT> </P><P><FONT face="Courier New" size=2>Senior Engineer,</FONT> <BR><FONT face="Courier New" size=2>InfraRed Integrated Systems Ltd.,</FONT> <BR><FONT face="Courier New" size=2>Towcester Mill,</FONT> <BR><FONT face="Courier New" size=2>Towcester,</FONT> <BR><FONT face="Courier New" size=2>Northants (UK).</FONT> <BR><FONT face="Courier New" size=2>NN12 6AD.</FONT> </P><P><FONT face="Courier New" size=2>Tel: +44 (0)1327 357824</FONT> <BR><FONT face="Courier New" size=2>Fax: +44 (0)1327 357825</FONT> <BR><FONT face="Courier New" size=2>Website: www.irisys.co.uk</FONT> <BR></P>---<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>
> Has anyone tried to use XML in VEE?
No I haven't, but I also plan on it. I was planning on using the Microsoft
XML ActiveX library (Device->ActiveX Automation References..., Microsoft
XML). I haven't a clue how to use this thing though, and it looks fairly
complex. I also can't (at the moment) find any information on where it comes
from or what it's licensing requirements are. I should be getting into this
"Real Soon Now", like in about a month I think.
For simplicity, you might consider using the XML library Agilent published
on the VEE Days companion disk. It dumps type Record to an XML file. It
can't go the other way, but it shouldn't be too god awful hard to do it. It
would involve reading the object description, building a Dataset template
and parsing XML record objects into place in the Dataset template. Save the
template, load it with From Dataset and you should be in business.
-SHAWN-
---
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@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!
I have doen it brute force with 3 user functions. I send the field name as
one variable and the data as another and just write them to the disk. I use
a formula box to add the <fieldname> and </fieldname> before and after. It
isn't elligant but it does work well. Sorry no example but I am on vacation
for 3 more weeks and of course the example is at work. The biggest problem I
ran into was where there are multiple layers and I would forget to close one
of them. The three functions were openfield, data and close field. As you
can see I also get VRF here at home if this was not clear.
Mark
-----Original Message-----
From: Shawn Fessenden [mailto:shawn@testech-ltd.com]
Sent: Friday, January 23, 2004 12:55 PM
To: VRF
Subject: [vrf] RE: XML in VEE
Jim,
> Has anyone tried to use XML in VEE?
No I haven't, but I also plan on it. I was planning on using the Microsoft
XML ActiveX library (Device->ActiveX Automation References..., Microsoft
XML). I haven't a clue how to use this thing though, and it looks fairly
complex. I also can't (at the moment) find any information on where it comes
from or what it's licensing requirements are. I should be getting into this
"Real Soon Now", like in about a month I think.
For simplicity, you might consider using the XML library Agilent published
on the VEE Days companion disk. It dumps type Record to an XML file. It
can't go the other way, but it shouldn't be too god awful hard to do it. It
would involve reading the object description, building a Dataset template
and parsing XML record objects into place in the Dataset template. Save the
template, load it with From Dataset and you should be in business.
-SHAWN-
---
You are currently subscribed to vrf as: mrgold@pacbell.net
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@agilent.com".
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible
inclusion in VEE 7.0!
---
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@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!
immensely when I get around to this.
-SHAWN-
---
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@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Send your favorite VEE example to "VRF-EXAMPLES@agilent.com" for possible inclusion in VEE 7.0!