LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time Axis on Waveform Chart porblem

yes I did checkout examples and I was looking for the way to add time at a to ddt. 

 

You sed do not get used do DDT. OK I am looking or example how to acquire data from AI without ddt 

0 Kudos
Message 11 of 21
(1,201 Views)

Hi pablo,

 

how to acquire data from AI without ddt 

Do you spot the DAQmx function in my image above?

It's set to "1 chan N samples" and outputs a waveform…

(I think all DAQmx example VIs don't use the DAQAssistent!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 21
(1,199 Views)

Hi GerdW, 

 

I changed measurement technique as you suggested and used part of your code. But still have problem with time axis ( is not showing time) please have look on screenshots.

 

Best Regards  

Download All
Message 13 of 21
(1,192 Views)

Hi Pablo,

 

your graph clearly shows relative time on its X axis!

What's the problem here?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 21
(1,185 Views)

HI GerdW, 

 

time on axis is 6 hours 29 minutes 33 second but in real word measurement was around 5 seconds.

 

Best regards 

0 Kudos
Message 15 of 21
(1,182 Views)

Hi Pablo,

 

I repeat from the start: you need to check the data you have wired to your graph/chart!

 

Can you attach your VI with some data from a real measurement inside? (Run the VI until you have some data in the plot. Stop the VI. Edit menu -> set all values to default. Save the VI. Attach it here.)

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 21
(1,180 Views)

Hi GerdW,

 

about the data:

I put probe to collect it- in attachments :

1) graph3.PNG - graph from program 

2) probe graph 

3) probe table 

When i Stop my VI and reinitialize graph to default values it looks like there is some time data - picture graph-time.

so i delete graph and put new one (new graph png) and problem is still there 

0 Kudos
Message 17 of 21
(1,179 Views)

Hi pablo,

 

unfortunately you still don't attach your VI as requested.

We cannot debug images using LabVIEW…

 

What I see:

- the waveform is set to dt=0.001s, this seems to correlate with the sample rate of 1000Hz you used in one of your older images.

- The graph shows a large time (like 23mins) in your image:either there is a lot of data or you applied some scaling to the x axis. (Again: you didn't attach a VI so we cannot debug it.)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 21
(1,176 Views)

looks i found the way 

0 Kudos
Message 19 of 21
(1,175 Views)

Hi pablo,

 

for a graph you should not need to change the x scale multplier like you do.

But again: without your VI we cannot debug…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 20 of 21
(1,172 Views)