AnsweredAssumed Answered

vrf FW: writing data to multiple files

Question asked by VRFuser on Oct 21, 2003
Latest reply on Oct 21, 2003 by VRFuser
Hi Jeff,

This is only a problem if the function/program doesn't quit before you try
do do something like move or delete the files.

I used to have this problem when files would be left open by my functions,
and then the housekeeping functions I had written came along and tried to
archive the files.  Then my C-Script functions (called from Vee) would quit
with an error causing Vee to handle the error.

In general, close the files when there is a high probability that you will
not need to use them again.  If you do need to append data to the file, then
make sure that the Clear File tick box is NOT ticked.

Cheers,

Graeme
(Still between jobs!)

> -----Original Message-----
> From: Tostenrude, Jeff [mailto:Jeff.Tostenrude@Nextel.com]
> Sent: 20 October 2003 22:13
> To: VEE vrf
> Subject: [vrf] RE: FW: writing data to multiple files
>
>
>
> Thanks everyone for your responses. I used LabView quite a bit
> 7-8 years ago and never used VEE, so I'm still learning.
>
> I have not been explictly closing the files after I have finished
> writing to them and everything seems to work fine. Is there a
> problem with this?
>
> Thanks,
> Jeff
>
> -----Original Message-----
> From: Goldberg, Mark [mailto:Mark.Goldberg@ATK.COM]
> Sent: Monday, October 20, 2003 1:46 PM
> To: VEE vrf
> Subject: [vrf] FW: writing data to multiple files
>
>
> Original message did not see to get through??
>
> -----Original Message-----
> From: Goldberg, Mark
> Sent: Monday, October 20, 2003 11:52 AM
> To: 'Tostenrude, Jeff'; VEE vrf
> Subject: RE: [vrf] writing data to multiple files
>
>
> Jeff,
>
> Here is one way I use. When your program completes a test call the example
> as a user function and it will generate a time and date file name. Or you
> can customize it with a test type added to the name or different combos.
>
> Hope this helps.
>
> Mark
>
>
>
> -----Original Message-----
> From: Tostenrude, Jeff [mailto:Jeff.Tostenrude@Nextel.com]
> Sent: Monday, October 20, 2003 11:26 AM
> To: VEE vrf
> Subject: [vrf] writing data to multiple files
>
>
>
> I have a test loop which outputs spectrum analyzer data to a
> file. How do I
> tell VEE to output the data to a new file each time, instead of using the
> same file?
>
> TIA,
> Jeff


---
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@it.lists.it.agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes