07-20-2005 09:31 AM
07-21-2005 08:23 AM
Hello,
The SubVI you posted does not have any file I/O in it, so I can't make many suggestions based upon it. Here are a few general suggestions:
1. When trying for speed, don't use the high level file VIs such as Write Characters to File, especially in a loop. Use the lower level Open/Write/Close VIs because these allow you to open your file just once.
2. Try to send as much information with each call to write as possible, writing a few characters at a time will take much longer than writing a few hundred or a few thousand at a time.
The text file you posted in your other thread is quite large, even with efficient file techniques, it's going to take a while to write it in any language. In general, dumping that much information into a text file isn't really wise. It's too big to really inspect visually, and it is going to take an awful long time to search. Judging by the type of data you are logging I would suggest that you use a database. Storage Files would also be a good choice, but unfortunately in LV 7.1 the Storage Files library is still a bit slow, so a database might be a better choice for you.
Hope that helps,
Ryan K.
07-27-2005
08:25 AM
- last edited on
10-19-2025
01:40 PM
by
Content Cleaner
I would like to second ryank's comments and give you a couple of directions to pursue.
Good luck. Let us know if you need more help. Just don't expect the solution to be trivial. Large, efficient data storage never is
.