07-11-2017 05:17 AM
Hello
I face the probelm error 20023 and I try to use "Build Waveform function" to add the time for filter but the wire of waveform still fail. Now I dont know how to fix it.
Could anyone please help me solve it ?
VI is attached
Thank you in advance.
Nachatcharin
07-11-2017 05:27 AM
plz try to backsave to <=2016 .. for the poor people not running 2017, 2014 would be good
07-11-2017 05:36 AM - edited 07-11-2017 05:37 AM
Oh sorry sir, I attached older version in this reply
Thank you
07-11-2017 05:38 AM
Hi bettetta,
I try to use "Build Waveform function" to add the time for filter but the wire of waveform still fail. Now I dont know how to fix it.
Maybe you should fix it by wiring the correct connectors using the needed datatypes?
Right now you try to wire a scalar DBL to the waveform input of BuildWaveform. Why?
Why do you use "devPositionY" for your waveform?
What will be the Y array of your waveform?
Where should your dt come from?
Please provide more information about your VI…
07-11-2017 05:52 AM
07-11-2017 06:18 AM
Sorry for that, I just read from other topic which suggest to use waveform but I dont know how to use it.
Any way my original file is this (attached) I want to make the chart more smoother (see in Pic 1) then I think I should use the lowpass filter.
PS. The only important data is devPositionY (the measurement of distance of my UWB sensor) and other data from the unbundle is not necessary to plot the chart.
Thank you for your help,
Best regards
07-11-2017 06:32 AM - edited 07-11-2017 06:35 AM
Hi bettetta,
why do you think you need to use waveforms and ExpressVIs for this:
Adjust the length of that "running average" according to your requirements…
(Why don't you connect the "Output" indicator directly to your DAQ VI? Why don't you use UnbundleByName?)
07-12-2017 05:55 AM
Hi GerdW,
Oh I forgot that I should use UnbundleByName, thank you so much.
Anyway can I use lowpass filter instead of Mean PtBypt ? (I just want to know but for Mean PtBypt is work for me thankyou again)
Best
07-12-2017 06:17 AM
@bettetta wrote:
Anyway can I use lowpass filter instead of Mean PtBypt ?
Since you are getting 1 point at a time, you should use one of the items in the Filter PtByPt palette if you prefer using a filter instead of the moving average.