LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital display in waveform charts

Hi,

 I have been using waveform charts to display data obtained from daqmx read. I have used digital display which gives the value at that instant. I wanted to add units of measurement to the value shown in digital display. 

For this I used UnitLabel.Text property node of digital display.But this displays the unit of the first channel only.This was achieved by using DigDisplay[] property node of chart which gives reference to each of the digital displays, which I indexed using for loop and gave it to the reference of UnitLabel.Text property node inside the loop.I obtained units from Get Attribute of waveform and wrote it to UnitLabel.Text. But this displays the unit of first channel only.

How to display units along with the values in digital display?

0 Kudos
Message 1 of 3
(3,853 Views)

  You seem to me setting the unit label text correctly but you need to have multiple scales displayed to have the units displayed.  This is not run-time doable so you need to duplicale scales in edit mode.

Adding Multiple X- and Y-Scales on Graphs or Charts

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 3
(3,834 Views)
Thanks Jeff.
Yeah its not run time doable. Accomplished the task by positioning an array of units next to the digital display.
One more thing I wanted to ask, Is there a way to get Units from NI max where the devices are configured or through some property nodes of global channel etc instead of using get attribute of waveform?
0 Kudos
Message 3 of 3
(3,762 Views)