DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

write diadem search results to text file

Is there a solution within DIAdem for exporting specific information from a search result into a text file? For example: I perform a search which returns all of the files, groups, and/or channels which I want to work with; now I would like to have, say, the file paths of all the results of my search exported to a text file. Is this possible? I could not find a direct way of doing this, but perhaps a script already exists for doing stuff like this?
0 Kudos
Message 1 of 5
(4,192 Views)
Hi mrclary,
 
I did not have this code handy, but I was able to whip it up for you.  Let me know if you have any questions.
 
Brad Turpin
DIAdem Product Support Engineer
National Instruments
Message 2 of 5
(4,172 Views)
Thanks Brad, that works pretty good. Not that I'm complaining, but is there a way to call a dialog box for saving the text file? I tried looking through dialog box templates and didn't find anything.
0 Kudos
Message 3 of 5
(4,163 Views)

Hi Mrclary,

Sure, you can use the FileNameGet() function with the "FileWrite" paramter to prompt the user to select/define a new file path for you to use.

Brad Turpin
DIAdem Product Support Engineer
National Instruments

 

0 Kudos
Message 4 of 5
(4,126 Views)
Thanks, That worked great!
0 Kudos
Message 5 of 5
(4,097 Views)