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".
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".
-----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: Mark.Goldberg@ATK.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".
begin 600 uniquefilename.vee
M*'-A=F5&;W)M870@(C(N,R(I#0HH9&%T92`B36]N(#(P+T]C="R,#`S(#$Q
M.C0Y.C4P("(I#0HH=F5E<F5V("(V+C(B*0T**'!L871F;W)M(")00R(I#0HH
M97AE8TUO9&4@=C8I#0HH9FEL=&5R3D%.(#`I#0HH=V]R:W-P86-E4W1A8VMI
M;F=/<F1E<B!-*0T**'-Y<V-O;F9I9PT**&EO9&5V:6-E(")#;VTQ(@T**'1Y
M<&4@4V5R:6%L*0T**&=A=&5W87D@(E1H:7,@:&]S="(I#0HH8VAA;FYE;"`P
M*0T**')E861497)M(")<;B(I#0HH9G,@(BPB*0T**&5O;"`B7&XB*0T**&UU
M;'1I1FEE;&0@9&%T84]N;'DI#0HH87)R87E&;W)M870@;&EN96%R*0T**'1I
M;65O=70@-2D-"BAB>71E3W)D97(@,"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!E8R`T*0T**&EN=&5G97)"87-E(&1E8VEM
(86PI*2DI#0H=
`
end
---
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".