LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need "time" 1D array from DAQ assistant in DAQmx

Hi Magea,

 

so you create a scalar mean value from your Y array?

Then you should create a scalar X (aka "Time") value too - and then you plot Y vs X on a XY graph…

 

I tried to build another waveform from it, or concatenate it ... No way to solve that issue ...

Mind to attach your VI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 15
(818 Views)

Sans titre.PNG
Here is a simplified version of my VI ! 

I obtain the mean that way, but if there is another way which makes more convenient my issue, I will look forward it .

What you say make sense ! 
But I really lack of basics knowledge about Labview and so I get confused between scalar, array and so ... I do not really know how to programm it ...

0 Kudos
Message 12 of 15
(812 Views)

Hi Magea,

 

NI offers a lot of FREE online resources to learn LabVIEW…

 

Just an idea to calc both the mean of the Y values and the timestamps:

check.png

 

Recommandation:

Stay away from ExpressVIs (like DAQAssistent), it will simplify your VIs in the long run!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 15
(804 Views)

Thank you very much for your kind answer.

I ll try what you propose, and then try to plot it !


0 Kudos
Message 14 of 15
(799 Views)

I feel very bad but I can not achieve to plot it ...

I did what you suggested and I udnerstand it.

But I can not find a way to plot the time stamps "updated" by dt VS mean. 

Either I bundle these entries to a XY graph, or try to change time stamps to regular data, or whatever, I miss how to conclude this ...

Should I rebuild a waveform after those steps ? 

0 Kudos
Message 15 of 15
(783 Views)