Example Program Drafts

Showing results for 
Search instead for 
Did you mean: 

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


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


Imtiaz Chowdhury
Project Manager
Green Running / Austin Consultants

Active Participant G-Money
Active Participant

Thanks for posting this!

Grant H.
National Instruments
LabVIEW Product Marketing Manager
Member brimcd

Great start, but only works up to <History Length>

Another way (seems to work for all- cant seem to upload the vi here!) :


Member simyfren

Thanks for tips, but these two VIs doesn't work in my imagination. I improved the second VI, now its work for all time, and data start at scale minimum of the graph, not from scale maximum.