11-20-2019 04:03 AM
Hello
I want to do a program in Labview where I introduce a code number and I want to check in a database if my code number appear´s in that database.
I have to do something like this?
Solved! Go to Solution.
11-20-2019 07:28 AM
OK, you've got the Example to show you how to get all of the data out of the database. It looks like it is returning the data as a 2D Array of strings. Do you know how to search an Array for an entry ("code number")? If not, spend some time with the LabVIEW Tutorials, especially Arrays and Array Functions, and also perhaps on Strings.
Bob Schor
11-20-2019 08:53 AM
Yes, I have done a program where I introduce a code number and when I press "enter" the program checks if the length of the code number and the length that I have specified is the same. If the length is the same one LED indicates that the length of the code is okey. Now, after checking the length of the code I want to check in a database if the code that I have introduced appears in the database.
I have done this program but I don´t know how to continue.
Might you help me, please
11-20-2019 08:54 AM
This is the program
11-20-2019 04:22 PM
Here are some comments on (and a minor clean-up of) your code:
I've saved my revised version of your VI for LabVIEW 2014. The changes are all "cosmetic" (except for getting rid of the Frame Sequences).
Bob Schor
11-21-2019 02:23 AM
Thank you so much for all your explanations! You have been very heplful!
11-21-2019 02:24 AM
I´m going to correct my program