03-22-2012 07:26 PM
Dear all, I would like to process some LTE measurement files. Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
03-22-2012 07:38 PM
By the way, my input files are in .bin format. Many thanks
03-22-2012 09:16 PM - edited 03-22-2012 09:17 PM
To be simple you can have array of path and take the path by Indexing/deleting the array element one by one. so while saving the data you can have time stamp along with the name so that for each iteration you can have different files.
I wonder why you have given an empty path.
03-23-2012 12:32 AM
There is no official "bin" format and I am confused by some of your statements:
@Kiwibunny wrote:
Currently I can only load a single file and process the data and save it to a single binary file. Since I would like to run the code continously, could someone show me how I can modify the code to load multiple files and specify multiple files to save the process the data please? I have attached the code to the question. Many thanks for your help.
What you could do is use "list folder" with *.bin as pattern, and use a FOR loop and iterate over all *.bin files found in a selected folder.
In any case, your code uses some weird constructs and you seem to do way to much. Are you using "continuous run" mode? Don't!
Use a proper state machine instead ot these stalling loops. Why do you need to query the queue after each enqueue? Why do you need a queue at all?
03-23-2012 05:24 AM
Hi altenbach, many thanks for your reply. I am a beginner to labview, I was given the code acutally. Could you please show me how I can use the 'list folder' function to perform the task please? I tried to add it to my block diagram and i don't think it is working correctly.
03-23-2012 10:12 AM - edited 03-23-2012 10:13 AM