ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
06-24-2002 12:53 PM
06-24-2002 02:51 PM
06-30-2002 07:37 PM
06-30-2002 07:37 PM
06-16-2003 01:26 PM
12-02-2004 06:08 PM
09-07-2006 12:10 PM
09-07-2006 04:14 PM
Hi Doug,
I figured out a simple way to get around my problem. I set up a Struct, and assigned the values to it as the user tests the DUT - then at the end of the program, I output the values to a file. If the user terminates the program before it reaches the bottom of the code, then the record just won't be written. I also set the members of the struct to 0 so that if the user only runs a few tests, then it will just write 0's in the non-tested fields. This way you always write a complete record every time, and won't have any problems with formatting. I also put a radio button on the interface so that if the user wants to troubleshoot, and not commit the data to the database, he or she can unclick the "Commit to Database" button before testing.
Cheers,
Zot