LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

graph - How to capture data from start to end

Hi

 

I want data (results) from start time till end on a graph. My graph is showing moving data. What should I change?

0 Kudos
Message 1 of 23
(925 Views)

Hi kdm,

 

- when you use a chart: use a graph!

- when you use a graph: enable x axis autoscaling (provided you really collect all data in an array)

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Message 2 of 23
(919 Views)

Hi GerdW,

 

Thanks for a soon reply. I got it. 

Now, I want my x axis to be marked at every second. How do I do that?

0 Kudos
Message 3 of 23
(904 Views)

Hi kdm,

 

you want a marker (aka tick) every second? Set the x axis properties to do so!

 

But: as soon as you will have too many ticks LabVIEW will limit the number of ticks so they will fit on the x axis…

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 4 of 23
(876 Views)

Hi Gerd,

  

I autoscaled x axis, its not working. First of all, now my current time (from PC) is not mapping onto my graph. I've taken the current time and linked it to the waveform chart, but there is no effect on my chart.

 

PS: What do you mean by "when you use a chart. Use a graph!" ?

0 Kudos
Message 5 of 23
(860 Views)

Hi kdm,

 

charts and graphs are different indicators in LabVIEW with different abilities…

 

As long as you don't provide a VI we can't offer much more help!

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 6 of 23
(855 Views)

Here is my chart part..

0 Kudos
Message 7 of 23
(846 Views)

Hi kdm,

 

so you really use CHARTS. Please use correct LabVIEW wording as there are huge differences between CHARTs and GRAPHs!

 

As said before: use graphs instead of charts. They offer much more abilities with the minor overhead of having to collect the data in your own array…

 

Open the example finder, there is an example demonstrating how to use charts AND graphs!

Best regards,
GerdW
CLAD expired, using 2009SP1 + LV2011SP1 + LV2017 (+LV2018 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 8 of 23
(840 Views)
If you want to plot y versus time, you should set the DAQmx read to return a waveform data type and skip that property node.
Message 9 of 23
(839 Views)

Thanks all! Got it.

@Gerd:  I used a chart itself

0 Kudos
Message 10 of 23
(831 Views)