Cycle Average and RMS

Hi,
Please look at PDF for pictures included.
I’ve got an existing labview code made in LV2009. Running fine where installed.
The problem is when running it now on current verison 2011.
The main problem is the Cycle Average an RMS function.
When running from labview help ; example code:
Pulse and Transition Measurements.vi
Her below run as initial setup whit no noise, a clean sinus.
With noise added ..the calculations vary a little.
The problem arises when the signal is outside of the referencelevels:
For example with a lot of noise . Still the same raw signal, men now the noise std dev is increased from 0,1 to 0,4
Same result form small signals
The program runs a while, but again the error message comes.
When running a the code on our own system :
Trough a IIR filter:
Lowpass: , signal below null
Bandpass not quite good either..
In any case I cannot get away the error message:
Error -20308 occurred at  "NI_MAPro.lvlib:Cycle Average and RMS 1 chan.vi:2" when called from "NI_MAPro.lvlib:Cycle Average and RMS N chan.vi:1"  (waveform index 0 of 2)
ossible reason(s):
Analysis:  The waveform did not cross the mid reference level enough times to perform this measurement. Check the signal length, reference levels, and ref level units.
Have tried to adjust any referense level without any sucsess.. 
What could be wrong??
Attachments:
labviewerrors.pdf ‏621 KB

Hello Josens,
Can you let me know if this issue/questions is still active?
Can you provide the code you used in NI LabVIEW  2009 and the code you use in NI LabVIEW 2011?
Can you also provide the data sets you used to verify the behavior of both versions of the code?
Also keep in mind the error message you got from your VI:
"The waveform did not cross the mid reference level enough times to perform this measurement. Check the signal length, reference levels, and ref level units."
Have you compared the data sets you are providing/acquiring at the old installation (with NI LabVIEW 2009) with the data sets you are acquiring/providing in your newer installation (with NI LabVIEW 2011).
Based on the errors it seems like these are/might be different (eg. new/other sensors) .
You also use the default values for the settings of the "Cycle Average and RMS.VI".
If these default values don't suffice for the measurements with your new sensors, then this might also be causing issues.
If the code and the acquired data you are using in both set-ups is exactly the same (aside from the LabVIEW version), then I would not expect a difference in behavior.
However, this requires the knowledge of the data you're using for your calculation.
Kind Regards,
Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
CLD, CTA
If someone helped you, let them know. Mark as solved and/or give a kudo.

