Highlight execution speed up

Hi Visual Programming Champions!
Im working on a School project, I'm doing an Espresso vending machine.  
Anyways.... I'm just wondering if there is a way to speed up the highlight execution run?
I just need it to be a bit faster.....
Thanks for your answer.  If I get a
satisfying answer, i'll send you a drawing of a seven legged spider.
Alex Tressapos
Solved!
Go to Solution.

Thanks
That was really helpful, now I only need 1000 dlls to buy
the State chart module. I'm currently using the Student Version and it is not
included. (sad)By the way, the spider that jcarmody attached, is not the
original. Mine has missing a different leg. Thanks for your fast answer. This
will help me finish my school project in time (today).
Alex Tressapos
Labview proven noob

Similar Messages

  • Programatically cahnge highlight execution order speed?

    Is it possible to change the highlight execution order speed?  If there are many things going on it is painfully slow to watch.  I know breakpoints can be used, but
    I would much rather fast forward the highlight execution order, I would find this feature much more useful.
    Can this speed be set programatically?  Is there a property node reference for it?
    Thanks,
    Adam
    Message Edited by ajckson on 03-13-2008 05:17 PM

    There is no way to change the speed that I know of. There are some tricks to turn it on and off programatically, but it is not a supported feature and has been known to throw error messages in the past so I wouldn't reccomend trying it.

  • How do I associate timing with multiple AI loops that is independan​t of loop execution speed

    I am using Labview 7.1 and I am performing AI of
    voltage on different channels of the same multifunction DAQ.  I am
    using while loops to aquire the data.  I am writing the data to
    spreadsheet file with an associated time as a 2D array.  Currently I am
    using the 'elapsed time' interactive subVI to get the time in seconds
    (attempting to use the 'Get Date/Time in seconds' and converting it to
    DBL results in time values that do not change. My thoughts are that
    maybe the number of seconds is too large to display single second
    precision with a DBL floating point number). When I run AI on two
    multiple loops they execute at different rates and thus the time values
    from "elapsed time" are accumulated at different rates. I have tried
    using timed loops to control timing, but if one loop executes at a rate
    slower than the timing of the loop the 'elapsed time' still accumulates
    at different rates.  I need to be able to associate both analog inputs
    to the same time
    value in the spreadsheet value and I would like to find a way to
    associate a time with each data point that is independant of loop
    execution speed (although I would still like to control execution speed
    of the loops. I am pretty new to Labview and programming in general,
    any help would be greatly appreciated.

    If you want to read more than one AI at the same time, you should use a trigger.  You would need to set up the AI Trigger to an external source.  Then you would have to use a function generator or digital out to create a clock.  The clock would be wired to the AI external trigger.  When the clock goes high (or low depending on configuration), both AIs would read.  That is the method I use when needing to sync multiple AI inputs.
    - tbob
    Inventor of the WORM Global

  • Why does subVI open when a VI is run without highlighting execution

    When running the VI Proc Recipe Array without highlighting execution the subVI VPTS Proc Cmnd gets a green arrow over its icon and opens. I want to run the main VI without opening any of the subs. Why does that subVI open? All sub are in the attached LIB file and the test file needed is also attached. You should place the input file in the C:\VPTS\Recipe folder.
    Attachments:
    Vacuum_Pump_subVI.llb ‏949 KB
    test_rcp_011402.txt ‏3 KB

    This is because the SubVI VPTS Proc Cmnd has an option "Suspend when called".
    To cancel this
    1.open the subVI,
    2.click with the right mouse button on the subVI icon in the up-right corner of the window,
    3.select "VI properties...",
    4.choose category - Execution
    5.and uncheck the option "Suspend when called".
    Good luck.
    Oleg Chutko

  • Why is the difference in execution speed of the function "SetCtrlVa​l" between constant and changing values so small ?

    In my large application (1 MB exe-file) I am continuously updating a lot of numeric controls with new values. Most of them do not really change their value. Within my search of improving the performance of my application I noticed, that there is only a small difference of the execution speed between a call of "SetCtrlValue" with constant values and calls with changing values. It runs much faster (25 times on my PC), if I get the actual control value with "GetCtrlVal", compare it with my new value an do a call to "SetCtrlVal" only if the current value and the new value are different.
    My questions to CVI-developers is:
    Isn't it possib
    le to do this compare within the function "SetCtrlVal"
    My question to all CVI-users is:
    Does anyone have similar tips to improve the performance of CVI applications ?
    I developed a small test application for this problem, which I can mail to interested users.

    What takes the extra time is the redraw of the control. When you call SetCtrlVal we ALWAYS redraw the control. We wouldn't want to build in functionality to check if the value was the same because that would add additional time to the SetCtrlVal in every case. If you want to do it outside of the loop you can as you have done above. You have a few options. First, keep a previous value variable for the controls that you can use to determine whether to set the control value. I.E.
    int oldVal = 0;
    int newVal = 0;
    if(newVal!=oldVal) {
    SetCtrlVal(..., newVal);
    oldVal = newVal;
    Also, if you set the value of a control through SetCtrlAttribute instead, there is no built in redraw of the control (which is what takes all the time). Using SetCtrlAttribute
    to set the value is very fast, but remember there isn't a built in redraw on the screen to display the new number.
    Best Regards,
    Chris Matthews
    Measurement Studio Support Manager

  • Execution speed improvements of FGV over locals

    This my first post.  I am new to LabVIEW and am currently writing my first significant application.  I am actually modifying an existing application, but am adding additional functionality.
    I have read this VI Execution Speed article but still have questions http://zone.ni.com/reference/en-XX/help/371361H-01/lvconcepts/vi_execution_speed/
    As an example, I am populating an xy plot with several sets of data, such as saved data points and a curve fit.  I am currently using a case structure to decide when to write various elements.  As an example, I only write the curve fit one time and it remains static as other pieces of data are added to the graph. In an attempt to make things faster I did not want to redo and redraw the fit each time.  I am using locals within the case to populate the graph.  In the default case nothing if written to these locals (and I assume the graph is not redrawn)?
    I now realize that instead using a case in which nothing is written, I could use a feedback node (to write the previous case). The in addition, in place of using a local, I could use a Functional Global Variable.
    Would it be better to have several cases which write locals to populate the plot and one case which writes nothing  OR Have the several cases write to a FGV and then a default case which writes the last data to the FGV via a feedback node?
    The first seems like less load as nothing is written in the default case, but the other cases do write to a local which has a front panel object that I don't need or want.
    Iis there any benefit to hiding unused front panel objects?
    Is there a way to create a local without front panel object?
    Finally, with a tabbed UI, are objects on the non active tabs being redrawn and slowing the process?

    Good questions!
    Starting from the bottom:
    Iis there any benefit to hiding unused front panel objects?
    Is there a way to create a local without front panel object?
    No and No. Local variables are generally a poor way to store and move data. For the reasons you cited (FP object you do not want or need, hidden FP objects) and that they force a copy of the data and may cause a thread switch to the UI thread.
    Finally, with a tabbed UI, are objects on the non active tabs being redrawn and slowing the process?
    It depends. Newer versions of LV are generally smart enough that non-visible indicators are not redrawn. This may not have been true in older versions, although I do not know when the changes were made.
    You certainly do not need to redo the fit if the data has not changed. I think the entire graph gets redrawn when any new data is written.
    Search for Ben's extremely informative Nugget on Action Engines (AE). An Action Engine is a FGV with added capabilities. It may be a very good option for what you are trying to do. It could store all the data sets, update the graphs, and make the data available where it may be needed without extra copies. With the AE you could easily acquire and store data at one rate and update the graphs at a (slower) rate appropriate to the users eyes and brains. Updating graphs more than ~10 times per second is a waste of resources because the user cannot respond any faster than that. Also you could write a subset or reduced data set to the graph if the amount of data is larger than the number of pixels in the plot.
    Lynn

  • Execution Speed of Aurora JRE

    We are experiencing some problems with the execution speed of the aurora JRE. The documentation states that the Aurora JRE is compiled to native code and should run 2 - 10 times faster than a normal JRE. We are atempting to do some memory sorts using the Array class which is taking 10 times longer in the Oracle instance than on a client.
    Is this a known performance bottleneck, are there any "tweaks" available?
    Thanks
    Julian

    Hello Ravi,
    Does your statement about core java classes being natively compiled also apply to the JVM in OAS / iAS?
    I remember reading in a white paper that, in iAS, java code would be translated into C code for native execution. Does this apply to user code or only core java classes ?
    (by the way, It seems impossible to download OAS 4.0.8.2 from OTN, maybe it would help if it was divided into several smaller files...)
    Thanks, Remi DEH
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Oracle Support Analyst (Ravi):
    In the current JServer release, Java code you load to the server is
    interpreted. The underlying core classes upon which your code relies (java.lang.*) are natively compiled. Until the native compiler is available for user programs,
    the net speed benefit of native compilation to your executing program is dependent upon how much native code is traversed, as opposed to interpreted code. The
    more Java code from core classes and Oracle-provided class libraries you use, the more benefit you will see from native compilation.
    In 8.1.7 i.e 8i Release 3 we support natively compiled code for the user programs.
    <HR></BLOCKQUOTE>
    null

  • Why does my program run fine in highlight execution, but not normally?

    When I highlight execution, the program runs fine, but when I run the program normally, nothing happens. (I believe the program is stuck at the initialize cam vi). If someone could help me out, I'd be very thankful
    Attachments:
    intensity10.vi ‏139 KB

    The first troubleshooting technique I did was to add several "waits" throughout the program, particularily with the loops. I learned the problem was actually with the hardware itself and the camera mode. The camera must take an empty frame before it can store the image, thus the for loop needed to be replaced with a while loop.
    However, after fixing the program using boolean logic, 2 of the buttons disappear on my front panel during use (which I will have to further troubleshoot). Thank you!
    Attachments:
    intensity11.vi ‏158 KB

  • Different values when in highlight execution mode.

    I am running a vi which does a bunch of math on scalars and floating point images. When I run the vi, the output images are filled with "Not a Number" but when I go throught the vi in highlight execution mode the numbers come out as what they should be. This doesn't have anything to do with the camera not responding fast enough to supply the data for the image when in normal execution mode. I'm just testing the vi by defining an image filled with a particular value so that I can see if it is doing the math correctly. If the "NaN" result was all I had to go on (when running the vi normally) I would keep looking in my code for errors, but I get the correct numbers when I run it with execution highlighting.
    Can anyon
    e explain why this would be happening?
    Thank you.

    Hi,
    I made the expirience that function in undefined order are executed in
    different order if the vi is run in highlight mode or normal mode. So it
    can be usefull to put some critical functions in a sequenz for the right
    order.
    Niko

  • Execution Speed help

    Hi there!
    I hope someone can help me about my (probably noobish) question:
    I have 2 Oracle environments, both not maintained by me and if I execute the following querry:
    select * from DATA_TBL where rownum < 11;
    It takes about 8 seconds on the one and less than 1 second on the other environment.
    As there is everything selected via '*' and the where clause does not include data colums it can't be about indexes or analysed information or?
    On both environments I also get the same explain_plan (only thing I have the rights to do):
    PLAN_TABLE_OUTPUT
    | Id | Operation | Name | Rows | Bytes | Cost |
    | 0 | SELECT STATEMENT | | | | |
    |* 1 | COUNT STOPKEY | | | | |
    | 2 | TABLE ACCESS FULL | DATA_TBL | | | |
    Predicate Information (identified by operation id):
    1 - filter(ROWNUM<11)
    Note: rule based optimization
    15 rows selected.
    I would be happy if someone could tell me about possible reasons for the difference in execution speed, or what to tell the DBA's..
    Thanks in advance!
    Jan

    >
    select * from DATA_TBL where rownum < 11;
    It takes about 8 seconds on the one and less than 1 second on the other environment.
    >
    SQL>  create table t1 as select 'AAAAAAAAAAAAA' as word from dual connect by level<=1e7;
    Table created.
    SQL> create table t2 as select 'AAAAAAAAAAAAA' as word from dual connect by level<=1e7;
    Table created.
    SQL> delete from t1 where rownum<5000000;
    SQL> commit;
    Commit complete.
    SQL> set timing on
    SQL> select * from t1 where rownum<10;
    WORD
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    9 rows selected.
    Elapsed: 00:00:02.44
    SQL> select * from t2 where rownum<10;
    WORD
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    AAAAAAAAAAAAA
    9 rows selected.
    Elapsed: 00:00:00.48Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Highlight execution in parallel loops

    I am programming an FPGA in Labview, and am trying to debug my code. After switching my execution target to the FPGA's emulator, I activate the "highligh execution button" and press the "step into" button, but the only loop that is stepped into is the first. How can I select which loop's execution do I want to highligh? Thank you.

    Could you give more details about what is happening?
    I have checked a FPGA example included in LabVIEW called UpDpwn Ctr, Synchronized.vi. This VI has two parallel while loops and when I activate the highlight execution and press step into button several times, the burbles appear in both while loops and the dataflow alternates between both loops.
    crisR

  • Why does my VI correctly work only when I turn on highlight execution?

    I am monitoring a piece of hardware using VISA and my app. works fine when highlight execution is turned on. My app. is to constantly write and read data however it seems to read incorrectly off the serial port when highlight execution is off. I have tried adding a wait to the read and also flushing the buffer before and after it completes one cycle of write/read. Any ideas? I'm stuck.

    Sorry about wasting your time if youve tried to solve it. I wasnt waiting long enough between successive write and reads.

  • Execution speed onboard programs

    Hi all
    I am tying store the value of analog input channels of PCI-7352 on buffer, from onboard program.
    The program run fine, but I don´t know how measure the total acquisition time in the program.
    In an example in LabView ( adc-gpbuffer.vi ), use 'flex_load_delay' function to establish an interval in
    the acquisition. But the real interval between readings not is calculated.
    Another question, How I can know the execution speed of onboard program ?.  The documentation does not
    show information.
             Thank´s
             Javier
    Attachments:
    adc-gpbuffer.vi ‏165 KB

    Javier,
    there is no easy way to measure the execution timing of onboard programs. One thing that you could do is to toggle a digital line in your onboard program and measure the timing with an oscilloscope.
    Please be aware that the timing of onboard programs doesn't work deterministicallly as onboard programs don't run with time critical priority on the board's CPU so you will probably see a fair amount of jitter.
    The main purpose of the analog inputs on the 7352 is analog feedback. You can use them for single point measurements, too but if you need to acquire data with an accurate timing you better should use an additional M-Series board like the PCI-6220 which provide a much better measurement and timing accuracy and as true measurement devices they provide a whole set of additional useful features.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • Programs hangs, unless highlighting execution or disabling multithreading

    I'm making a program to control my signal generator over a GPIB board. Have all the drivers belonging to the SG, so it's just a simple loop where I can set the parameters. VERY basic, I thought....
    The program almost immediately hangs... However, when I use 'highlight execution', or 'single step' through it, it runs fine. No problems at all. So that makes it a bit difficult to debug... :-)
    Been testing a lot allready and found out that disabling multithreading also solves the problem.
    Does that sound familiar? Any way to solve the problem?
    I guess it's a timing problem of some sort, but I'm not sure that I can change much. I'm almost only calling the SG driver VI's. Looked into those VI's, and they're all just DLL calls. Nothing I can do there...
    Ofcourse I could just disable multithreading as a work-around. But how bad will I suffer in performance/responsiveness if I disable multithreading? It's only a tiny program now, but it's supposed to grow quite big.
    Any thoughts?

    albert geven wrote:
    Your problem can be genrated by too fast messaging to the SG
    Also polling on a statusbyte should not be too fast, but ms waits should not be neceesary except when polling in a while loop.
    Not sure that I understand.. Do you mean that the VI´s that control the SG allready return before the actual instruction is carried out by the instrument? So that I´m issuing new commands while it is not ready with the first ones?
    Using sequences to determine execution order is the second best.
    Error In, Error out offer better control and more readability.
    I know, I know.... But the standard Labview 'wait' VI doesn´t have error I/O. So when I quickly needed to put a wait in a specific spot, I added a sequence around the wait, and run the error line through it. Just now that I had to put in so many, it was becoming a mess. Allready made a custom 'wait' VI with error lines now. (See the code)
    Greetings from Germany.
    Attachments:
    test Marconi 2030 - v2.vi ‏76 KB

  • Execution Speed of my page

    Hi everybody,
    I converted an existing report into an FM and used that FM in my BSP page to display the output in browser.
    But the execution speed of BSP page is almost half as compared to the execution of report. I am not sure why this has happened.
    Is the layout reponssible for this low speed?
    But its excatly the same layout that report displayed.
    Please tell me where should i do the changes to increase execution speed .
    Thanks

    I suggest you to execute SE30 transaction (performance measurements) and including your BSP. You can do this also from SICF, I think that in the menu you hace a Runtime Analysis option or similar (sorry I by now I cannot acces to my SAP BW). Then, check the report, and discover where the most of the time is spent.
    I had a similar problem. I had a BSP which execute many times a FM for generate a data table. I put AJAX to my BSP to improve performance and concurrency.

Maybe you are looking for

  • Don't get what the error problem is w/ installing or running iTunes;

    My direct email address, for reply is: [email protected]; I just want to fix this & be done with it, and thank you in advance. I download it, then when I click to open it, I see: iTunes has encountered a problem and needs to close. We are

  • Issue with Get-LogonStatistics in Exchange 2013

    Hi all, I run into an issue with the Get-LogonStatistics cmdlet. The error says: Cannot find LogonStatistics objects from the root 'DB1'. Please make sure that you specified the correct search root and that you have the correct permissions to perform

  • Default selection on current month, week and date

    Hi, We are on Dashboard 4.1 sp3 the same version as BI. The dashboard report is using LiveOffice connection. We are now facing an issue with default selection on current month, week and date. The dashboard report drilled down from month, to week, the

  • Asset Cost Center

    We have change the cost center for a particular asset and now when you go to post it does not show up in our depreciation list. Can anyone help, please. Thank you

  • Setting a default view

    I've noticed of late that the folders on our server (Samba) open in all sorts of states. Some are showing as 'View by Date', some as 'View By Name' and here and there I find folders expanded to show their contents. This is very frustrating and untidy