AnsweredAssumed Answered

vrf Text files - delete processed lines

Question asked by VRFuser on Nov 23, 2005
Maybe I should clairfy a little.  I think using the NULL variable speeds things
up in the development environment because VEE isn't storing lots of data on the
output pin of the From File.

It might be cleverer than that, but someone from Agilent would know for sure.

--
Graeme Hilton
R&D Engineer

Schlumberger Sensa


Allan (home) wrote the following on 23/11/2005 21:09:
> My files are wav files of 16 channel data , generally of about 600MB size; I
> will give the NULL variable a try, should be signiificantly quicker than
> reading chunks of data untill you reach the desired location.
>
> Thanks, all.
>
> Allan Thomson
> allan.strathardo@virgin.net
> www.strathardo.com
>
>
>
> ----- Original Message -----
> From: "Graeme Hilton" <GHilton@slb.com>
> To: "VRF" <vrf@agilent.com>
> Sent: Wednesday, November 23, 2005 9:21 AM
> Subject: Re: [vrf] Text files - delete processed lines
>
>
>> Shawn Fessenden wrote the following on 22/11/2005 19:10:
>>>> I was thinking of marking the last
>>>> processed line, but if I can not
>>>> jump to the "mark", then it does
>>>> not make sense.
>>> No problem at all. Simply save the byte offset of the last processed
> cr/lf.
>>> When you reopen the file, simply skip ahead that many bytes.
>> I find that reading the file into the NULL variable speeds things up a
> little,
>> especially on slower PCs.
>>
>> Read Text NULL Char ARRAY 1D Size: A
>> where A is the offset.
>>
>> Then carry on reading as normal.
>>
>> --
>> Graeme Hilton
>> R&D Engineer
>>
>> Schlumberger Sensa

---
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".
Search the "unofficial vrf archive" at "www.oswegosw.com/vrf_archive/".

Outcomes