Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to do something like an "address book"

Hi

I stop programing for 2 years and now I need no start again (which I like) but I´m a litle rusty
I need to storage the results of some tests in a file, the thing is I need afterwards to find anyone that I need, this really is like an address book, will have the name of the test, the date, time, results, coments etc, and I need to be able to find this information looking for any of this entries.

any idea how to do it? is it posible to search in the file and only load the information that I need? or I need to put all the information of the file in a string or something like that and afterwards look for what I want?

thanks in advance!!!
0 Kudos
Message 1 of 6
(3,291 Views)
You didn't mention what programming language you are using. From your brief description I would suggest using a database to store your results. Then you could write queries to extract the information you want. Hope this helps.
Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 2 of 6
(3,262 Views)
Sorry you are right, I´m using Labview 7, and I really want to find another solution instead database
0 Kudos
Message 3 of 6
(3,251 Views)
Why don't you want to use a database? Using a  text file of some type is going to require you to load in the entire contents of the file if you want to do a search. This will be fine as long as it's not that big but it could be problematic as the file grows.
 
p.s. In the future, post similar questions to the LabVIEW board. This is the Multifunction DAQ board.
0 Kudos
Message 4 of 6
(3,240 Views)
HI, thanks for your answer

I didn´t realise about the mistaked forum, becouse I choose the LabView one, I don´t know what was my mistake, but well about the database is only becouse I never used database with labview before, then I don´t know how to use it
0 Kudos
Message 5 of 6
(3,230 Views)
A database is not that difficult to use and once you get past a few initial hurdles, it's not that difficult. You have a lot more flexibility than with something like text or Excel files. NI sells a database connectivity toolkit that hides some of the complexity. There is also a free utility called LabSQL. I don't have the LabSQL link handy but you can do a search of the forum and find it pretty easily.
0 Kudos
Message 6 of 6
(3,228 Views)