How to reduce on full speed running loops

I have a problem, with time delay's in my main vi. That is, all the loops are running on full speed. How can i speeddown the loops?. Example: my Flow loop. it is running for 20 sec's and resets the flowcount, after that it can wait e few sec's and the run again.
How to fix this?
The vi what i have attached is for 1 channel, but i have total 5 channels and a waterhousehold system.
I'm running with Labview 6.1 and the Hardware: Fieldpoint
Tia, William
Running with Labview 6.1
Fieldpoint hardware
Attachments:
hpc_test_02-08-04_channel_3.llb ‏315 KB
hpc.iak ‏27 KB

Look in the Time and Dialog palette and grab a "Wait (ms)" function and drop one in each loop. Then wire a time delay to these. This will put a time delay in each loop that you specify.
You'll probably have to experiment a bit to figure out how fast each loop needs to run. With no delay in the loops, they will run as fast as your processor can handle, which could be 10s of thousands of times per second. Drop an indicator on the iteration terminal in one of your loops and let it run for a couple seconds and you'll see what I mean. Plus with no timing in the loops, they will not run at a steady rate as they fight for processor time (also appearent when you watch the iteration counter, it jumps)
A time delay will give your system time to do othe
r tasks and will make the loops run at a steady rate. It can be as small as 1 ms, but it's not likely that you need it run that fast.
Ed
Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

