09-28-2018 03:04 PM
Newbie Question
I would like to have a combo box containing model numbers.
I would like to use the model number information to access information in a table
the values in that table would then populate other variables in the vi
The table would be structured : first column being model number, the second column being upper limit, the third column being lower limit, and the Fourth column being boolean for test yes no
so example
model Upper limit Lower Limit OK to test?
A 5 1 T
B 10 2 T
C 12 5 F
Can anyone please point me to an example ?
The table can be determined before start
thank you
09-28-2018 03:09 PM
Have you tried anything? Please post an example of what you have tried that didn't work and I'm sure someone will be glad to help you answer your specific questions.
09-28-2018 03:49 PM - edited 09-28-2018 03:57 PM
@ron.blair13090 wrote:
Newbie Question
I would like to have a combo box containing model numbers.
I would like to use the model number information to access information in a table
the values in that table would then populate other variables in the vi
The table would be structured : first column being model number, the second column being upper limit, the third column being lower limit, and the Fourth column being boolean for test yes no
so example
model Upper limit Lower Limit OK to test?
A 5 1 T
B 10 2 T
C 12 5 F
Can anyone please point me to an example ?
The table can be determined before start
thank you
I'll go one better for a developer who at least admits not knowing where to start. I hope others will chime in with links to relevant posts. My phone makes that a real chore.
I'm going to restate your requirements to ensure we are understanding each other.
You have a list of related data pieces you would like to make your vi respond too.
The structure is fixed cells of known data types, the values can be predefined.
You haven't really decided how to structure the data but are familiar with displays like a spread sheet would show....
This is common and one of the better examples ( by better I mean one familiar to a large percentage of certified LabVIEW developers and architects) of a program that uses a data structure like can be found over in the certification board as a practice problem.
The ATM practice CLD exam uses the same general criteria. Configuration data is stored and retrieved from a csv file in this case. Excel would display the data just like you showed.
Better yet, a lot of developers have submitted example of how they implemented this and those have been discussed with other posters! I just bet some of that experience could inspire you with ideas.
Again, the poster is new so please send some links friends.
EDIT:Full disclosure. That practice problem is adapted from a retired CLD exam...I failed that attempt because I had never seen a good example of how to structure the file data... I believe I've gotten better since then.
09-28-2018 04:00 PM
Link (per Jeff's request):
https://forums.ni.com/t5/LabVIEW/bd-p/170
Just below the LabVIEW and LabVIEW NXG logos are a few links that lead to training resources for those that are new to the software.
09-28-2018 04:05 PM
Kudos. Hey, am I mistaken or does one of those examples for review have your alias as the poster?
My memory is not what it used to be.
09-28-2018 04:14 PM
09-28-2018 05:40 PM - edited 09-28-2018 05:47 PM
@aputman wrote:
@JÞB wrote:
Kudos. Hey, am I mistaken or does one of those examples for review have your alias as the poster?
You talkin' to me? Honestly, I'm not sure what you are referring to. So it's probably not my alias. There is another Putnam on the boards...LV_Pro.
No, I would not confuse you with the chair of the committee that named dirt. Nice fellow to drink with though... hills had not been invented the first time he fell down. That reportedly can save wear and tear caused by rolling after falling.
10-01-2018 08:07 AM
Thank you all for the quick responses
I am either searching under the wrong key words or links
https://forums.ni.com/t5/LabVIEW/bd-p/170
just puts me at the main forum page
I will keep searching under configuration data stored and retrieved from a csv file
but if anyone has any links they could share it would be appreciated
10-01-2018 08:41 AM
@ron.blair13090 wrote:
Thank you all for the quick responses
I am either searching under the wrong key words or links
https://forums.ni.com/t5/LabVIEW/bd-p/170
just puts me at the main forum page
That's the one. As I said, scroll down just a little and directly under the LabVIEW and LabVIEW NXG icons, there is a section called LabVIEW Training Resources.