Similar Messages

  • Cycle average and RMS VI outputting unexpected value.

    I have an application that performs FFT analysis on an AC voltage singnal. As part of the whole setup, I've also included the Cycle average and RMS vi. When I've run the whole program, I've found out that the RMS value indicated is less than the highest magnitude component from the FFT analysis!(Which is incorrect). In addition I've found that the sub-vi, ma_ptmFetch.vi, within the cycle average and RMS VI, is returning an error(-20312), which says input waveform size is zero.
    Can anyone help, with this problem?

    two general observations
    1) the differences in the RMS value an the highest magnitude in the FFT may be due to scaling, 0 to peak vs RMS in the FFT
    2) the cycle average VI is a good one to use, however the default percentage of full scale numbers are very tight. These determine how many true cycles you have in your data, and may be filtering out cycles, giving you the waveform size of 0. Try lowering the limits to 70 for the high side, and 30 for the low side, rather than 90 and 10 which are the defaults.
    What are you trying to learn from the AC voltage? Are you performing some sort of power quality test?
    Hope this helps,
    Preston Johnson
    Preston Johnson
    Principal Sales Engineer
    Condition Monitoring Systems
    Vibration Analyst III - www.vibinst.org, www.mobiusinstitute.com
    National Instruments
    [email protected]
    www.ni.com/mcm
    www.ni.com/soundandvibration
    www.ni.com/biganalogdata
    512-683-5444

  • How can I use Easy Custom Device Tool to do the same thing LabVIEW the Basic Averaged DC-RMS VI does

    I am using a cRio 9024 and am reading PWM with a 9205 analog input card.  It was suggested that I use the Basic Averaged DC-RMS VI to convert the PWM signal voltage into an analog signal (RMS value) for use in my system.  The issue is that the 9024 cannot use LabVIEW models (it is VxWorks). I am working through the Easy Custom Device Tool, and wonder if someone can guide me in the right direction.
    Solved!
    Go to Solution.

    Hello,
    Can you give more details about your VeriStand configuration ? Are you using the Scan Interface (and thus the Scan Engine Custom Device) or are you using the FPGA of your cRIO chassis to access the I/O ?
    If you are programming the FPGA and using a FPGA Personalty in VeriStand you can probably add the calculations such as RMS to the FPGA code directly.
    If you are using the Scan Engine, you will need a custom device. The Easy Custom  Device Tool is just a tool, you will need to know more about what a custom device is and how to develop one:
    - http://www.ni.com/white-paper/12712/en/
    Regards
    Eric M. - Application Engineering Specialist
    Certified LabVIEW Architect
    Certified LabWindows™/CVI Developer

  • Question about Averaged DC-RMS for N Chans

    hi,all
    I am using Averaged DC-RMS.vi to filter random noise from waveforms. When
    I input only one channel waveform, it works ok. like follow:
    http://www.smth.edu.cn/bbscon.php?bid=336&id=10237&ap=496
    But when I input two channel waveforms, no waveform output. It should be
    work according to the manual of Averaged DC-RMS.vi. as follow:
    http://www.smth.edu.cn/bbscon.php?bid=336&id=10237&ap=40452
    Any suggestion would be appreciate!!

    Hi
    I`m having a problem. I`ve been triying to plot diferent signals in matlab which has and hasn´t averaged dc-rms in my program of acquisition data in LabView 7.1, but i can´t see them because they have diferent size in their data and i need to compare each other with and without  averaged  dc-rms running in the same task. I`ll apreciate your help.
    Attachments:
    sin_filtro_con.vi ‏291 KB

  • I'm in cycle mode, and 'merge' is clicked in preferences. However, when I record, my previous track data keeps getting overwritten. Does anyone know what I'm doing wrong. Interestingly, I can still see the data in the region.

    I'm in cycle mode, and 'merge' is clicked in preferences. However, when I record, my previous track data keeps getting overwritten. Does anyone know what I'm doing wrong. Interestingly, I can still see the data in the region.

    jamestait wrote:
    when I record, my previous track data keeps getting overwritten.
    since you didn't specify, are you recording in a single take?
    http://www.bulletsandbones.com/GB/GBFAQ.html#multipassrecording
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • Time Capsule HDD keeps cycling on and off while my Mac is sleeping

    Hi guys, I'm in a bit of a hurry so just gonna post dot points:
    • My Time Capsule's HDD keeps cycling on and off continuously and potentially doing heaps of damage to it's drive when my MacBook is sleeping.
    • Time Machine is set to automatically backup to my time capsule.
    • As soon as I wake up and log into my MacBook it seems to stop. I checked the time capsule icon immediately and it says "Preparing backup" so I assume it was stuck in that phrase.
    • I assume it backs up normally after waking up
    MacBook Pro Retina:
    • I usually never put my MacBook to sleep by closing the screen, so can't say if this happens when it's in closed screen sleep vs open screened sleep
    • I'm not sure if there's any difference between close screen sleep and open screen sleep
    • It is set to go to sleep automatically after 45mins of inactivity
    • My iTunes Library is stored off-device on a 2TB HDD connected to the Time Capsule
    Cheers,
    Tony

    How old is the TC and on what firmware?
    You have put Mountain Lion for OS.. is that still the case or upgraded to Mavericks??
    There has been some issues at various times with disk spinning up ..
    This thread might give you some clues.
    https://discussions.apple.com/thread/4148904?start=0&tstart=0
    Is the computer set to power nap? Try turning that off.
    Try unplugging the external drive with itunes library and see if that helps.
    If it is TM the attempts to start the backup should be in the log.
    See A1 pondini troubleshooting.
    http://pondini.org/TM/Troubleshooting.html
    Power nap.. try unplugging the laptop from power.
    http://support.apple.com/kb/ht5394

  • I'm new to Mac and the program/all called Numbers. I'm trying to use both Average and small in the same formula. What's I'm trying to do is take 20 cells, find the 10 lowest numbers, then get the average and after that multiply it by .96

    I'm new to Mac and the program/all called Numbers. I'm trying to use both Average and small in the same formula. What's I'm trying to do is take 20 cells in a column,  find the 10 lowest numbers, then get the average and after that multiply it by .96  I used to use Excel and the formula worked fine in that. Here is my Formula
    =(average(small(H201:H220,{1,2,3,4,5,6,7,8,9,10})))*.96
    This formula worked in Excel and when I converted my spreadsheet over to Numbers, this formula no longer works.
    The best that I have been able to do so far is use small in 10 different cells, then get the average of the 10 cells and finally multiply that average by .96  So instead of using 1 cell, I'm using 12 cells to get my answer.
    This is a formula that I will be using all the time. The next cell would be =(average(small(H202:H221,{1,2,3,4,5,6,7,8,9,10})))*.96
    Hoping I explain myself well enough and that someone can help me.
    Thanks

    You can still do it in one cell but it will be more unruly than the Excel array formula.
    =average(small(H201:H220,1),small(H201:H220,2),small(H201:H220,3),...,small(H201:H220,10))*0.96
    where you would, of course, replace the "..." with the remaining six SMALL functions.

  • I cannot seem to sign in to creative cloud. It asks me to sign in. Once I have, it cycles , and then tells me that "you've been signed out"..  It then repeats the cycle over and over again

    I cannot seem to sign in to creative cloud. It asks me to sign in. Once I have, it cycles , and then tells me that "you've been signed out"..  It then repeats the cycle over and over again

    Sign Out When Sign In http://forums.adobe.com/thread/1450581?tstart=0 may help
    -and http://helpx.adobe.com/creative-cloud/kb/unable-login-creative-cloud-248.html
    or
    Chat Now button near the bottom for Activation and Deactivation problems may help
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • LX835 fan cycles on and off (and on and off and...) at idle since 6.20 BIOS

    Hi,
    I have a new-ish LX835-D3215 AIO.
    The fan started to cycle on and of constantly about every 30-50 seconds (off) and 10-20 second (on) when the computer is at idle. The CPU temp is about 30% and constant and the fan runs up to 75% of max speed; both according to the PC Health monitor. It does this even when the PC is supposedly sleeping. The computer did not do this OOB, but I believe it started after the 6.20 BIOS upgrade. I have recently upgraded to Win 8 but that has not helped (nor worsened) the problem. The fan winding-up and winding down noise is really infuriating! It is much more intrusive than when the fan runs constantly during normal operation, which is at about 75% and CPU at 42% temperature.
    I am disabled and I bought this computer to place by my bedside, and it has become a big disappointment. I have to power down/up or manually hibernate it. (I recently added hibernate for this purpose). I have noted a few other posts of similar fan cycling issues in the forum.
    Many thanks for any help. Anyone - please! 

    I figured it out. Here is what you do; Shut down your mac, then unplug the power cord. Turn your Mac back on and close the lid immediately. That solved my problem.

  • Fans Constantly Cycling On and Off

    About a week ago the fans on my dual 2.0 G5 running 10.4.8 started cycling on and off. After a few days of this I ran AHT and received the following error:
    Error Code 2STH/1/2:CPUA AD7417 AD1.
    I found out this was a possible problem with the logic board and immediately took it in to the local Apple authorised repair center. They tested it and found a Thermometer failure on CPUA AD7417. They removed both processors, reset the logic board,reinstalled the processors, and completed calibration. After which they ran ADT test and Apple G5 Service test disk twice. According to them the G5 passed all the tests and had no problems.
    After I got home and set it back up the fans started cycling on and off just as they did before I took it in for repairs–they cycle on and off regardless of the ambient temperature or the amount of work the processors are performing. I ran AHT's extended test which it passed with no problems.
    What's going on? Did they mess up when they were doing the calibration? Am I going to have the same problems that prompted me to take it in for repairs to begin with? Is there a serious hardware problem that they failed to discover?
    The service was poor, and they even managed to scratch the **** out of the side of my G5, so I don't really want to take it back to them again. Unfortunately the closest Apple Store is about 4 hours away and my G5 is no longer under warranty.
    Any suggestions about what's causing the problem and what I should do would be really appreciated. Thanks.

    Blinn–
    Nope, I hadn't installed a software update. It just came out of nowhere. If you haven't done so, I reccommend running AHT to see what it shows. Hopefully you're just having a software problem.
    DaddyPaycheck–
    Thanks. That clears it up. I am definitely going to call Apple. I am really fuming about the lack of service I've had from the "Authorised Repair Center."
    UPDATE
    It just keeps getting worse. Now the G5's fans are really revving up and it is putting itself to sleep with increasing frequency. I just got off the phone with the guy who "repaired" it. The reason that AHT is showing the same error code, but on processor B is because when he reinstalled the processors after resetting the logic board he switched them. According to him, this error shows that it is a problem with processor B, which will need to be replaced. It's going to cost $581 for the CPU–no charge for labour since I've already paid to have it fixed once even though it wasn't!–but I don't think I want anyone at that shop working on it again.
    Has anyone else replaced a CPU in a dual 2.0 G5? How much did it cost you? Is this something that I could do myself?
    I think that before I do anything else I'm going to take DaddyPaycheck's advice and call Apple. At least then Apple will know that this authorised repair center is doing a terrible job!

  • Phone cycles on and off.  I have restored and so has the apple store.

    I had a screen sensitivity issue with my original 4s.  It would react to my finger getting within about 1/4 inch of the screen, and would auto dial without anyone touching the screen.  Fortunately, It happened to actually do this in front of one of the 'geniuses' on my third trip to the apple store so they replaced the phone about 5 months ago.  I was given a 90 day warranty on the new phone.  It worked fine until last week.
    It started cycling on and off.  Then it wiped the phone and all of my apps.  I restored the phone but there would be a noticeable hesitation between when I touched the screen and when the touch registered.  This went on for two days.During those two days the power indicator did not ever show any indication there had been any battery drain, but always showed 100% charged, days, then went dead without ever showing it was discharging.  I took it to the Apple store.  They tried to do the same restore I had.  The phone came back on, but then cuts on and off to the Apple logo.  The battery will take a charge, but as it sits on the charger it cuts on and off.  The store solution was for me to purchase a new phone since they either had no idea what the problem was, or wouldn't tell me.  The phone has not had rough treatment or been exposed to water or excessive moisture.   Any suggestions?

    try to force restore using: http://support.apple.com/kb/ht1808
    If that doesn't work, I'm afraid the device needs another hardware repair.
    Please note that using that article will erase everything so make sure you've got a backup.
    But restore it AS NEW if it's at all possible.
    Good luck
    Stijn

  • MSI X99S Xpower AC Cycles on and Off

    My rig has been stable for the past month (please refer to footer for components) and today it started to just cycle on and off in approximately 5 -10 second intervals.  I downloaded and updated my bios 30 days ago, and it has been very stable.  I also verified the BIOS settings today to make sure they were OK.  However, today it just started to cycle on and off.  When this occurs, the power supply is also powering on and off which may be the culprit.  Could the power supply be going into hibernation with the CPU I have?  Not sure how if it has been working fine.  I also do not overclock at this time.  Any suggestions on what to try?

    Not sure how concerned I should be, however, yesterday when I was going to perform the tasks posted by pandaz, as well as perform the paper clip test on the power supply (this verifies the integrity of the power supply by taking the MOBO out of the equation), the issue did not reoccur from the previous day (it was off all night, but still plugged in).  The first time this happened (shortly after building my rig about two months ago), simply clearing the CMOS took care of the issue (in review of my notes), and this time, clearing the CMOS did not, however, letting it sit overnight did.  Do I have an issue I need to be concerned about?  My legacy XPower Big Bang never had any issues after setting it up a few years ago.  Thoughts?

  • Airport cycling on and off repeatedly

    I have a time capsule purchased March 2008. The updates are current. Had no problems until the last 2-3 days. Now, it is cycling on and off. It will not stay connected to the internet. The light goes from green to yellow to off to yellow to green. I have shut everything off, unplugged the time capsule, the DSL, ran the disk repair utility.
    There are no clicking noises. When it is working with the green light, all seems well but it keeps shutting down.
    Is it broke? Software problem?

    Will I loose all my backups when the power completely fails? It is a 2 terrabyte hard drive and I have it full with 2 machines backed up on it.
    The data should not be affected as it is stored on the internal hard drive ... which (push comes to shove) can be removed. One thing you can do, is if you have another USB drive handy is to perform a data archive to add some additional "insurance." You have been doing these all along, haven't you?
    I can get the Apple store to put a new power supply? Or should I buy a new time capsule?
    There are no replaceable parts that I am aware that Apple will perform on the TC, but it would be a good idea to have the Apple Technician give the TC a good look at to verify if even the power supply is an issue in the first place.

  • Tds cycle mapping and testing

    hi,
    i have the problem regarding to the tds cycle,so pls inform about the total process of 'TDS CYCLE-MAPPING AND TESTING'
    REGARDS
    JANA

    hai,
    the following is the process to get the TDS certificate
    TDS Certificate
    1.EWT-Basic Settings-Check Recipient type-In-WHTYPE-Rectype-Text
    1.Extended WHT – Basic Setting-india-define business place- 1000
    Enter 1000 as business place and enter description and fill address coloumn.
    Assign Business Place to Country Calendar and Day After
    Define Section code as 1000 and assign business place and fill address coloumn
    Company
    Leave on row as blank
    Enter TDS circle
    Enter TDS No of the company in Search Term ½ and after fillup the address and save it
    Extended WHT – Posting – Certificate numbering for WHT
    1.     Define Numbering Class
    2.     Define Numbering Group
    3.     Define Number Ranges
    4.     Assign numbering Group Numbering class
    1.Extended WHT – Posting-India- Remittance Challan- Document Type
    2.Maintain Number Group
    Company code – Business Area – WHT Type – Number Group
    3.Maintain Number Range for 1,2,3,4,5 under----- text number range from 10001-99999
    4.     Assign number range to number group 1-01,2-01,03-01,4-01,5-01
    WHT tax certificate for Vendor & Customers
    1.     Maintain Number Group and SAP script forms
    Company code/Business Place/Offtake Key/form/No.Group
    2.Maintain Number Range – 2007 – 0001 -1000
    3. Assign Number range to number groups
    1-01,2-02 etc.
    Pls assign points if it is useful.
    Govind.

  • I have three email msgs that i attempted to forward however they cannot be sent and are just "cycling overr and over, any ideas why?

    i have three email msgs that i attempted to forward however they cannot be sent and are just "cycling overr and over, any ideas why?

        Hi benzgotcha32,
    I want you to have the ability to forward any needed emails! Let's review what trouble is preventing the messages from going out. Which device do you have that's not allowing the messages to be sent? What type of email account do you have? Are you able to create a new email and have that successfully send? I look forward to hearing back from you so we can can get this matter resolved.
    Thank you,
    MariaC_VZW
    Please follow us on Twitter @VZWSupport

Maybe you are looking for

  • How does one remove content from iPod/iPhone using iTunes 11

    Well, I can more or less get content on my mobile devices with iTunes 11 (managed manually, as I've always done).  How do I get it off?  I have a series of files formatted as audiobooks (continuing education). I put them on my iPhone (for in the offi

  • Red Eye Tool Not Allowing me to Open

    I followed the instructions in iPhoto Help, Double Click the Library Photo, Edit Button, Zoom, etc. But the " RED EYE Button " is grayed out and does not allow it to open/work, just the Enhance and the Touch Up buttons are black and allow me to use t

  • IPad 3 with iOS 6.1.3, slow wifi

    I have an iPad 3 (the invisible one that disappeared when the iPad 4 came out *smile*) that's been updated to iOS 6.1.3.  I can connect to WiFi fine, both 2.4 and 5GHz.  However, when I run "speedtest.net", which used to run just slightly less than o

  • Port is added by upnp but still inaccessible

    Hi. I'm new to miniupnpd and iptables. Just now I successfully installed and started miniupnpd on my Linux router, and I ran Skype which then successfully added port (55043) via upnp. However, the port was still inaccessible from internet. Is there a

  • "Exact Search" problems (still)

    Saw a post about a month ago indicating that "Exact Search" returns non-revelant items. It still has a problem. When searching for (example) "scripting additions", hits include anything with only the word scripting, anything with only the word additi