Highest speed for a loop in the microprocessor of my CRIO?

Hello:
Im trying to develop a control system for an inverter with with my CRIO 9022, the speed of my system is 10 kHz(the switching frequency for the inverter is 10 kHz).
Im trying to develop the controller using the microprocesor, but I was reading that the highest speed achievable for a loop in the microprocessor is around 1 Khz, is this true?
If is it, how can I develop a control with a loop of 10 Khz? this speed is only achievable using the FPGA?
Thanks a lot!
Regards

Sorry for dont attach the subVI, but the calculation that I perform inside are not diffcult, the first one is only aritmetic calculations and the second one is a PID (I attach them).
Maybe I can try to move them to the FPGA, but would be very tedious because I need huge times for compile and if I want to make any change will be very more difficult.
Do you think that the processor can not carry out these loop a higher speed than 400 Hz?
Thanks
Attachments:
SubVI1.PNG ‏50 KB
SubVI2(PID).PNG ‏81 KB

Similar Messages

  • "for each" loop - under the hood question

    Question about the for each loop. Is it optomized? I think this is a poor use of memory management -
    for (int i = 0; i < stop; i++) {
    Object obj = new Object();
    doSomething(obj);
    }And this is the ideal, using the same object -
    Object obj = new Object();
    for (int i = 0; i < stop; i++) {
    doSomething(obj);
    }So underneath the hood, which is the for each loop comparable to? I love the syntax, it's very clean-looking in the code, but at the same time I don't want to hurt performance.

    Question about the for each loop. Is it optomized? I
    think this is a poor use of memory management -
    for (int i = 0; i < stop; i++) {
    Object obj = new Object();
    doSomething(obj);
    }And this is the ideal, using the same object -
    Object obj = new Object();
    for (int i = 0; i < stop; i++) {
    doSomething(obj);
    }So underneath the hood, which is the for each loop
    comparable to? I love the syntax, it's very
    clean-looking in the code, but at the same time I
    don't want to hurt performance.That depends on YOU. You CANNOT write a for-each loop for the code you provided. A for-each loop requires an Iterable. (I think that's what it requires--it at least requires something to iterate over, not just an index variable as you have.)
    Consider the following, however:
    Object o1 = new Object();
    for (Foo foo : fooList) {
        Object o2 = new Object();
         foo.doStuff(o1, o2);
    } It will be equivalent to this:Object o1 = new Object();
    for (Iterator iter = foo.iterator(); iter.hasNext();) {
        Foo foo = (Foo)iter.next();
        Object o2 = new Object();
        foo.doStuf(o1, o2);
    } How could it be any different? It has to keep the behvior of the "old fashioned" iteration.

  • How to get the last error for while loop?

    How to get the last error for while loop? I just want transfer the last error for while loop, but the program use the shift register shift all error every cycle.

    What do you mean by "get" and "transfer"?
    If the shift register is not what you want, use a plan tunnel instead.
    Typically, programmers are interested in the first, not last, error.
    Can you show us your code so we have a better idea what you are trying to?
    LabVIEW Champion . Do more with less code and in less time .

  • I have the Jetpack 4GLTE, what is the Mbps download and upload speeds for this device?

    I have the Jetpack 4GLTE, what is the Mbps download and upload speeds for this device?

    The avgrage real speed will be more in the area of 25 to 38 Mbps  You would need to be in a strong signal area with high grade cell tower service and low customer use to even reach 50 Mbps. 
    From Verizon page.  Just be aware that using the MiFi 6620L can cost a lot of money. And you can thank the device's fast performance for that. In my testing around the San Francisco Bay Area, rathe device delivered blazing-fast download speeds that nged between around 10Mbps to around 40Mbps. At those speeds, you can burn through 4GB of data in just less than an hour. Once you reach the cap, of course, you'll have to pay somewhere between $10 to $15 for each additional gigabyte, depending on the plan you sign up for. 
      For more information follow link:  Verizon Ellipsis Jetpack MHS800L | Verizon Wireless

  • Unable to set a new value in an extended property from within a For Each Loop

    Setting a new value in an extented property fails when the property is dereferenced within a For Each loop usin the item  iterator. However, if you use the First or Last Iterators from the Find Targets activity works fine.
    The error message is : "Setting a value for this object type is not allowed"
    I believe this is a defect, can you please confirm

    Looks like a bug that needs to be reported.
    While we are figuring out the issue you can work around the bug.
    Add another "Find Targets" inside the loop, and use the ID of the current item in the loop to find the target (again) by ID.
    And then use Set Variable on the target that was just found...
    I know... Not an ideal workaround, so please open a Severity 4 bug for this.

  • FOR/NEXT loop produces Error in ProcessSQL: Subscript out of range

    Hi all,
    The 2nd FOR/NEXT loop in the following code produces Subscript ouf of Range error:
    *LOOKUP RATEAPP
    *DIM MODEL:RATEENTITYDIM= DRIVEDIM.DRIVER_ENTITY
    *DIM MODEL:RATEACCOUNTDIM= DRIVEDIM.DRIVER
    *DIM MODEL:INPUTCURRENCYDIM = "EUR"
    *ENDLOOKUP
    // Select lookup and normal members by group
    *SELECT(%DRIVERSA%, ID, DRIVEDIM, "[GROUP] = 'A' AND [DRIVER] <> ''")
    *SELECT(%MANUALSA%,ID,DRIVEDIM, "[GROUP] = 'A' AND [SOURCE] = 'MAN'")
    *XDIM_MEMBERSET DRIVEDIM= %MANUALSA%, "U_TEMP"
    *WHEN ACCOUNTDIM.ACCTYPE
    *IS *
         *REC(EXPRESSION=1, NOADD, DRIVEDIM="U_TEMP")
    *ENDWHEN
    *GO
    // this is ok
    *FOR %MANSET% = %MANUALSA%
         *WHEN DRIVEDIM
         *IS %MANSET%
         *WHEN %VALUE%
         *IS <> 0
                   *REC(FACTOR=GET(DRIVEDIM="AD.TEMP"),DRIVEDIM="AD.TEMP")
         *ENDWHEN
         *ENDWHEN
    *GO
    *NEXT
    *XDIM_MEMBERSET DRIVEDIM= %DRIVERSA%, "U_TEMP"
    // this is not OK
    *FOR %DRIVSET% = %DRIVERSA%
         *WHEN DRIVEDIM
         *IS %DRIVSET%
              *WHEN %VALUE%
              *IS <> 0
                   *REC(FACTOR= GET(DRIVEDIM="U_TEMP") * LOOKUP(MODEL),DRIVEDIM="U_TEMP") //  * LOOKUP(MODEL)
              *ENDWHEN
         *ENDWHEN
    *GO
    *NEXT
    If I remove the FOR/NEXT loop, this runs fine. The error occurs everywhere - in logic debugger, in DB, in ExecuteBaseLogic if included in Default logic. The REC statement inside the loop can be anything, even as simple REC(FACTOR=1,DRIVEDIM="U_TEMP"), so the problem is in the loop, not anything else. It validates nicely and the compiled logic looks just as expected.
    This error could occur sometimes if the membersets are too large. However, in this example, the number of members is rather limited. In the debugger is is possible to limit the data region to single specific intersection and the DRIVEDIM membersets combined is exacly 15.
    Could it be possible that the error is caused by member ID-s like AD.1.AVGWAGEGROWTH (length=18)? Is there anything else that can cause  trouble?
    Any ideas appreciated.
    Thanks
    Madis
    Edited by: Madis Udam on Mar 24, 2011 11:06 AM

    I don't think you should have"." dot's in you ID's.
    think about it, in your code you have ACCOUNTDIM.ACCTYPE, which represents the account type of the dimension.
    If you have an id "AD.1.AVGWAGEGROWTH"; wouldn't it think that you are trying the get a value of some member?
    That's just a guess, we established that we wouldn't use any special characters on our id's
    It's working so far
    Try changing the line
    *IS %DRIVSET%
    to
    *IS "%DRIVSET%"
    Edited by: Leandro Cardoso Feliciano on Mar 28, 2011 10:45 PM

  • Using IF in a for each loop which is grouped by two fields

    Hi ,
    My requirement is to filter the Payment records ,based on the parameter input date and also group by based on two of the Fields and calculate the sum of the payment Amounts.
    I have created a for each loop with the group by first on one field and then the other field.
    My question is where should I put my IF condition based on parameter dates ?
    If condition would be if Created = Date Parameter .CAn anybody help where I should insert the IF condition in the below code.
    Ex:
    <?for-each-group:Payments;./Created?>
    Display Date : Created
    <?for-each-group:current-group();./CreatedByName?>
    Table      :      CreatedByName     count of Payments           Sum of Amount
    <?end for-each-group?>
    <?end for-each-group?>
    thanks.

    Hi ,
    I got the result by putting the filter in [ ]
    Ex:
    <?for-each-group:Payments[PaymentStatus != 'New';./CreatedDate?>
    here I am filtering the records based on [Payment Status != New] and then group by Created Date .
    Similarly I can new another condition as well in the same statement
    <?for-each-group:Payments[PaymentStatus != 'New'][PaymentMethod != 'Cash'];./CreatedDate?>
    Regards.

  • Why is my full length video in after effects only playing normal speed for 20 seconds

    Hi everyone,
    As I am developing a video "cube" four videos to rotate slowly from left to right allowing each video to show. As I have been able to tackle why the videos were playing so slow I have set them to play at 100% which now gives me normal play or speed for each video. The downside is the videos times shrunk down to a mere 20 seconds (approx) in length of play for each four sides of the cube.
    The cube has been set to turn for approx 5 minutes.
    So my goal with your help if you can please help me with a solution.
    My thanks to you!
    Merry Christmas!!
    Bob

    Hi Rick,
    Again my thanks!
    The "Cube" is really coming along. I have all four videos now playing at normal speed or original file speed.
    Now things will get really exciting. How many ways to develop the Cube Comp!?
    It has endless possibilities.
    Thanks for being there!
    Regards,
    Bob

  • Minimum speed for Infinity

    Hi,
    I had Infinity installed 10 days ago and the initial download speed of just under 20Mb and uoload speed of just under 1 Mb.
    The BT Engineer informed me at the time of installation that the download speed needs to be above 15Mb or the installation is deemed as failed (or simmilar words).
    I have been performing the BT Speed test over the last few days and now find that my Line has been provisioned at download 14mb with the actual dowload soeeds that I get being between 12 - 14Mb and upload provisioned at 2mb with me getting an actual upload speed of between 500 - 800Kb.
    Could anybody please tell me if there's a minimum expected speed for Infinity and know the reason why BT would have reduced my line provisioned speed from 20Mb to 14Mb when I've not experienced any problems.
    Thanks

    hi i suggest you may get more help with this problem on the infinity board
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • How to speed up my code inside the for loops,

    how to speed up my code inside the for loops using c# WinForm.

    Hi  John,
    Please take a look at the reply from Wyck in the following thread.
    How to speed up for loop?
    His answer is very comprehensive.   Thanks.
    Best regards,
    kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • When I add a while loop to the vi "niScope EX Multi-Device Configured Acquisition (TClk)" to acquire data for multiple times, it works but it runs very slowly.

    Because I want to acquire the similar data for multiple times and then take an average to increase SNR, I add a while loop to the vi "niScope EX Multi-Device Configured Acquisition (TClk)".  It works but it runs very slowly (about 1 sec for each iteration). I think I had put the while loop at a wrong position, which makes the vi run from the very beginning in each iteration. So I really want to know where should I put the while loop to improve the speed? I have attached all the vi and subvi.
    Thanks very much.
    Attachments:
    Multi-Device External Clocking (TClk).vi ‏1166 KB
    avgWfm.vi ‏15 KB

    Dear Zainykhas,
    Thank you for posting this to the discussion forums and for uploading some sample code.  I took a lok at the issue you have been having, and it is unclear to me as to why you have placed two for loops around the original while loop.  My understanding is that you want to use the original Sample.vi and want to execute this N times where N is the Max Freq divided by Interval so that you can scan for a range of frequencies.
    Why not just put Sample.vi around one for loop and use the increment counter scaled by the interval to count up towards Max Freq and insert the desired Frequency into the cluster using Bundle By Name?
    Kind Regards,
    Robert Ward
    Applications Engineer, NI
    Attachments:
    Modified - RW.vi ‏48 KB

  • Why is it that it would take a very long time [if ever] to change or adjust the tempo of a loop in the audio track when i set it to adjust regions to locators? Until now the spinning wheel of death is still very much spinning. thanks for any help.   Is th

    Why is it that it would take a very long time [if ever] to change or adjust the tempo of a loop in the audio track when i set it to adjust regions to locators? Until now the spinning wheel of death is still very much spinning. thanks for any help.
    Is there another way to adjust tempo of loops the faster way, any other technique?

    No clue why the final processes have suddenly started to take so long. Two things I'd try: a) capture from an older tape to see if some problem with the new tape is at fault.  And b) check the health of your RAM and the hard drive.
    The red frame sounds a bit like a glitch we used to have in OnLocation (actually in its predecessor HDV Rack) which was caused by a partial GOP. But that was a product of HDV Rack recording from the live video stream. It turned out that HDV cameras intentionally interrupt the data stream for an instant upon starting to record--specifically to avoid recording a partial GOP to tape. So my gut says that the tape has partial GOPs at the points where you stopped/started recording.

  • HT200183 If I wanted to include apple loops in the assets of Logic project folders that are part of a tutorial available for download on a paid educational website would that be ok?

    If I wanted to include apple loops in the assets of Logic project folders that are part of a song that follows a tutorial available for download on a paid educational website would that be ok? No one would be paying for the file itself that's part of the membership. I don't want to get into any copyright problems. I understand that they are royalty free and you can include them in your music no problem but the individual loops would be in the audio folder if I saved all the assets to the project file.
    Also, would it be ok to include screen shots I take myself of apple programs in my downloadable content?
    Just trying to figure out exactly how I should go about it to avoid any legal issues.

    Hi
    trainedmind wrote:
    No one would be paying for the file itself that's part of the membership. I don't want to get into any copyright problems.
    My gut reaction is that you may well run into © issues if you re-distribute the original AppleLoops.If your customers are paying for the training, they are also paying for the content you provide, so I feel that you would be re-selling the loops.
    Given that anyone who has a copy of Logic would likely have installed all the loop content, there should be no need to distribute them with the project files. Alternatively, make your own loops.
    CCT

  • Apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    apple loops for garageband pack doesn't show the folder content (loops, files...)  in ableton live suite 8 library browser, but I can see all the loops in the folder from finder. how can i fix this? help please.

    Thanks Barney, I tried that but all that comes up in Spotlight are the log files that show the file paths! I don't know how Steam works. Are all the files held by Steam on their server perhaps?

  • Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    Can I use more than one blue-tooth device at the same time on IPhone 4S? Like a wireless headsets and speed and cadence sensor for cycling computer, receive the data and listen music simultaneously

    As long as the profiles are different (ex. HID vs AD2P) you will not have any issues. But say if you try to use 2 keyboards at once, it won't work. Or 2 headsets at once. Your scenario seems fine.

Maybe you are looking for

  • Problem invoking a web service from soa11g BPEL.

    Hi , I am trying to invoke a web service from soa bpel 11g composite. We have the wsdl, wsdl URL of the web service along with the user name , password credentials. Initially w/o any WS policy attached and testing the composite, it fails with the bel

  • Microsoft Office and MacBook Air

    Hello everyone, I have just bought a MacBook Air 13 inches (4GB) and I am about to install Microsoft Office. The problem is I remember that when I installed it on my MacBook Pro, the softwares would run very slowly and would always have bugs. Should

  • Reg mulitmapping using BPM

    HI Every one i have requirement like the below XI  gets three request from third party at a time (no time interval between the these requests) it should goes to SAP as single request. containg the 3req. after that we should get the response from SAP

  • Formatting in Project Siena/Excel

    I am trying to show a list/long set of data in a presentable way in project siena.  I would like this text to be divided up into bullet points, but I do not see anyway to format text in Excel or Project Siena.  The text is being added from a table in

  • Variable speed music player

    i'm a musician who'd like to play back songs at variable speed BUT with pitches preserved...i know there are CD players that will do this - what about itunes?