LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble using Sample Compression

Hi, I have a phase lead problem using Sample Compression Express VI.

This is what I want to do. I am performing data acquisition at 1kHz, which means that I will have 1000 samples every second. I also filtered the signal using a low pass filter. However, for my application, I would like to reduce the number of samples that I record to about 100 samples a second without aliasing. So I use the Sample Compression VI with the mean option selected and a reduction factor of 10. Unfortunately, the output signal seems to be in front or lead the signal from the DAQ Assistant and the filtered signal.  So on the waveform chart, sweeping from left to right, I see the reduced signal first then, the filtered signal and then signal from the DAQAssistant.

I don't know what is going on here. Suggestions would be greatly appreciated. Thanks in advance.

Ming.
0 Kudos
Message 1 of 3
(2,734 Views)
Could you post the code or a screenshot of the code that shows your problem?

Seems like you have change te sequence of signals somewhere.

André
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 3
(2,700 Views)
Yep alright. My DAQ device is at university.Its the weekend at the moment. I will post it asap. Thanks for the help.

Ming
0 Kudos
Message 3 of 3
(2,697 Views)