From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change X-axis scale in real time mode

I don't have LabVIEW on this computer, so I can't check what we did in the .vi, but it's attached here.

 

Maybe you'll find out what we did Smiley Wink

___________________________________
Is my avatar the dog from the fraggle rock?
0 Kudos
Message 11 of 13
(979 Views)

I have a question.

I am wondering how can I change x-axis(time) in real time.

I mean, I want change the range of a x-aixs in real time.

How can I do this?

0 Kudos
Message 12 of 13
(934 Views)

@towardsg wrote:

I have a question.

I am wondering how can I change x-axis(time) in real time.

I mean, I want change the range of a x-aixs in real time.

How can I do this?


You cannot change the chart history lenght at run time (while the program is running, if that's what you mean by "real time"). However you can change the displayed range (max and min) of the x-axis using property nodes. Simply make sure that the history lenght covers the max display range you need. You can always display less.

0 Kudos
Message 13 of 13
(921 Views)