Skip navigation


Currently Being Moderated

Programmatically Set/Select Range of Waveform Chart's X Axis

Created on: Aug 25, 2011 8:26 AM by alpha1 - Last Modified:  Aug 25, 2011 8:40 AM by alpha1



When you set the range of a waveform chart, by right-clicking the waveform chart and selecting Chart History Length - LabVIEW will automatically always show you the end of this range of values. However, if you set the maximum range with a property node, we always see the beginning of this range of values. We can programmically get the same functionality/behaviour as the Chart History Length by checking the current history of the chart, and then setting both the maximum and minimum through a property node. Don't forget that the array is zero-indexed!






LabVIEW 2011 or later (for new controls, like screenshot)

LabVIEW 8.5 or later (compatibility mode)


How To Use


1. Download the attached VI

2. Run the VI

3. You can change the range while the VI is running

Comments (3)