ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Chart configuration

Solved!
Go to solution

I'm basically trying to see two different signals (one is converted from single scalar to dynamic) in a chart.

 

I want to see the chart (x axis) only for 200 sec, I'm  formatting the x axis not be auto scaled and choose 0 to 200, however when I click on run, the values on the x axis automatically change (its not 0 to 100 anymore).

 

I have attached an example, all I want to see is the continuous sine wave with the value of the switch (0 or 1).

 

Will appreciate any help.  

0 Kudos
Message 1 of 5
(3,224 Views)

If you probe the dynamic data, you will notice that your timestamps are not aligned.

 


Attached is a possible fix.

 

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Message 2 of 5
(3,207 Views)

Possible Solution:

1.) Change your time to Absolute Time as below:

Set Time to Absolute..png

 

2.) Format your x-axis to display absolute time as below. Right click on the x-axis and go to Properties to get this window.

X Axis Format.png

 

3.) Set your chart history length to 400 data points because you collecting at 2 Hz and want to keep 200 seconds of data. Right click on the graph and go to Chart History Length to do this.

Chart Length.png

Message 3 of 5
(3,185 Views)

Simple procedure, I completely forgot about the time stamps.

 

Thank you

0 Kudos
Message 4 of 5
(3,176 Views)
Solution
Accepted by topic author D_Raz

Remember to mark a post as a solution so that others can benefit from your question.

 

-CC

----------------------------------------------------------------------------------------------------------------------------
"If anyone needs me, I'll be in the Angry Dome!"


Message 5 of 5
(3,172 Views)