LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Combobox pausing operation of other VIs

Okay, I have a main VI which contains two paralell while loops. The first of which has 3 subVIs which contain a graph that upon user request get opened. Note the main VI does not pass any data to the subVIs. The other loop is what takes care of user events like a button being pressed and these comboboxes. While I have the VIs running and all three graphs are graphing different data in differetn windows but than I start to change the value of the combobox and it stalls all three graphs until the value is updated. The second loop waits until from panel activity but maybe I should use another method like an event loop, occurance, or notifier? any ideas
0 Kudos
Message 1 of 3
(2,705 Views)
If LOOP A has the graphing VIs and Loop B has the UI stuff, then Loop A ought to run and run and run, whatever happens in loop B.

You can prove (or disprove) this by putting an indicator on the [i] variable of your graphing loop. If it stops when you adjust the combobox, then you have some sort of (unwanted) dependency between the loops.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 2 of 3
(2,705 Views)
I have been trying to reproduce the behavior and I cannot. Can you post a simplified version of your code.

I suspect what is happening is that your User Interace (UI) is being locked by the combobox. You might see if turning off multithreading helps (open LabVIEW >> tools >> options >> performance and disk , toggle the setting for "run in multiple threads", shutdown LabVIEW and restart.)
0 Kudos
Message 3 of 3
(2,705 Views)