LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

analog signal smoothing

SO obviously I am not sure how to do that, maybe you can shed some light on it. Once I acquire the data from my daq assistant, convert it to a 1d array of scalars ...????

0 Kudos
Message 11 of 15
(801 Views)

Also, I am only using one channel of the daq, channel 0

0 Kudos
Message 12 of 15
(800 Views)

Ok so I was able to get more data points by queueing the data, but now I want to be able to zero the reading, which I am trying to do with a shift register, but after it initially goes to zero, it reverts back to the original value

 

0 Kudos
Message 13 of 15
(787 Views)

I think you need to get away from the express VIs.  Converting to and from the dynamic data type just adds unneeded complexity.  I've attached a simplified VI that runs a DAQmx task and saves the data to a text file.  Hopefully this will be a good starting point for you.

 

I'm not sure what you are talking about with "zero the reading".  Are you trying to remove the DC offset?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 14 of 15
(769 Views)

Yes, I am trying to remove the offset so I have a zero starting point. I was actually able to do it by negating the initial data in a case structure, then indexing that array from the shift register and adding the negated initial value to the current value. Thanks for all your help.

0 Kudos
Message 15 of 15
(767 Views)