LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cursor move events passing data to dialog

I have a graph where the user moves the cursor and then I pop up an easy to read dialog with the test number and test description in it.  I tried it with a regular dialog with reentrancy but it locks things up.  Is there a better way to do this?   

0 Kudos
Message 1 of 6
(2,811 Views)

Hello id,

 

I'm not following your question. could you post a sample of your code that exhibits the behavior you are experiencing?

 

-N

National Instruments
Staff Certification Engineer
0 Kudos
Message 2 of 6
(2,777 Views)

Here it is.  A simple cursor move event calling a dialog and passing updates to it as the cursor gets moved.

Download All
0 Kudos
Message 3 of 6
(2,752 Views)

Hi id, 

 

It looks like you're wiring a bundle into a bundle control, and not updating the button dialog anywhere in that code. 

 

You need to wire data into a control and then display it on an indicator. You should also do this inside the while loop, so that it continually updates. 

 

-N

National Instruments
Staff Certification Engineer
0 Kudos
Message 4 of 6
(2,747 Views)

I do not comprehend what you are saying about wiring into a bundle.  My event cases bundle/unbundle clusters in them.

 

I would use just an indicator but my indicator is too big and it would cover the graph so I want a user movable window with the indicator and not just a fixed front panel one.  

 

 

 

Could you please clarify what you are saying? 

0 Kudos
Message 5 of 6
(2,742 Views)

Hi Id,

 

I have made a quick example of how to have another window display data to a user using queues. Please let me know if this helps.

 

-N

National Instruments
Staff Certification Engineer
Download All
0 Kudos
Message 6 of 6
(2,727 Views)