LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Menu Ring Stops My DAQ!

LV users smarter than I,

 

I have developed a UI that programmatically places cluster controls neatly on a tab control page. 

The same tab control page also has a few XY Graph controls.

 

Within each of the clusters are the following:

String Control - Contains the channel name

String Control - Contains the "units" of the channel

Numeric Control - Contains the data value of the channel

String Control - Contains the timestamp value of the channel

Menu Ring Control - Contains a list of available plots upon which data channel will be displayed.

 

I am using Control References to position and populate the values of the controls programmatically.

All of this works fine.

 

However, whenever I have my test system running, If I mouse click on one of the Menu Ring Controls (which then pops up the list of options), my data acquisition stops until I make a selection or click outside the selection box.

 

I realize that I haven't explained anything about my data acquisition and where it is going on, but I don't want to overwhelm this post out of the gate. 

So here are the major details.

I have multiple DAQ VIs (one for each type of DAQ equipment) that are all reentrant and called via Invoke Node.

They feed a queue.

There is a queue consumer which sends the data to a TDMS file; within this queue consumer is a subVI which displays all data live and contains everything mentioned above.

 

So, I don't understand why my Invoke Nodes are failing to execute while I have my Menu Ring selected.

I have come to understand that LV multitasking can sometimes cause these types of issues but how in the world do I troubleshoot?

 

Help!

Chris

 

P.S. Attached is a photo of the UI for reference. This may clear up some of my rambling.

0 Kudos
Message 1 of 2
(2,304 Views)

@ckc8302 wrote: 

However, whenever I have my test system running, If I mouse click on one of the Menu Ring Controls (which then pops up the list of options), my data acquisition stops until I make a selection or click outside the selection box.

 

So, I don't understand why my Invoke Nodes are failing to execute while I have my Menu Ring selected.


To clarify, are you saying that the Invoke Node doesn't execute when the menu is visible, or that a VI that is already running (launched through an Invoke Node) pauses when you click on a menu?  If the former, this is a known issue due to the way LabVIEW is structured and I haven't seen a good workaround.  See similar issues

http://forums.ni.com/t5/LabVIEW/droping-down-menu-pauses-program-at-open-ref/m-p/502803

http://forums.ni.com/t5/LabVIEW/Accessing-pulldown-menu-halts-VI/m-p/1109450

http://labviewwiki.org/Lessons_learned_from_plugins

http://lavag.org/topic/1386-cannot-instanciate-new-vi-when-the-root-loop-hangs/

0 Kudos
Message 2 of 2
(2,288 Views)