LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

[LV 8.5 ]Pb with average signal on a period (waveform)

Hello,

 

I want to have an average signal all 100 ms, I try to execute my VI but I have a problem I don't know how to solve it, where is the problem...

The error say that the amplitude of my waveform is 0 so he can't execute the vi, I expect that if the amplitude of the waveform was 0 the average signal would be 0... but there is a problem.

 

I put my vi here to be more precise.

 

Thank you.

Bye

Message Edité par leo2b le 08-19-2009 07:06 AM
0 Kudos
Message 1 of 2
(2,471 Views)

What you are doing does not make any sense. Your DAQ Assistant is set to take only 1 sample. The function you are using requires a periodic signal - not a single dc value.

 

Why don't you set the sample rate and number of samples to acquire 100 msec worth of data and just take the mean of that? For example, a sample rate of 1k and 100 samples and eliminate the Wait function. The Statistics express VI has a mean function.

0 Kudos
Message 2 of 2
(2,462 Views)