LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Y axis Label

I am trying to get the Y axis Label to change depending on the unit attribute that I set earlier in my program. I need to know how to convert the value I get from the get attribute function to a string. Also I need to know how to change the waveform name so that the plot labels change accordingly
0 Kudos
Message 1 of 2
(2,454 Views)
Hi Barber,

If the attribute is already a string, then you just have to specify it with a string dummy in the "Get Waveform Attribute" function.

The attribute that is used for the plot name is called "NI_ChannelName". When saving a text for this attribute, the text will show up as the plot name in a graph. Please try the attached "Attribute.vi".

Best regards,
Philip C.
National Instruments
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 2 of 2
(2,454 Views)