LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Chart plot name

HI all, 

i want say if can display a plot name when the mouse coursor select a line on the plot area.

0 Kudos
Message 1 of 4
(3,095 Views)

Hi Loopin3,

 

you cannot do that.

 

Ciao!

______________________
Simone S.
Academic Field Engineer - Med Region
0 Kudos
Message 2 of 4
(3,056 Views)

@sisu84 wrote:

Hi Loopin3,

 

you cannot do that.

 

Ciao!


Smiley Surprised

 

Well maybe you can't* but it is possible and it requires quite a bit of code to support it. I think there was challenge ove on the LAVA side. since then NI has added the invoke node "Map Coordinates To XY" that can be used in an event structures set for mouse move. Some complex arithmetic to find the plot with the nearest data point, and you get the name of the plot.

 

To display the name, put the name in a string indicator with background set transparent and position the indicator over top of the chart.

 

So I think it CAN be done.

 

Ben

 

* I have been a big fighter of the phrase "you can't do that" when applied to LabVIEW. They used to say the same thing about controls on the fly but I delivered my first version of that more than five years ago.

 

What you can't do in LV, is dump the code as C.

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 4
(3,046 Views)

If you want an example of this behavior implemented in LabVIEW, check out LabVIEW SignalExpress.  If you click on a signal in a graph, it highlights the signal source and destinations in the step view, telling you what the signal is.  It is implemented exactly as Ben described.


@Ben wrote:
I have been a big fighter of the phrase "you can't do that" when applied to LabVIEW.

I would like to second this comment, as well.  Since LabVIEW has a huge amount of native functionality, new programmers tend to forget that LabVIEW is a fairly complete general purpose language.  While there are a few very esoteric things I have been unable to do in LabVIEW, this has never prevented me from getting LabVIEW to accomplish my programming task.  A couple of interesting examples are setting tab order on complex GUIs, including the dynamic subpanels, and handling huge data sets.  If you seriously program in LabVIEW, you will run into these challenges, just like you would in any language.  You will be able to meet them.  Half the battle is knowing you can.

Message 4 of 4
(3,030 Views)