LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

map combo box selection to upper and lower limit table

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

0 Kudos
Message 1 of 9
(2,471 Views)

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. 

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 2 of 9
(2,469 Views)

@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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 9
(2,451 Views)

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.  

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
Message 4 of 9
(2,444 Views)

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. 


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 9
(2,441 Views)

@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

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 6 of 9
(2,435 Views)

@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.


"Should be" isn't "Is" -Jay
0 Kudos
Message 7 of 9
(2,427 Views)

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

 

0 Kudos
Message 8 of 9
(2,386 Views)

@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.  

2018-10-01_8-40-10.png

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 9 of 9
(2,377 Views)