Wind tunnel speed adjustment

Hello,
I am currently writing a program to adjust the speed of a wind tunnel.  I have a few questions about my program and why it is working in a particular way.  In addition,  I am fairly new to LabVIEW so if someone see's a better way of constructing my program I am all for suggestions.  For example, I have a lot of nested loops which I just learned Consumer/Producer loops might eliminate.  I have learned a lot in the past few months but still have a long way to go.
Here is the overall goal IM trying to accomplish.  I am using an ABB ACS 550 drive to power a wind tunnel.  In addition, I am controlling the drive from LabVIEW using the digital outputs on my DAQ (NI USB-6211). 
The program I have attached, will start the wind tunnel, monitor the mach number, compare it to a target mach number, then adjust the RPM of the drive either up or down, and keep repeating the monitoring and adjusting until the target mach number (range with limits) is reached.  The one thing ive tried and have questions about is another timer. I inserted on in a frame before the daq assistants to allow the adjustment of RPM to stabilize.  I wanted to wait Sec before collecting the mach number again.  However when I did this it shortened the timer in the while loop.  Why is that? Lastly, if I put the timer to 3 sec I get an error (Code 200279).
Thanks for the help!  Again any suggestions for improvement would be greatly appreciated!
-Alex
Attachments:
Auto Speed Adjustment.vi ‏326 KB

Hello,
Sorry for not being clear, I was in a hurry the other day when I wrote this.
Over the weekend I did some more research on how to improve the program and ended up creating a state machine that completes the same tasks.  I have attached the new code however I am still having the same issues.  The answers to your questions are,
1 and 3... Ideally I would like a 3 sec wait time after adjusting the mach number.  I don’t believe this timer was included in the other code; instead I was trying to explain where I had tried putting it.  I tried putting it in the same case structure as the while loop that collects the mach number.  It was before the loop.  In addition, I tried putting it in the structure that the increase/decrease daq assistants were.  Each location allowed me to have a time < 3s.  When I set the timer to 3s that is when I would get the error.
2. When I had the timer I described above, it affected the elapsed time of the while loop.  I want the while loop to run for 3s to collect 300 mach numbers to average (100Hz sample rate).  With the addition of the mentioned timer, even if I set the length of the elapsed timer to 3 secs. it seems to only run for 3-timer secs.  For example, if I set the timer to 2 secs. the elapsed time would only run for 1 sec.  I noticed this when observing the elapsed time indicator on the front panel.
I have attached the new vi (State Machine) and a picture highlighting the timer I am talking about.  I am also having the same problem with the timer affecting the elapsed time. I have adjusted the code so it takes the timer and adds that amount of time back to the elapsed timer length, however, I don’t think this is the correct way of doing it.  Now when the program runs, the first time the elapsed time indicator will run showing 0-5secs. but for every other iteration of the loop it will only show 2-5 secs.
Lastly, as I am putting the finishing touches on my new program, if you have any other suggestions let me know! 
Thanks for your help!
-Alex
Attachments:
StateMachinev1.1.vi ‏539 KB
1.jpg ‏233 KB

