LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem nesting combo boxes between them LabVIEW

To be honest with you, I'm new to LabVIEW and I didn't understand your explanation very well, can you give me a protocol please to help me solve my problem? I haven't been able to solve my problems for 2 or 3 weeks

Thank you 

0 Kudos
Message 11 of 22
(213 Views)

Hi Problem,

 


@Problem LabVIEW wrote:

I haven't been able to solve my problems for 2 or 3 weeks 


Have you done any of the training resources offered in the header of the LabVIEW board in this time?

Did you examine the state machine example coming with LabVIEW?

(State machines are very basic software constructs and you should be able to implement them.)

 

As described in message #2 your problem could be reduced to a state machine, with states of "get user input" and "parse/provide the next piece of information"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 22
(199 Views)

The problem is I want it to fill up dynamically and not have it pre-filled

 

0 Kudos
Message 13 of 22
(169 Views)

Hi Problem,

 


@Problem LabVIEW wrote:

The problem is I want it to fill up dynamically and not have it pre-filled


Yes, we know.

That's why I suggest to implement a state machine that will fill the controls/data structure dynamically…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 22
(162 Views)

You say "nested", but do you really mean they are dependant on each other? If you select 'A' on the 1st one, then 2nd one has 1,2,3 as choices, but if you select 'B' , then 2nd has 4,5,6?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 15 of 22
(123 Views)

See if this gives you any ideas.

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Download All
0 Kudos
Message 16 of 22
(121 Views)

Hi, thanks for your answer, unfortunately I can't see your code because I have the LabVIEW 2018. If you could send it to me in an earlier version it would be nice. To explain a little more what I want to do, I have another code that records datas of a signal and I want to be able to find that signal(s) (recorded in a .lvm file and visualized on a scope) that I will record in a directory to find them via the combo box that records according to the NAM then according to that NAM in question it will depend on an ATP, then on Environn.. To be more clear, if I can NAM1, there will be the ATP3 and ATP4 options, but for example if I record a signal of NAM45, it follows that there will be for example ATP6, ATP5 and so on. Thank you very much for your help because I'm really stuck.

0 Kudos
Message 17 of 22
(83 Views)

Hi Problem,

 


@Problem LabVIEW wrote:

I want to be able to find that signal(s) (recorded in a .lvm file and visualized on a scope) that I will record in a directory to find them via the combo box that records according to the NAM then according to that NAM in question it will depend on an ATP, then on Environn.. To be more clear, if I can NAM1, there will be the ATP3 and ATP4 options, but for example if I record a signal of NAM45, it follows that there will be for example ATP6, ATP5 and so on. 


Did you read message #7 yet?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 22
(69 Views)

Message 7 solution doesn't meet my expectations because NAMs are pre-filled and I want it to be dynamic

0 Kudos
Message 19 of 22
(38 Views)

So how to you get the NAM items ? 

From folder names? 

File names ? 

File data ? 

0 Kudos
Message 20 of 22
(29 Views)