From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
11-12-2018 12:28 PM
I have a VI that does a search and returns me a value. I need to create, from this VI, a generic search class for me to call throughout the program. How can I do it?
Solved! Go to Solution.
11-12-2018 12:40 PM
Can you explain what you mean by a "generic search class"?
Attached is a cleaner version of your VI that gets rid of the unneeded local variables and sequence structure.
11-12-2018 12:41 PM
How are you holding your classes and the lookup strings?
Just looking at that VI, it seems like it is WAY more complicated than it needs to be. With proper data flow, 95% of your terminals and local variables as well as the Sequence Structure could be eliminated and we could probably reduce it down to easily a single screen.
11-13-2018 04:30 AM
From this search VI I will need to implement in several points of my program where I will look for any variable and return its value, so this VI was done. So the need to do a generic VI and implement in a class. I'm new to labview, if you have better alternatives you can tell me.
11-13-2018 04:32 AM
Actually VI is a little "dirty", but I'm new to labview and I'm still learning the techniques needed to make a VI look "clean".
11-14-2018 10:42 AM
I'm going to close because I got some internal help here at work.