Similar Messages

  • Cleaning up audio causes "wind tunnel" effect - how to fix?

    I typically use Soundbooth to clean up any problems in audio, like hiss or buzz/hum noise.  I just use the default "Clean Up Audio" tool on the left side when I open the program.  It seems, though, when I adjust the levels to anything decent to get the problems out of the audio, inevitably I get a sort of "wind tunnel" effect in the sound.  Does anyone know how I can prevent this in the future?

    http://www.omahapokernews.org
    http://www.holdempokernews.org
    http://www.7cardstudplay.net
    http://www.5cardstudplay.net
    http://www.holdemspot.org
    http://www.texasholdemstate.net
    http://www.texasholdemstate.com
    http://www.pokerbonuslist.net
    http://www.pokerdownloadz.org
    http://www.signuppoker.net
    http://www.tournamentpokerz.com
    http://www.pokercalculatorz.com
    http://www.omahaodds.org
    http://www.omahaouts.org
    http://www.texasholdemrulesonline.net
    http://www.onlineholdemtips.com
    http://www.pokerhilo.net
    http://www.poker-hilo.com
    http://www.hilopokers.com
    http://www.nolimit-holdempoker.net
    http://www.texasholdemlimits.org
    http://www.texasholdemlimits.net
    http://www.onlinepokerlimits.org
    http://www.onlinepokerlimits.net
    http://www.onlinepokerlimits.com
    http://www.texasholdemlimits.com
    http://www.7cardplayer.net
    http://www.5cardplayer.net
    http://www.omahaacademy.org
    http://www.omahapokerrooms.net
    http://www.onlinepokerroomstop.net
    http://www.playpoker-toppokerrooms.com
    http://www.texasholdemz.com
    http://www.playpokeronline-casinos.com
    http://www.texasholdem-vip.com
    http://www.gamble-poker-holdem.com
    http://www.playpoker-holdem.com
    http://www.onlinetexasholdem-poker.com
    http://www.texasholdempokeracademy.com
    http://www.vip-texasholdem.com
    http://www.playfree-poker-online.com
    http://www.texasholdem-pokerrooms.org
    http://www.toppokerrooms.ws
    http://www.toppokercasino.ws
    http://www.onlinepokercasino.ws
    http://www.playpoker-online.ws
    http://www.online-texasholdem.ws
    http://www.play-texas-holdem.ws
    http://www.internet-texas-holdem-poker.ws
    http://www.poker-player.ws
    http://www.luckyschool.com

  • Speed adjustment has stopped working

    iMovie 10.0.4; OS 10.9.4.
    I am three quarters of the way through a 45-minute project, and the speed adjustment has stopped working. The hare icon is greyed out. I have used the adjustment successfully on two or three clips in the project, both for speed adjustment and clip reversal, and these adjustments are still effective, though the SpeedBar and hare symbol have vanished from their thumbnails.I have tried a number of things, but to no avail:
    Creating a new project based on a different event. Speed adjustment does not work for that either.
    Creating a project in iMovie on a different user account. That does work.
    Reverting temporarily to iMovie 10.0 .3. Didn't work.
    Repairing permissions and restarting. Didn't work.
    Any help would be much appreciated.

    I haven't really done any cleanup or anything for that matter simply because I can't figure anything out. When it comes to track down and remove the user.js file, I can't find it at all. I even followed all the instructions to get to the profile page that it would be one. I am not trying to get speed dial as a home page, I want it to be there when I open up a new tab. On the whole speed dial options, it is selected as a new tab however this flippin search page conduit.com is there. I have even set the speed dial to open up in a new window, and that did not work. I don't know what to do. I feel for whatever reason my Firefox is not installed properly. When I installed it, the so called firefox button at the top was never there. When an online instructions shows me pictures, I have something completely different and have to spend time figureing out where this whatever is. If resetting firefox will fix the issue, even if I have to re install Speed dial and reset it all, I am totally game for that. Nothing else has worked and I am getting very frustrated by it.

  • Wind tunnel and more

    Wind tunnel and more http://www.riyadh-leaks.com/ 

    You can try a NVRAM reset, which often helps with firewire related issues:
    Steps to reset nvram :
    Power Down
    Hold down Cmd-Opt-O-F
    Power On
    at Open Firmware prompt, type:
    reset-nvram
    reset-all (this just reboots)
    If you can't get this far:
    Try to boot off the install DVD. If you can then...
    Check your hardware using the hardware test disk that came with your system. (Sometimes this is included on the install, or recover disk).
    If you just keep getting nothing, it's time for the apple store

  • IMovie 09 - Slow motion and speed adjustment of clips

    I was trying to adjust the speed of my clips in a project. When I double clicked on the clip, it told me that I needed to convert the clip before I can adjust the speed. So, I click the button to convert the clip but it doesn't allow me to adjust the speed.
    Any ideas out there? Anyone come across this? Is there something wrong with my clip? Help...

    This has been brought up before here.
    http://discussions.apple.com/thread.jspa?threadID=1900630&tstart=0
    It seems to be a combination of codec types and footage fps that causes this. Jon Walker did indepth test in that thread.
    For example, interframe codecs like MPEG4 seems to prefer conversion. Intraframe codec movies (AIC, PhotoJPEG...) are less picky, but they need to be in NTSC compatible fps. (29.97 and 23.98, instead of 30 and 24.) Above thread was about a Quicktime movie from LX3 camera with 24fps. At its native 24fps it needed to be converted before speed change, but after conforming fps to NTSC friendly 23.98 in Cinema Tools, it became speed adjustable without conversion.

  • Converting for Speed Adjustment Degrades Video Quality

    In order to adjust the speed of a clip, iMovie must first convert the clip. Allowing iMovie to make this conversion visibly (and permanently!) degrades the quality of the video for that clip. Does anyone have a work-around to allow the speed adjustment and keep the original video quality?
    (Original video files are 1280x720 and shot with a Panasonic LX3.)

    I have Visual Hub and MPEG Streamclip - can I use one of these to convert my original .mov files to whatever iMovie is looking for in order to do the speed adjustments without having the video degraded?
    Yes but you want to use the application providing the best frame rate conversion strategy. Any re-compression has the potential to degrade your video content. As to the "main" thing iMovie is looking for -- that would be the frame rate. Before iMovie can apply a speed change effect -- the frame rate must be standardized in terms of the reference clock used by QT. All other settings are arbitrary as long as they are compatible with iMovie '09.
    What "recipe" should I use when converting the video?
    That would depend on the target compression format you plan to use since some setting are "fixed" for some formats while others are user adjustable. Recommend you compare the newly converted clip with the original to see what changes were actually made so you can better decide which settings you may want to change and which you want to keep the same as the original if possible. As I said before, if you shoot the footage at the editing standard frame rate, no conversion would be required. Since changes in frame rate of cause "skips" or "halts" to smooth playback, I normally don't recommend changing the frame rate if it can be avoided.

  • NB fan speed adjust with CoreCenter

    Looks like it isn't possible to adjust NB fan speed with latest CoreCenter on a 865PE Neo2 with latest Bios.  
    CPU fan speed adjust works great.  
    Any help?  

    I've just tested Speedfan and this Program doesn't work also (and YES i've read the complete guide).  
    Is it a problem with the latest Bios 3.6?  

  • Imovie frame speed adjustment for stop motion

    Now I'm on imovie 10.0.6, I can't seem to get the software to let me adjust my frame speed.
    I'm working with stills, that I want to edit into a stop motion piece for some of the film, and show other images as stills for other sections.
    The speed editor is greyed out, as is the FF option. Also, the duration is showing in seconds, where as in old imovie i would go into the preferences to show frames per second.
    Any one overcome this issue and can help how I get the functionality I need?
    thanks

    your workflow is - sorry to say that - a bit ... inconvenient
    the usual workflow is: record using some plain green or blue background, create matte/key new background in, color-process video.
    'matting by hand' skips 50 years of video-processing ...
    you can accomplish that with iMovie, Motion or FCPX. iM and FCPX come with a bundle of 'presets' which allow similar coloring/contrasting/de-saturation as pixlr. FCPX for sure allows much more, in detail manual manipulations of color, although the 'video' tab in iMovie11 offers enough 'knobs' to create the few looks pixlr offers. Motion wouldn't be my first choice, as the app's name implies, it is basicly not meant for such simple color-corrections.

  • Speed Adjustment Trouble (tried everything)

    Hi All,
    I am having a real problem with changing speeds. I am working with a short clip which are no longer the original capture. It contains filters and the speed had been adjusted to 25% and it was fine. Now, I did this a few weeks ago and since then I've continued to edit my film. The clip has no transitions and it is strictly a stand alone clip. Lastly, the audio associated with this clip is out of sync but it doesn't matter to me since I've turned the audio tracks off and will not be using them (the film is silent).
    With that being said, today I tried to fine tune the speed from the 25% to 20%, FCE did not allow me to do it. I've even tried to take the clip to a whole new project window, all by itself and tried to slow it down and I got the same message, which is:
    "speed cannot be changed for linked items with unequal start/end times"
    Can anyone help me adjust my speeds? And by the way, the clip I'm trying to change is not linked to any other clip whatsoever. Thanks. Any help would be greatly appreciated. Best, Tyler
      Mac OS X (10.4.6)  

    If you closely check the start or end of your clip, I should that the start or end edges of the audio and the video clips do not match. In fact your audio is now out of sync.
    The solution is to unlink them (select the clip in the timeline and cmd-L = Modify/Link) and since you don't care about the audio, just reapply the speed command to the video portion. Now it should work.
    Piero

  • Audio Speed Adjustment Problems

    Is there a freeware or Audacity plugin that will let me change the speed of an audio clip by entering how many seconds I want the clip to last?
    Example, suppose I have a clip that's 60 seconds long. I want to extend it to 62.5 seconds (don't ask why; I don't even know myself). I could simply enter 62.5 seconds and it would stretch/squeeze the audio into that amount of time.
    Keep in mind I'm working on a zero dollar budget here.
    Thanks all!

    Yes, you can adjust audio... I kind of got fed up with Audacity... Peak did this pretty well (when its preferences file didn't go south).
    In Logic, you can press Apple + 9 to get to the Audio Window -- it'll list all audio files (or segments thereof) used in your project. Double-click the one you want and you'll be able to edit it in another window (I think this one's called the Sample Edit Window).
    Under the Factory Menu, check out the "Time and Pitch Machine" -- there are a bunch of settings there that should meet your needs. Just keep in mind that the efficacy of these changes depend on the material you're working on. The manual discusses this in depth.
    Also check out "Time Stretch" in the Logic Manual -- you can convert audio into Apple Loops, for example, which can change tempo and pitch pretty flexibly.
    We're presuming you own Logic or Logic Express here...

  • IPhone audio speed adjustment

    I am trying to adjust the speed on my audiobooks after they have mysteriously converted to 2x.  I have tried to use online instructions by going to settings and then to the ipod setting, but I don't have an ipod setting in settings...only music...but there is no way that I can see to make the adjustment through music.  Suggestions?

    Yes, you can adjust audio... I kind of got fed up with Audacity... Peak did this pretty well (when its preferences file didn't go south).
    In Logic, you can press Apple + 9 to get to the Audio Window -- it'll list all audio files (or segments thereof) used in your project. Double-click the one you want and you'll be able to edit it in another window (I think this one's called the Sample Edit Window).
    Under the Factory Menu, check out the "Time and Pitch Machine" -- there are a bunch of settings there that should meet your needs. Just keep in mind that the efficacy of these changes depend on the material you're working on. The manual discusses this in depth.
    Also check out "Time Stretch" in the Logic Manual -- you can convert audio into Apple Loops, for example, which can change tempo and pitch pretty flexibly.
    We're presuming you own Logic or Logic Express here...

  • Speed adjustment (not entire clip)

    I am already well aware that in order to adjust the speed of a clip in your movie you have to "convert" the clip. My question is that if you select a clip in the actual project and convert it, will it just convert the that selected clip or will it convert the ENTIRE clip (the source clip). Currently I have an 11 second clip I want to convert and it's taking FOREVER cause the source clip is kind of 2 hours or so. Haha! Can anyone help me out?

    Hi carlirae93,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    Mac OS X: How to troubleshoot a software issue
    http://support.apple.com/kb/ht1199
    Best of luck,
    Mario

  • 8110R Pearl Camera Shutter Speed Adjustment

    Hi Folks......is there anyone who can please guide mehow to adjust shutter speed on my 8110R Pearl?
    The problem is I am unable to zoom in or zoom out using the trackball, and there is one indicator of "slow shutter speed" is present all the time while in camera mode.
    Please help?
    Best Regards 
    Shariqspk 

    Unless I am misunderstanding your question, I do not believe that is adjustable.
    In the Camera > Menu > Options, you could try adjusting the light settings and see if that affects the shutter speeds.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Converting A Clip for Speed Adjustment

    Hello iMovie 11 Forum,
    I am already well aware that in order to adjust the speed of a clip in your movie you have to "convert" the clip. My question is that if you select a clip in the actual project and convert it, will it just convert the that selected clip or will it convert the ENTIRE clip (the source clip). Currently I have an 11 second clip I want to convert and it's taking FOREVER cause the source clip is kind of 2 hours or so. Haha! Can anyone help me out?
    Thank you kindly,
    Star

    xxxx
    Message was edited by: AppleMan1958

  • Clip speed adjustiment problem

    After upgrading to Mountain Lion, when I try to adjust clip speed, after the conversion process, the clip (in the event as well) becomes corrupted and turns green. I have to go into the iMoive Original folder and copy the clip back into the Event folder to restore it. And then I still cannot adjust speed. Is there a bug I need to fix? It's happened twice and is very frustrating. If anyone could help, I would really appreciate it. Thanks.

    When you change the speed of a clip in the timeline, the length of the sequence changes, it ripples the sequence. If there are overlapping tracks, such as audio, that have to move they might collide with other clips creating the kind of conflict error message you get.
    One way around this is to put the playhead at the beginning of the clip you want and press Cm-Opt-F, which calls up a new copy of the clip from the hard drive. Mark an In point and change the speed of the clip. Edit however much of it you want into the timeline.

Maybe you are looking for