Jump to content

looking at files in a folder


Recommended Posts

hello,

I am using tshark's ring buffer to create 3 file that update automatically, the file names are saved with the time and date so they are changing, in labview i want to read the files and convert them but i am getting confused as to how to input the exact name of the file as it keeps changing, i was thinking to using somesort of time stamp of the files in the folder but i am still very stuck.....

it will be really helpful if anyone can help,

please contact me if you want any more information

samia

Link to comment

QUOTE (tilli @ Feb 6 2009, 12:21 PM)

hello,

I am using tshark's ring buffer to create 3 file that update automatically, the file names are saved with the time and date so they are changing, in labview i want to read the files and convert them but i am getting confused as to how to input the exact name of the file as it keeps changing, i was thinking to using somesort of time stamp of the files in the folder but i am still very stuck.....

it will be really helpful if anyone can help,

please contact me if you want any more information

samia

If I do that, I will use time stamp to create the file names and STORE the update file names in a txt file. That means total 4 files, the name of 3 of them will keep changing and the updated name can be found in the "STORENAME.txt" (fixed name) file. I hope I understand your question correctly. ;)

Link to comment

QUOTE (zmarcoz @ Feb 8 2009, 04:59 AM)

If I do that, I will use time stamp to create the file names and STORE the update file names in a txt file. That means total 4 files, the name of 3 of them will keep changing and the updated name can be found in the "STORENAME.txt" (fixed name) file. I hope I understand your question correctly. ;)

The STORENAME.txt file is not required instead you can use the List Folder function in the FileI/O>>Advanced File Functions Pallete. This function will list all the files and folders available under a specified folder. The filenames are given out as and array of string which you can easy search through using array functions.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.