NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Mrssss
Posts: 11
0 Kudos
Accepted Solution

Eliminate peaks from measuring

Hello everybody.

 

I have a problems with my VI. I need to measure a frequency of signal. While I gauging I have a correct value, but after reset of Elapsed Time sometimes I take a peak. I can't eliminate that. I'm almost newbie in Labview. I will be thankful for any help with that.

 

Lukasz

Active Participant
ThiCop
Posts: 1,668
0 Kudos

Re: Eliminate peaks from measuring

Hello Lukasz,

 

Do you have a data log of how your acquired data looks like?

Or do you have a screenshot that illustrates the unwanted behavior?

Kind Regards,

Thierry C - Platinum Applications Engineer - NI Belgium
CLD

If someone helped you, let them know. Mark as solved and/or give a kudo. :smileywink:
Member
Mrssss
Posts: 11
0 Kudos

Re: Eliminate peaks from measuring

Hello,

 

Thank you for you answer. During the gauging I observed perodically a peaks (see attached screenshot). This VI measuring the frequency of simulating signal like real from analog card.I think it's something wrong with "Elapsed time" function or loops. I can't deal with it. Elapsed times is a internal clock (count a 3 second, after that reset and count again). I will be thankful for any helps.

Proven Zealot
johnsold
Posts: 7,723

Re: Eliminate peaks from measuring

Your problem occurs after you reset the Elapsed Time VI. On the next iteration you divide by a very small number.

 

Look at the modifications I made to your VI.  Run it until you see one or two of the peaks. Stop.  Then look at the three arrays until you find the point where the peak occurs.  Notice that the denominator values may drop by a factor of 1000 or more.

 

Lynn

Member
Mrssss
Posts: 11
0 Kudos

Re: Eliminate peaks from measuring

Thank you for your reply. I tried to remove/ cut-off a unwanted peaks but I can't gave a good results.

Proven Zealot
johnsold
Posts: 7,723

Re: Eliminate peaks from measuring

Exactly what is it that you are trying to calculate?  I cannot offer suggestions without understanding what you are trying to do.  It was clear that dividing by a small number causes the peaks.  What shoud you divide by  to get the results you want?

 

Lynn

Member
Mrssss
Posts: 11
0 Kudos

Re: Eliminate peaks from measuring

Hello Lynn

 

Sorry for my absence. I need to measure a frequency from simulating signal. (frequency from 0 to 50 Hz). Everything is okay, excluding that peaks. I can see a frequency in "Czestotliwosc". I count a Falling or Rising edge and compute in knowing peroid of time. Elapsed time is a function of "Windows timing" in this VI.

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page