Speedy-33 feedback loop

Hi, i'm using speedy-33 as my DSP target and i wish to perform a feedback loop. i tried the example found in the NI website but it shows error that the array size is mismatch.
Does anyone know how the data flows?
Let say when i create an analog input, it is a 1-D array. Inorder to create a feedback loop i need to create an array of known size 1st, am i right to say that?? From there onwards, wat are some of the ways that i can can my array size or when do i need to alter my array?
Can anyone pls help??
Thanks

Hi steven,
Thanks for the reply,
Using labview 8.2, DSP target speedy-33
Currently i'm trying to get a feed back from my sample delay function then add back to my signal to create a reverberation effect.
problem
1)the waveform i see from my waveformchart are square wave.
2)I try to set my frame size at 1024 but the programm just run for a few sec and stop.
3)my audio signal sounds like transformer singing!! 
can someone help me point out where my problem lies on??
Thanks in advance.
Attachments:
Feedback using for loop.vi ‏49 KB

Similar Messages

  • MIDI feedback loops

    Per a different thread discussion, I've started using Plogue Bidule to host most of my Audio units and I'm using IAC to send MIDI from MainStage to Blogue.
    However, I frequently get popup dialogs warning me that there is a MIDI feedback loop and I'm prompted to "go online" or "stay offline". I'm doing the latter and everything works fine but I'm wondering how to fix this problem (or at least get rid of the dialog).
    I'm not near the machine at the moment but I'm wondering if MainStage is automatically receiving MIDI back from those IAC ports and just blindly sending events out again? If that's what's happening, I can probably create some more dummy MIDI devices and associate them with those ports but it's a pity to have to do this.

    This doesn't really answer your question, but I am using Reason with MainStage through rewire and can remote control reason fine with MIDI. Once I launch Reason I can create an external instrument channel strip in MainStage. Then I can set the port to Reason and choose a channel, and then map one of my knobs to send a specific midi controller on this external channel strip. Then Reason receives this midi controller whenever I turn the knob on screen. I imagine you should be able to do something pretty similar with Live in slave mode...

  • Any way to save data in loop without using shift register or feedback loop

    Hello all
    I was thinking, is it possible to save data in a loop to next iteration without the use of a shift register or a feedback loop?
    I need the possibility to reload data within a loop from a lvm file, but I want to use the same data until i load some new ones.
    The reason why I don't want to use the shift register or feedback node is due to speed, even though I am not sure if the shift register
    actually moves all the data from one register to another, or if it is stationary until a change in the data occur.
    The data I want to reuse is medium-large (6 force measurements, 2 pressure, 1 flow channels)of about 10sec data in each file with samplingsrate of 2kHz..
    In my analysis program I have many CPU demanding calculations and 3D graphs, so I just want to minimize the CPU load as much as I can for each part of the
    software..
    I have attached a small VI to explain what I am talking about.
    I now I shouldn't use the express VI, and I am going to change that as well - this is just a proof of concept! 
    Hope you guys can help me understand this shift register better...
    Thanks!
    - Tommy 
    Running LabVIEW 2009 32bit SP1 on Windows 7 64Bit
    Solved!
    Go to Solution.
    Attachments:
    visual.vi ‏34 KB

    tombech wrote:
    [...]The reason why I don't want to use the shift register or feedback node is due to speed[...]
     Tommy,
    shift register are the fastest you can ever get...........
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Plug-Ins in a delay feedback-loop

    I would like to set plug-Ins in a feedback loop from a delay plug-In
    maybe in a simalar way like this:
    from a audio track "send", i route the send signal in a delay. the delay output goes after in other plugins (filter, reverb, pitch shifter) and comes back in the delay input, but only maybe maybe 20%-30% of the output volume.
    Does anybody know how to do this routing?

    Admittedly, I had not tried the routing I had posted. I was just "thinking it through"... evidentially, not very well...
    I knew I'd read multiple posts over at Sonikmatter about this sort of thing. Here's the first one I came across doing a quick search:
    http://community.sonikmatter.com/forums/index.php?showtopic=7282
    See if that gets you closer to what you had in mind...

  • Gmail IMAP "Copying message" feedback loop

    Yesterday I sent an email with 10mbs of attachments from mail.app through gmail imap. after the message sent, I noticed that the spinning icon next to the gmail inbox was perpetually spinning. in the 'activity' window, it says:
    Gmail Synchronizing with server
    copying message
    I figured mail.app and gmail were synchronizing the email. so i let the process go for a few hours yesterday, when I noticed that no new email had come in via gmail, so i checked the account through the web browser. sure enough to find new email, but nothing coming through to mail.app. so i cancelled the process and but the activity status just said "STOPPING: copying message" and didn't go away. So I restarted mail.app. as soon as mail.app was back up and running, the "copying message" status reappeared.
    Last night, I let the operation go throughout the night, to wake up this morning with nothing changed. So this morning I checked my "recovered messages (Gmail).mobx" folder to see several 345mb message files. I removed the whole "recovered messages (Gmail).mobx" folder to the desktop and restarted mail.app but I still have the same error.
    Incidentals:
    The original message with the 10mbs of attachments was a series of 47 photos. Originally, I had dragged full res photos(6-7mbs/photo) into a mail.app message and chose "medium" from the "image size" pop-up at the bottom pane of the message.
    My theory is that in between placing the photos in the message and mail.app resizing them, mail.app and gmail tried to save a draft of the message to the server with all the photos at their original size (they might have been somewhere around that 345mb mark). And somehow mail.app is freaking out continually trying to upload a draft of the message with 345mbs of attachments. just a theory.
    how do i get mail.app and gmail imap out this weird feedback loop?
    Message was edited by: Ed Fladung

    I had the same problem myself, except that the message contained over 200 pictures. The actual email was only 7MB, but Mail must have decided to create a draft before it resized the pictures. I only noticed the problem after Mail had consumed over 1.5GB of my limited bandwidth and was taking up almost 4GB in RAM, and a lot more in swap. The solution here worked, but it's unfortunate that I needed it at all. Why would I ever want Mail to upload attached photos to an IMAP server at their original size, especially after the final version of the email with resized photos has already been sent? This NEEDS to be fixed, since it could be a huge problem for someone who is less computer savvy.

  • What is the block diagram of the feedback loop when op mode is set to velocity?

    On 7344s, is the feedback loop changed when the operation mode is set to velocity? Is it still a “position feedback” loop with just a ramp at the input? Or is there an additionnal derivitive to find the speed and the input command is a speed?

    When making a move where the encoder is not configured for velocity feedback, the control loop uses actual position vs. expected position as a function of time to correct for the velocity output. However, when the encoder is configured for velocity feedback, we actually use the velocity based on encoder feedback in the control loop and this also allows us to use the functionality of the Kv term to smooth velocity response.
    Best Regards,
    Chris D
    NI Applications Engineer

  • Feedback loop for taking integral

    Hello. I'm trying to model some mathematical equations in LabVIEW and trying to the find the integral using feedback node.
    Here is the equation I'm trying to model:
    i = integral([VBATT - i*R - i*(dL/dt)]/L), where L is a function as well.
    At the output of i I get 0. I'm assuming I have to put an input into the feedback loop but I'm not sure what to do here. Any help would be appreciated. Attached is my VI as well.
    Attachments:
    project3.vi ‏24 KB

    OriolesFan wrote:
    Why are you using a feedback node?
    Feedback nodes are for storing information from one iteration and using it in the next.  Since you don't have any loop and your VI runs once, it will return the default value that the feedback node is initialized with.  Thuse zero.
    The i I solved for is needed as an input. Those are differential equations.
    I think I did this wrong actually. I modeled these equations in Simulink but used a transient response to get the results, so I think I need some other module in my LabVIEW to do this. I was trying to take my equations from Simulink and trying to model it in LabVIEW.

  • How to kill feedback loop?

    I'm working on a project - no files are selected for recording, but there is feedback always on that's driving me nuts. Sorry, novice user here and I can't find a clue in the manual. Any idea?

    Don't have a MBP but ut sounds to me like the internal microphone is feeding back.
    Go into Utilities/AudioMIDI Setup and change the input to Line-IN, and or bring down the input volume.
    Just a guess.
    pancenter-

  • Feedback loop NI DAQ mx

    Hi, I'm here to get some help on my program.... since our lab did not have control toolkit,
    I had to build my simple PID program.. question is (I'm not sure if it's program question or not)
    1. Will my pid work fine ? I just took the basic concept of PID and built it.. just like the picture above...
    2. after let pid take care of the error, should I directly send it to the DAQ output ? or should I add something on to it ?
    this might be a control question.. but I was really confused.. whetere I have to just send the pure error to my output(in this case, amplifier)
    or I have to do something with either setpoint or the previous sesor reading(uncorrected)
    we're trying to get the control toolkit sooner or later, but in the mean time, I have no choice but stick to this program..
    please help me mr. NI
    Thank you

    Hi johnny,
    Your PID logic seems to be sound and you should be able to take the output of the PID loop and wire it to the DAQ output.  I'm not sure what you would do to it before you send it to the DAQ output anyways.  Thanks.
    Stephen Meserve
    National Instruments

  • How do I implement a feedback loop to control a DC motor?

    I have a couple of 1 hp PMDC motors that I need to control.  I have a VI set up that can take an RPM input, convert it to a 0-5V signal that is sent through my USB-2008 DAQ to an amplifier then to the motor.  It also displays the actual RPM of the motor by converting the frequency of a signal sent by a rotary encoder attached to the motor.  I need it to be able to adjust the applied voltage when a load is applied and keep within a 1 RPM window.  What would be the best way to accomplish this.
    Dewayne

    Hi Dewayne,
    I cut out the PID part of your code and used simulated signals.  When I did that the PID loop operated as expected.  What does your actual RPM profile look like?  Have you tried using the PID autotuning VI instead of the PID VI?  I looked at your DAQ assistants and they are set up for different connection types (some are RSE and others are differential).  I would also double check to make sure that you have all of the connections set up correctly.  If you can post another copy of your VI with simulated signals that look like what you are actually getting I can take a look at the code again to see where you are running into problems.  Below is a link that will help you verify that your connections are correct.
    Field Wiring and Noise Considerations for Analog Signals
    http://zone.ni.com/devzone/cda/tut/p/id/3344
    Nick Keel 
    Applications Engineering 
    National Instruments
    Nick Keel
    Product Manager - NI VeriStand and Model Interface Toolkit
    National Instruments

  • Using a Phidget Motor Controller and attempting to get a feedback loop

    Hello! Recently, I aquired a Phidgets 1065 motor controller and a compatible motor with built-in encoder. Currently, I am trying to write a program that allows me to input a position, and the motor moves at a user-specified speed until the encoder reaches that position. However, the original instructions to the Phidget VI's are so vague, I'm not entirely sure how to tackle this problem. Any help would be appreciated!
    Thanks! 

    It looks like Phidget has a lot of documentation on its website. This webpage might be helpful to get started: http://www.phidgets.com/docs/1065_User_Guide . This user guide shows how to connect the wires. Notice that both the motor control cables and the encoder cables are connected to the motor controller. I believe that the position control loops are performed on this controller/drive itself.
    Phidget also has LabVIEW VIs that you can use to set the motor position. This new position is sent to the motor controler through the USB connection and the motor controller will control the motion to that new target position. See this document to get started with the LabVIEW API http://www.phidgets.com/docs/Language_-_LabVIEW#Quick_Downloads . See this document for more information about each of the Phidget VIs: http://www.phidgets.com/documentation/web/LabVIEWDoc/index.html I believe that you would need to look at the section that talks about the servo control module.
    Take care,
    Jeremy P.
    Applications Engineer
    National Instruments

  • After iOS 7 update, trying to call just results in echo feedback loop.

    It's happening to both my wife and I. She has a 4S, I have a 5.

    I have the same issue. Phone echo's like a toy mic after call ends. I am on the iPhone 5 with version 7.0.4. I even swapped for a new handset and it did not fix the issue. This never happened iOS 6.
    Can someone please help as it is very annoying and deters you from making the next immediate call.

  • Simulation loop feedback

    Can someone tell me how to input a process variable to PID.vi inside of a simulation loop? I'd use a shift point (I think that's what it is called), but that doesn't seem to work with simulation loops.
    Thanks,
    Brian

    muks wrote:
    But am still not sure about simulation loop.
    A Simulation loop is part of the LabVIEW Control Design and Simulation Module.
    bcglaxer,
    The Simulation loop does not allow shift registers because you can create feedback loops by simply wiring the output of a system back to its own input (usually through a summation block).  In the case of "PID.vi", this VI isn't very well suited for use inside a Simulation loop because the loop natiely calculates integrals based the user configured ODE solver settings.  The integral calculation done by "PID.vi" are not necessary in this case.  A better solution for PID control with a Simulation loop would be to use "CD Construct PID Model.vi" ouside of the loop, then wire the model into a Transfer Function block inside the loop.  See the attached image to see how this can be done.
    I would strongly recommend reading through the documentation for the Control Design and Simulation Module.  In LabVIEW, go to "Help>>Search the LabVIEW Help", then expand the "Control Design and Simulation Module" section in the "Contents" tab.
    Chris M
    Attachments:
    pid_simulation.JPG ‏28 KB

  • Real Instruments Feedback Garageband 08

    I bought ilife 08. I usually use Protools to record with my Mbox but I wanted to screw around with Garageband. I can not for the life of me get real instruments to work. When it records all i get is a feedback loop from the moment I hit the record button... instrument plugged in or not.
    But let me back up a bit. I was messing around with Garageband loops and they were all distorted. I wanted to monitor through my Mbox so I checked Preferences in Garageband and also in the OS and sure enough one of them was set to line output or something. Switched that and loops and software instruments worked fine. No distortion.
    So all input output prefs are set to use the Mbox. I open Garageband.. choose real instruments. Plug my ukulele into source 1 on my Mbox and select instrument. I can hear it monitoring through my headphones but I hit record the wave file shows straight feedback. I stop recording and go back and listen to it. Just feedback.
    I mess around with the input controls again. It will record fine if i use the built in microphone. I decide maybe it is the pick up in the Uke. Try plugging in my guitar. Same thing. Decide to use my Neuman microphone. Select mic... turn on phantom power. Same thing. Feedback.
    I thought.. maybe my Mbox is messed up. I go to open Protools now and it won't even open. I'm assuming it didn't like something Garageband installed... and now i can't find my Protools install disk. Grrrr.
    Maybe i need a driver update for the Mbox? I don't even know where to begin with that one... I did a google search and found I could check settings in the Digi Core Audio Manager and now it pops up every time I open Garageband regardless of setting it not to in the prefs... But that is another story. Also messing with that did not help.
    What in the world am I doing wrong? I feel like there is probably something really simple i am overlooking. I am going to take my Mbox to my friends place tomorrow and plug it into his Mac and see how it goes. In the meantime is there anything obvious I am overlooking? I'm not a complete idiot when it comes to techy stuff but this is making me feel like a real idiot.
    I appreciate any assistance. Please be kind if the answer is obvious and I am just a dumb-dumb. I have a fragile ego. haha.

    Hi!
    Start with this: http://docs.info.apple.com/article.html?artnum=93725
    Is it maybe because your Mbox have sample rate set other than 44.1 khz? If so, bring it back to 44.1 khz.
    Also, GB set a real instrument track enable to record automatically everytime you open GB. Why? Have no idea!? If that track been leave with monitor to "on", and the original source of recording is different than the one use when the track have been set up, like for exemple, your Mbox is closed, GB automatically set the default audio source as the builtin microphone, if there is one. Imagine if the input level is at its max, feedback occur!
    Is it possible GB don't use your Mbox as audio input, and set builtin microphone instead, which is really really sensible? Or have you forget to check in the track infos and forgot to choose you Mbox as audio input for a particular track? Instead, builtin microphone is use by GB by default and the feedback occur? Btw, you have to do it everytime you create a new real instrument track, to verify if everything is ok before recording new stuff on the new track.
    With my FA-101 Edirol, when I change the sample rate while GB is open, I have to restart the audio interface. If not, GB recordings sounds incorrect. In those cases, I prefer restart everything, GB and audio interface all together. That way, I'm sure everything is ok before trying a new recording.

  • How to create a feedback control system in labview with an integration block?

    Hallo,
    I design a model of a simple mechanic system composed by one damper, one mass and one spring.
    I would simulate a free response of this mechanic system, but I don't be able to integrate the mechanic state in Labview.
    Seeming that the integration block in LabView produce a wrong answer.
    I've attached this model create in Labview 8.2.1.
    Thanks in Advance
    Michele
    Attachments:
    Sistema dinamico6.vi ‏462 KB

    Michele,
    First of all, when you are trying to develop a Dynamic Simulation, I strongly recommend that you use the LabVIEW Control Design and Simulation Module (http://sine.ni.com/nips/cds/view/p/lang/en/nid/203826), or, for LabVIEW 8.2.1, the LabVIEW Simulation Module. They allow you to develop your dynamic simulation natively in LabVIEW, specially in the case that you have feedback loop in your code (which is your case).
    Now, looking at your program, I have several recommendations that would help you to better control your simulation. First, avoid using the Dynamic Datatype (Blue wire) in you simulation. For example, you are generating a Waveform inside the loop and you are just getting one element of the first batch. Probably, you want to generate only one element per iteration of the while loop and apply that to your equation. If that is the case, you should remove the "Simulation Signal" express VI and use the Point-by-point VI (located at Signal Processing Pallette). There you can also find an integration VI that allow you to define the sampling time for your application.
    Also, the feedback node that you are using will introduce one sampling time to your simulation, which mean that, if your simulation and equations are not correctly setup to take that into account, your simulation will be incorrect. If you were using the Simulation Module, it would take care for your to do the correct integration, additional to allow using different solvers (like RK 4-5) to reduce the error on the integration.
    Hope this helps. Let me know if you have more questions.
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

Maybe you are looking for

  • Seeburger 1.8.2 Upgrade: Subject missing in AS2 Ack

    Hi All, After upgrading our PI environment with Seeburger 1.8.2, we started facing an issue in the Ack Report (MDN Response) received in response to the AS2 messages posted to our partner. We have a scenario, where HTTPS AS2 messages are posted throu

  • Help with image border

    How do I turn image 1 with a white background into image two so that it just has a white border (I don't want the red background, just to edge out the white border. I appreciate any help provided!

  • Internal Order Budget - Availability Control

    I have done the budget profile, entered the budget figures, created internal order budget with the required profile.  However, when I entered the fi document with this statistical IO, system does not give any message as per the tolerance setting acti

  • Converting date to YYYYMMDD is SSIS

    Hi , I have an input date for example 1/16/2015. i want  to convert it to 20150116. How can i do it in SSIS 2008 R2?

  • MRP Plan Error

    Dears All I'am testing the MRP to Release a PO as follows: 1.  Create sourcing rule 2.  Assign sourcing rule  3.  Create quotation or create blanket PO 4.  Create Apporve Supllier List  5.  Set MRP: default Sourcing Assignment Set 6.  Run MRP and rel