Similar Messages

  • How to reduce the time of a loop

    Hello,
    I have a VI how generate and acquire signals via a NI-USB device.
    I have lighted a bit my VI because the rest of the calculation doesn't increase the time spend in the loop.  (I acquire 8 signals and i do 2 PID in the real VI)
    So, the VI is made for read two hall sensor of a motor and tell me in wich position is the motor (Motor is a stepper with 20step per 360°). But I think that my VI only count from 0 to 19 ..
    I have tried to decrease the values of both DAQ but then the sine wave doesn't look like sine.. The loop run at 200ms/iteration
    If anyone know how to run it faster it would be great
    thanks
    Max
    Attachments:
    Loop_time.vi ‏181 KB

    And use a zip file.  Many people can't open RARs.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How long for the full speed to kick in.

    So the wonderful BT man left a few hours ago. Very polite and proffessional, he came in and seemed grateful that I had a diagram showing him what needed to be done to due socket and power arangements.
    Anyways, it has immediately synced up and speedtest is reporting Aprox 27 down and 5 up, which was somewhere in the ballpark of what we were expecting for infinity 1.
    http://www.speedtest.net/result/1993735692.png
    As we signed up to infinity 2, how low will it be before the new profile kicks in for the real speeds ?
    Thankie.

    microspud wrote:
    Hi,
    You should already be on Infinity 2. Infinity 2 refers to "VDSL 17a Profile" which means the signal bandwidth used to delivery your broadband is 17mhz (double what it used to be).
    I have recently had my Infinity installed and was straight onto the 17a profile.
    I think your speed is probably the maximum you will get at the moment.
    Cheers,
    Richard
    Would find that strange as I was previously able to get ~10-12mb on ADSL2+ and expected around 27-28 on btinfinity 1 when the option was finally enabled for my road (we got left off the list until a mod here intervened).
    Im thinking potentially Ive run into the same problem again, as if I enter the telephone number of the house next to mine (a different street, but same cabling for telephone lines) it comes back with
    BT Infinity Superfast fibre optic broadbandGreat news! You are eligible for superfast BT Infinity.73.2Mb download
    20.0Mb upload

  • How to reduce cpu fan speed just by hardware?

    Hi,
    I have a K8N Neo4-F, AMD3200+ and "arctic cooling freezer 64 pro" as cpu fan. The rpm range of this fan is from 300 to 2200. I use "cool n' quiet" and "Smart CPU Fan Target with 40°C" as bios setting. When the cpu is idle ( ... just doing some typing or so on ...) it has a temperature of 32°C and the fan has ~950 RPM.
    I think the fan speed is to high for this cpu load (< 5% and 1000Mhz CPU Clock). My expectation in this szenario is to have the cpu fan speed near the lower bound (300 rpm), but I don't know how to manage this (with just bios settings)  ... any hints? 
    Thanks a lot ...   

    Quote from: Kwea on 12-January-06, 22:29:54
    My point was you did what D.O.T. is supposed to do without using it.
    Of course it's point is to auto-overclock the system to whichever degree it's set at. The problems come in because a lot of the settings it uses aren't always compatable with a lot hardware combinations. That's why it's best to come up with your own OC settings that are stable with your parts.
    It's just like how the Nvidia/ATI speedup option seems like a good idea, but works poorly in practice.
    Both are more useful to the marketing dept. in having more "why tech" features available to print on the outside of the retail box than they are to the end user.

  • How do i get the CPU to run at full speed steadily?

    how may I get the S10's CPU to run at the full speed (near 1.6GHz) steadily?
    since the power scheme's fixed to be "Lenovo" and is only adjustable through its own energy management
    I'm not able to set the power scheme as "Always On" like how I may do with other laptops
    I tried changing every option possible and found no way I could stop the CPU from constantly reducing its speed to half
    it keeps going back and forth between 1.6 & 0.8 GHz 
    how may I possibly get this fixed up? 
    I'd like to have my CPU always run at the full speed when plugged in 
    thanks a lot

    eggimage wrote:
    thanks
    but i've tried adjusting the frequency too
    it is set to the highest frequency by default and still isn't stable
    what program do u use? try cpuz, www.cpuid.com
    EDIT: i also want to ask, why do u want to lock the cpu to 1.6ghz? it will not make any noticable difference in performance, will just keep the vcore high, resulting in high temps, and louder fan..
    Message Edited by nagatyh on 04-05-2009 06:43 PM
    AMD Phenom II X6 1055T / 2xATI HD5770 CF / 8GB DDR3 / 4x500GB RAID-5 / Win 7 Ultimate x64
    Lenovo S10e Black / 2GB DDR2 / 160GB HDD / 6-cell battery / Win 7 Ultimate x86
    Motorola Xoom

  • 2008 - How to make the SATA drives run full speed with Bootcamp and XP ?

    Has anyone found a way - after all this time - of repairing a 2006 install of Windows XP SP2 - or in someway fixing the rather slow SATA drive problems?
    I have not upgraded to 10.5 - but would if the new Bootcamp somehow (via new drivers??) fixed the problem!
    My machine is now 2 years old ( 2.66 4 core ) and I finally need XP's full speed for a project - but most of the posts I've seen are fro 2006 and expired.
    Help!
    -Glen

    And again, my objective to is get 'full speed' from the SATA drives while running XP.
    -Glen

  • W520: How to get full speed and turbo on battery power

    Here is how you get around the on battery max frequency limitation (of 1.2 GHz, at least for my i7-2620M) and no turbo (well, almost, read on):
    0. Assuming you have max performance enabled everywhere possible (BIOS/PowerManager/Windows Power Scheme)
    1. Load ThrottleStop.
    2. Set the multiplier manually to your maximum multiplier (e.g., 27x for i7-2620M, 23x for i7-2820QM, etc...) or Turbo (which is the setting after your max multiplier).
    3a. Enable ThrottleStop
    3b. (optional) Check in CPU-Z and make sure that your highest multiplier is being used when the CPU is utilized. If you selected Turbo, you should have turbo enabled at this point.
    4. Disable ThrottleStop
    5. Exit ThrottleStop, so that it doesn't waste any battery power, since it is no longer needed
    This will change the max frequency (and max multiplier) available from whatever Lenovo decided to arbitrarily fix it at (e.g., 1.2GHz) to the correct max frequency (which in my case is 2.7 GHz / 3.2 GHz for turbo). Now your laptop will be able to correctly go from 800MHz to whatever is the max frequency of your CPU, using both EIST and C1E. Turbo will also kick in, if you enabled it in ThrottleStop and the Lenovo PowerManager app will even show it as enabled.
    Thanks Unclewebb for letting us get around this stupid max CPU frequency limitation that Lenovo has imposed on us.
    Disclaimer:
    Do this at your own risk, since Lenovo does not officially support it.
    Turn on active cooling, if you do CPU intensive stuff for any prolonged period of time. This will take away some on battery time, but if battery time is of ultimate concern to you, then this change is probably not for you to begin with.
    If you go through prolonged periods of CPU intensive activity, you will lower your battery life and produce a lot of battery heat, because you will have a relatively high discharge rate. A high discharge rate reduces both the number of charge cycles and the maximum charge capacity of a Li-Ion battery. I don't know how safe all of this is, so do this at your own risk and probably monitor temperatures along the way. Other laptops can do Turbo and full speed on battery power (e.g., the slim 3 lb Sony Z, with the i7-2620M), but then other laptops have different designs and cooling systems, so who knows how the Lenovo W520 hardware will react to this.

    Hi,
    I have the opposite problem - my i7-2720QM is fixed at 2.2GHz no matter how hard I spank 1, 2 or all cores, and no matter what System Performance settings I apply.  It even runs at this speed, and gives the same bench marks when on battery  with the "system performance" set to Low.    
    No one even knows what the various System Performance settings actuall mean. E.g. Neither Lenvo support nor these forums could tell me what the difference between "Maximum Turbo","Turbo" or even "Low" under "System Performance" in the Lenovo power manager Advanced settings.
    I have been trying go get turbo boost to work for 2 months. I have wasted so much time with this machine, I could have bought 2 Macbook pros for the cost of the time lost.
    I dont know why Lenovo have disabled the turbo boost (and the opposite, turbo drop?)  feature for this CPU - is it deliberate, or incompetence?  Its certainly false marketing and extremely annoying that I have to use my ancient PC to do single threaded type work which I know the Laptop can manage if it were not crippled.
    So people whos clock speed drops when on battery are the lucky ones.  Mone doesnt even if I want it to.

  • One of my MacBook Pro's fans is running at full speed

    Out of the blue today, my 2011 MacBook Pro started fans went mental when I awoke if from it's sleep. They started running at full speed, far louder than I've ever heard them before. I searched through other discussions and it suggested I try an SMC reset. I performed one of these with no success.
    I then opened smcFanControl and noticed that my leftside fan was running at 7000rpm+ and the rightside fan was running at normal speed 2000rpm. It randomly spools on and off high speed and I cannot find any fixes or similar problems online. Can anyone suggest a fix for this or should I be taking it to a repairer?
    FYI my logic board was only replaced in April under warranty so could it be faulty?

    Hi andyBall_uk
    SMC fan control measures temp also. Currently running at 47*C as you can see in the screenshot below. I tried overriding the fan speeds...works for the right fan but not the left one so it appears only the left fan has the fault.
    The weird thing is, when you press your finger down anywhere on the left speaker next to the built-in keyboard, the fan slows back down to normal speed, but when you let go it speeds back up again. I might open it up in the morning to see if any of the connections are loose, because it seems weird that this happens with a small amount of pressure applied to the body. Also of you tilt the macbook it sometimes slows back down to normal speed (but sometimes stays at high speed). I will let you know how I go. Thanks for your suggestion/s

  • G500 fan running at full speed for no apparent reason

    I have G500 that worked perfectly for a year now. My operating system is Windows 7 Professional. Yesterday the fan started working full speed while the laptop was idle, I wasn't using it and the software that was running in the background were the usual programs I have been running for the last year. First step was to check the temperature of course, which is normal. Then I checked if anything weird is running in the background and creating high cpu usage, but that was not the case either. What I noticed though was that fanspeed is not recognising the fans or counting their speed. Is it a problem on the hardware? It is really annoying. The speed also fluctuates very often, reminds me of how it should work while gaming and definately not when idle. 
    Thanks

    Hi Zoe,
    Welcome to Lenovo Community!
    As per the query we understood that you are facing fan issue in your G500 laptop.
    Please try to boot the system to safe mode and check for the issue.
    Also perform a clean boot and check for the issue, if still the issue persists try to update the BIOS and check for the issue.
    Click here for the BIOS update.
    Hope this helps. Do post back if issue persists!
    Best regards,       
    Ashwin.S
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • After fresh Mavericks Install Fans never stopped running on full speed. What to do?

    Hello
    I had Mountain Lion installed this afternoon, but wanted to upgrade to Mavericks. I went the upgrade path through the Mac App Store, but after the install several things still weren't working properly (as they had been with Mountain Lion), so I erased the disk an reinstalled Mavericks from scratch. Now, at the time in Mountain Lion Finder kept freezing the MBP at 100% of one of it's cores, which heated up the CPU quite a bit. I therefore installed smcfancontrol to have quick access to a setting I called "Cool", essentially running both fans at full power. When I decided to reset the system, this setting was activated. Now, after the clean reinstall of Mavericks, the fans are continiously running at full speed (as in 5940rpm). In smcfancontrol I cannot set the fan speed lower than that, as it seems to be the system minimum now. I can't set them higher either, but if I choose the pre-defined "Higher RPM" setting, the fans manage a whopping 7k something. Didn't sound healthy though, so I'm keeping my fingers away from that.
    Anyway, is there a way to reset the fan speed defaults?
    Specs:
    Model Identifier:          MacBookPro10,1
    Processor Name:          Intel Core i7
    Processor Speed:          2.7 GHz
    Memory:          16 GB
    SSD: 512 GB
    [EDIT] I found out how to change the defaults of smcfancontrol (there are config files; ~/Library/Application Support/smcFanControl/Machines.plist for the machine "defaults" and ~/Library/Preferences/com.eidac.smcFanControl2.plist for the preferences)
    Hope this helps anyone in the future, now I just need to find out what the default values are for a MBP =)

    I have a similiar problem.
    I updated to Mavericks last night and now only one of my fans isnt working.
    I tried Smc reset.
    I also have Istat Pro and I can see the right fan is not working.
    Does Apple reply to problems here?

  • Cold MBP, exhaust fan running full speed

    Hello,
    My 3mo old MBP exhaust fan has started running full speed (6200rpm), no processes or heat are to blame.
    iStat pro say's the fan is currently at 6196rpm, highest temp sensor is at 30 degrees C.
    Process monitoring says kernel_task using 160% of my two cores (interrupts?), this is a cause or a effect.
    Reseting SMC had no improvement (unsure if I've managed to do correctly). Appart from that the machine works, very slowly, noisy, and very cold on my laps.
    I'm on a business trip, don't have the diagnostic CD with me...
    Any ideas so I can at least work during this trip ?
    Thanks for your help, and for these forums.

    Hello folks,
    I'm in the same situation, the only difference is my hardware from 2006:
    Model Name: MacBook Pro
    Model Identifier: MacBookPro1,2
    Processor Name: Intel Core Duo
    Processor Speed: 2,16 GHz
    After running the ASD, I got this:
    +Temp Sensor - Palm rest L test 1 - Sensor Reads Within Operating Range.+
    +-Check to ensure that sensor reads within operating range.+
    +ERROR - Unable to read sensor+
    +- T E S T F A I L E D -+
    The sensor code is the same one from the post above: Ts0P.
    So now, after looking for more than 4 hours on the internet, I couldn't find a clue.
    What exactly is the location of this sensor?
    Can someone please post a picture?
    How can i fix this?
    Thanks for everybody.
    Message was edited by: Pierobon
    Message was edited by: Pierobon

  • Mac Fan runs at full Speed from start, even in standby mode!

    Hi Folks
    Since this night my iMac's fan (summer 2012 model) runs at full speed from the beginning of powering it on. It even runs at full speed when I put the iMac to sleep!
    So far I tried to reset the SMC three times, noo effect at all. I checked also the activity log, no processes or other activities are causing this. I read about defect HDD sensors, could that be the problem?
    Any ideas how to fix or at least control this issue???
    Thank you all for your help!
    Matt
    PS: That's a pretty annoying sound I'm hearing here, I feel like on the roof top of the Hancock Building at wind speed 200!

    I have tried the SMC reset as instructed and the fan is running normally.  It is a bit of an intermittent problem so I will monitor the performance of the computer over the coming weeks.  If it persists, I will take it in to a service centre while it remains under warranty.
    I guess the "cure" I had stumbled across by accident was nothing to do with turning the computer upside down, it was because I was unknowingly performing an SMC reset. The reason I turned the computer upside down was to find the serial number on the base of the stand so I could report the fault to Apple. Of course, when I plugged it back in to contact the support line, it worked fine. 
    Once again, thanks for your help.

  • G5 Fans run full speed.

    My G5 Duel 2 ghz June 2004 died. If it started up it could freeze at any time and then the fans would run wild. After much research the outcome was a bad processor or logic board. Because of an error message I got only once in this whole ordeal that mentioned cpu 1 I decided to go the processor route. I thought cpu 1 might be the top one. I got one off of ebay paying close attention to get it from the same machine and the same part number, 630-6611. It works great. I'm now off my Cube and back to my G5. Only problem now is the fans run at almost full speed all the time, Very loud! I think I've heard about a command I can type into the terminal to fix this. Is this true? I know the fans run at full speed when they don't get info from the temp sensors. Can this be fixed?

    I noticed recently that a lot of powermac G5's are having the same startup issues. The grey screen with or without the Apple logo and just stops there. I have a dual 2.7 I bought in 2005 and never a freeze up, never an issue. I use matched Crucial ram and often do permission repair before and after any updates. I run DU often and never a problem until last week.I started it up as usual every morning and then the blank grey screen. I Changed internal battery for new, zapped the pram, PMU reset, disconnected every wire going into it except the keyboard and mouse, made sure I had at least 20% free HD space, dusted it inside and even checked the ram with another G5 to verify. I did single user mode and also tried applejack but both frooze up the keyboard. I was pulling my hair out.I did target disk mode and every thing in the drive checks out with Disk Warrior and DU. It eventually started up one morning without any issues and ran fine all day and the temp sensors were at a steady 62%C each at automatic processor performance in energy saver.The next morning it was back to the same frozen grey screen, it did not do the spinning gear thing. I must have worn my fingers out holding 4 keys for the pram boing 2 times thing. So it wasn't the mobo or the processor going bad or else how did it manage to run all day before? And I mean a solid 14 hour run. Now I did something just after the pram zap and let go just the P &R keys while still holding down the Command and option keys after the 2nd boing holded down the shift and delete key along with the Command and option for a short while. It started up. I repeated this a few times and it worked for me. Now I understand that holding down the Command -option-shift -delete keys forces a startup from a drive other than the main one.That was essentially what I did after the pram thing and it worked. at least for now. Go figure. At least I know it's not the processors or mobo the culprit.

  • Classic makes fans run full speed

    I think this is new. When I run Classic my fans run full speed (10.4.8 G5 iMac 20") with any of the kid's games. I've done the SMU reset, blown dust from vents, tried different power settings. I think blowing out the dust reduced fan use in OS X, but not in classic.
    Thermograph data suggests the fans are behaving appropriately, so I think the system is running hotter than in the past. Anyone have other ideas? Anyone else seeing this classic behavior?

    Have a look at one post I made some months ago :
    http://discussions.apple.com/message.jspa?messageID=1621311#1621311
    I discovered that going back to Classic from one user to the other make a large use of CPU (80 to 90%) thus rising the temperature and conversly the fan...
    If you open classic in one enironnment that's not true. Check it with Acivity Monitor.
    Hope this helps.
    JfS

  • My iMac G5 Fans run at full speed when using regular everyday applications.

    When using just normal everyday applications such as using about 30 min of Safari to surf the web or maybe something else, my fans run at full speed. I have just got a new logic board replacing my old faulty one. How can I fix the fan problem?
    Thanks!

    Hi again Miriam,
    With more news for you and iMacG5 on the fans go crazy. I just got back my computer from the repair center. After more than a week under observation, the technician told me that they just couldn't replicate the problem. They had the computer running non-stop during all this time, not even allowingit to go to sleeo mode and nothing.
    The CPU fan never went beyond 2300 rpm (or so) and never went to sleep mode on and off by itself. Furthermore, they ran all possible tests and everything comes back as OK.
    Right now I have a movie running on the background, together with a photo processing software open and other smaller processes and the CPU fan is running at 4361 rpm !!! the temp of the CPU is 66.3 Celsius.
    Any thoughts??? It's really making me crazy because the computer was neverlike this and now it sounds like a hair dryer. I emphasized with them the fact that this just started after they changed the logic board and as coincidence after Ioaded the security update 2006_04. The technician told me it may be software related. If the computer doesn't go to sleep by itself, then he recommended to reload the operating system.
    Any comments appreciated.
    Zwirek

Maybe you are looking for

  • How to edit a PDF in Photoshop CS4

    Hi there, I'm having some real trouble trying to figure out how to edit a PDF in photoshop cs4. So i need to edit/change text, move things around, that type of thing. I work in Windows. Could someone give me a bit a low down on how this is done? Much

  • Hyperlink to a bookmark in PDF file

    I have a PDF file included in my project help source. I have added a hyperlink in a topic to open that PDF file. That is working fine and no problems. Is it possible to define a hyperlink wthin a topic to open the PDF and go to a bookmark within the

  • Why can't I open forms in reader on my ipad?

    WHy won't reader open interactive PDF forms. I get the please wait message... Your PDF viewer may not be able to display this type of document. im using an ipad with version 11.3.2

  • I lost every thing on my mac can i transfer my music off my iphone4 to my mac?

    i lost every thing on my mac how can i transfer my music off my iphone4 to my mac & ipad2

  • Windows 8.1 Product Key doesn't work

    Back in November, I bought a Lenovo Y50 Laptop that came with Windows 8.1 already preinstalled. After a month or so, a message kept popping up telling me to activate windows. It then would take me to PC Settings to activate it. I could see that there