Loop with Write key.vi goes slower and slower 
Author Message
 Loop with Write key.vi goes slower and slower

I have a loop that writes data to an INI-file,
each loop writes about 200 data to the INI-file with the
Write key.vi, and the loop is performed 25 times.
The very strange thing is that the loops goes slower
and slower each time it is performed.
First loop is performed in less than 0.05 seconds,
while the last is down to 3.5 seconds.
Can anybody explain this strange behaviour ?
Martin


Sun, 01 May 2005 22:23:31 GMT  
 Loop with Write key.vi goes slower and slower
I'm not sure if that might help, but as you might be aware of, Write key.vi
stores all keys and there values locally in an array until you call Close
Config Data.vi where writes all your keys at once to the file. try to open
confige, write and then close config file on every loop. That will keep your
array size smaller.

Raymond.



Mon, 02 May 2005 10:01:52 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Mac Read.vi slower than PC Read vi (?)

2. Fast loop inside a slow loop?

3. Clarification: read/write slow, and TCPSocket and sys{read,write}

4. read/write slow, and TCPSocket and sys{read,write}

5. slow, very slow

6. SysCreateObject gets slower and slower

7. Slow file access - Slow program startup

8. Tcl getting slower and slower on HP-UX

9. Go slow with Win98 and Clarion 2.1

10. CFD 3.1 app gone slow

11. Script goes dead slow with IE and crashes NS 7

12. Slow Loop statment on TPS file.

 

 
Powered by phpBB® Forum Software