CLD: timer expressi VI or my own functional global VI?

Hi all,
I'm preparing for CLD exam. I had a look to preparation kit exercises and a couple of exam samples.
It seems that exam often requires the use of a Timer (a simple timer or a "pausable" timer).
In order to save time during CLD exam,may I use the Timer Express VI without a point deduction?
Thanks all

You can use the Timer express VI, if you feel you will run out of time. Else create your own according to the requirement in an Action Engine. In case you have to pause the timer, then you have to build a logic outside the Timer express VI which is again a double work.
The best solution is the one you find it by yourself

Similar Messages

  • Software timing - Functional Global?

    I was reading NI Intermediate manual to prepare for the CLD exam, and noticed that they used Functional global variable in combination with timed loop for the software timing. Also, the error handling was implemented using functional global.
    However, I was reading in one post( not this forum) that the functional global is obsolete, can anyone shed any light on this issue, why would the functional global be obsolete: and if it is, what are acceptable design for software timing.
    Thank you.

    Cory K wrote:
    I dont see why a global would be obsolete.
    There are some instances when using a global variable is the best option, especially in cases when a resource will be used on several different computers.
    A functional global variable isn't the same thing as a global variable. A functional global variable is what was used before global variables were introduced in LabVIEW 3. It is the heart of an Action Engine.
    As for their obsolesence... Hah! That's all I have to say on that.
    As to the original post:  I'm a tad suspicious. What kind of software timing and error handling is being done with a functional global variable? Can you post the code?

  • Functional global set as reentrant vi in CLD sample?

    In the CLD atm sample question attached. It set its functional global as a reentrant vi...
    Now let me get this right , a non reentrant vi, no matter how many times it's called, stores its data into one location. So a functional global should be a nonreentrant vi so the functional global can SET the same data in the same place, and GET the same data in the same place.
    Whereas a nonreentrant vi creates clones everytime it is called, and each clone stores a different set of data in a different place. So a functional global should not be a reentrant vi because it cannot retrieve the same copy of data; there are many different data sets stored in different places, the functional global would not know which data set to retrieve.
    But how come this CLD sample set its functional global as reentrant vi and it works???
    Attachments:
    ATM Simulator LV86.zip ‏116 KB

    richjoh wrote:
    In your VI code "Shared clone is selected"
    Below are past from the LV manual --
    "Memory Usage - Only allocates clone VIs for the maximum number of simultaneous calls to the reentrant VI. Decreases memory usage..."
    "Execution Speed - Creates clone VIs on demand. Slightly decreases execution speed and speed may vary per call.."
    ...and Preallocate is versa of above.
    Yes the only reason to use Reentrant in any LV example is to keep separate copies in memory. This author uses the reentrant VI to track 3 different transaction in his example (looks like an banking ATM, I have not run it as yet). The author reentrant is for "deposit", "withdrawal" and "pin entry". Ctrl+F, the VI is used in 4 instances, one of them is to Get current action, the other 3 are Set.
    IMHO, the example is overblown. Wonder how long it took the author to create it?
    The reason it works is all access is sequential.
    Overblown, yes. Reminds of the kid trying to show-off by climbing over the fence to pose next to the lion's cage. It will bite them eventually.
    Keep It Simple Sir has clearly bee violated.
    I will watch for someone who can explain WHY that was a good decision unless they felt there would 500 of these ATM GUIs running in parallel.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Own function in computation (Interactive Report)

    Hello,
    I have checked package WWV_FLOW_WORKSHEET_DIALOGUE (it's wrapped, so I've checked it only slightly) and table WWV_FLOW_WORKSHEET_COMPUTATION and found that those two objects are responsible for functions we can see/use at Compute panel of Interactive Report. I need to add my own function to computation but it's not possible. When I write MY_FUNCTION(A) in text box and try to apply then I receive message: "Invalid computation expression. MY_FUNCTION".
    Is any way to add own function to be seen by Compute option in Interactive Report?
    It's important that I don't want to use MY_FUNCTION in query defined in Region Source!
    Thanks in advance,
    Regards

    Hi, just stumbled over your question and I happened to have the same problem.
    It appears not to be possible to use your own functions although it would definitely be very nice.
    However, I found a solution, but given that I already had my knuckles rapped once for mentioning them-who-must-not-be-named (anything starting with "WWV..." really), I am not going to post it here.
    If you are still interested (and if you didn't fix it already for yourself), drop me a personal mail and I'll get back to you.
    Needless to say, you should think long and hard before you make any modification in any WWV_ object and then decide that you shouldn't.
    Regards,
    Iulian

  • Problems implementi​ng the elapsed time express vi into my vi

    I am trying to implement the Elapsed Time Express VI into my VI so that my VI runs for a specified amount of time. I currently have the express VI working, but now that I have implemented it into my VI, my graphing functions do not work. If anyone has any suggestions, I would greatly appreciate your help. I have attached my VI for reference.
    -Kelly
    Attachments:
    Inj&Sam_C348_C_wrt_File_and_Timed.vi ‏405 KB

    The way you have your VI configured, the outer while loop will only run once. It will run, but will not be able to continue until the inner loop has completed. The inner loop will continue to acquire data until the desired time has passed. A this time a true will be written to the stop terminal on the inner loop, and then passed to the stop terminal on the outer while loop, stopping it when it has only run through one iteration. I'm not sure what you are trying to do, but my guess is that you want your second while loop to be outside of the first one. You can then stop them both by using a local variable or some synchronization mechanism.
    Regards,
    Ryan K.

  • Usage of "Elapsed Time" Express VI

    I'm trying to program in Labview something like "Action 1" -> Wait 5 seconds -> "Action 2" -> Wait 5 seconds -> "Action 3". The "wait 5 seconds" should not block everything else but other tasks / VIs should continue running. Does anybody have a good solution for this? I tried to use the Elapsed Time Express VI but it does funny things. Can anybody explain to me how to properly use the Elapsed Time Express VI and especially how the reset input works?

    As Lynn said, I think all you need is a simple Wait(ms) call, but to answer your specific questions...
    The Elapsed Time Express VI tells you if the time you specified for Elapsed Time has expired; it does not actually wait for the time to expire. An example of how you would use this is to include a call to the function in a loop. When the "Time has Elapsed" boolean is true, you perform some action. If not true, you do nothing. This would allow you to use a fast running loop that only did some elapsed time action every so often instead of every time through the loop.
    The Reset you asked about is a way to reset the internal state of the VI. The VI keeps state information, which makes sense and is normally what you want it to do. However, you may want to have it
    reset on this particular execution, e.g. on the first iteration of a loop that is within an outer loop.
    Hope this helps,
    Roy

  • How can I get the Elapsed Time express to output in milliseconds?

    I am trying to get the Elapsed Time express to output in milliseconds or in seconds to three decimal places. I am pretty new at this.
    Thanks in advance!

    I'm not sure I understand your question. The output of the Elapsed Time Express VI is a DBL. It's already a floating point number. The default format for a numeric indicator is 6 digits of precision. You can change this in the properties for the indicator.
    To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
    Attachments:
    Example_VI.png ‏4 KB

  • Parameter Variable Handling in own Function Types

    Hi experts,
    I've implemented a customer function type using a separate ABAP class. The function type has got several parameters that should be filled in a command that is defined on a WebTemplate button group. Planning functions that use this type are working fine by setting the parameter in the WebTemplate statical (using a string). But if the parameter is bind to a BEx variable or are DataProvider selection nothing will be given to the function type. Investigation in the SAP ABAP code gave me the information, that in case of variables the SAP code will return only empty values, although the code itself has got the technical id of the corresponding variable.
    So my question is, how to give own function types implementation the current navigation state of WebTemplates, e.g. using the DataProvider selection or the state of BEx variables?
    Anyone here with interesting and helpful hints?

    Timo,
    When you stated that parameter readings in your function returns nothing when using variables i assumed that binding is not happening because in the case of binding with variables not only the definition of the binding is important but also the settings of the variables in the metadata (input ready, mandatory etc.),also i assumed that your button is not showing the variable screen and in this case with mandatory variables when no value is bound to the variable then the popup screen appears any way and the function is stopped .
    Hope this helps.
    Regards,
    Eitan.

  • Using an own function in a select how can i set that the function run once?

    Hi
    Using an own function in a select how can i set that the function run once, not in every row?
    Please help me
    Thanks
    Viktor

    Something like this ?
    SQL> select * from dept;
        DEPTNO DNAME                          LOC
            10 ACCOUNTING                     NEW YORK
            20 RESEARCH                       DALLAS
            30 SALES                          CHICAGO
            40 OPERATIONS                     BOSTON
    SQL> create or replace function ret_name (deptnum in number) return varchar2
      2  is
      3     name    varchar2(50);
      4  begin
      5     select dname into name
      6     from dept
      7     where deptno=deptnum;
      8     return name;
      9  exception
    10     when no_data_found then
    11             return('Not existent deptno');
    12* end;
    SQL> /
    Function created.
    SQL> select deptno, decode(rownum,1,ret_name(deptno),null) dname from dept;
        DEPTNO DNAME
            10 ACCOUNTING
            20
            30
            40
    SQL>

  • Trying to up grade from Contribute 4 to 6.5! Is there a time limit how long you own a Licence?

    We bought Contribute 4 sometime before 2006! When trying to Up Grade the first Agends where very helpfull and wanted to Activate it with an 1 time Code!
    We managed to activate it finally in Win7! Only two weeks later the Labtop broke down and we managed to get the Software deactivated by using an old Computer from our local repair shop.
    Now I tryed to activate it again in Win8 and the next ADOBE agend told itś not possible to Up grade from Contribute 4 to 6.5, because the Serialnumber is to old!!!

    Hi,
    the old mashine is broken down and the company AVALON, who
    installed the program has no records anylonger about the program
    details.
    They only gave us the inf that the program is Contribute
    Version 4 and they didn´t even know if it was a single licence or if
    they had it under Company licenze.
    I managed a few weeks ago to
    activate the up grade to my Labtop, because after the winter season we
    had some holiday time and I tried to get it done at home.
    Onfortunatly
    my own Labtop crashed a week after.
    Now we started to work and we have
    to up grade the Webpages.
    Kauko bought the update for 115 EUR in
    January and he is not going to like it when I tell him they gave us
    wrong Info from AVALON when asking if the up date is working or not!
    So how we proceed?
    On 20-05-2013, Shekhar_Dhiman wrote:
    RE:
    TRYING TO UP GRADE FROM CONTRIBUTE 4 TO 6.5! IS THERE A TIME LIMIT HOW
    LONG YOU OWN A LICENCE?
    created by Shekhar_Dhiman in
    Contribute General Discussion - View the full discussion

  • SQL Loader: using your own function

    Hi,
    Is it possible to include your own function in sql*loader? Would this be a correct syntax?
    LOAD DATA
    APPEND
    INTO TABLE MY_TABLE
    IDE "my_seq.nextval"
    CLIENT_NBR POSITION (1:10)          CHAR     
    CLIENT_TYP POSITION (11:12)     "MY_PACKAGE.MY_FUNCTION(:CLIENT_TYP)"
    )So the value of the data ( position 11:12) needs te be processed first by the function. The result of the function needs to be stored in the CLIENT_TYP column.
    Thank you
    Message was edited by:
    Ratjeuh

    still yes/yes after the edit?Yes :)

  • Speedgrade crashes every time I use split into clips function as part of scene detection.

    Speedgrade CC (latest version) crashes every time I use split into clips function as part of scene detection.
    I can use the keyframe function fine, but if i split it into clips it crashes 9 out of 10 times... so to get the job done i simply keep reopening the project, cliping and praying it works, then it crashes.... and i repeat this until it doesnt crash!
    File format im using is a 22min long Prores422 HQ 1080 25P file.
    Any ideas?.... im guessing im going to get the old "reinstall the software" one first... anything else?
    also have issues with Speedgrade just crashing for no good reason at random times while im grading too but ive come to expect that from the buggy software.

    I've got several 1080p mov's that have multiple sequences with 20 to 40 minutes a sequence I've regularly run over to Sg from PrPro. Granted, they're pretty straight forward, mostly simple cuts with a few transitions/wipes, no more than 3 video layers a sequence. Only one has any Ae stuff on it, and again, pretty simple.
    But as noted, there are those who do programs for broadcast with it ... I'm wishing one would chime in. Maybe shooternz ... I think he does b-cast work. Vastly more experienced than I am, PrPro, Ae, Sg, Audition ... the "suite". There's several others around here, though they tend to 'hang' in the PrPro forum more than here.
    Neil

  • Current Time expressed in decimals + Keyframing export question

    This was noted in an earlier post, but I could not reply since the thread was archived...
    I've noticed that certain movies, when viewed in QTPro, express the current time (viewable in the movie info dialog) in decimals, rather than in frames.
    For example, using a 30fps movie, a time of one second and 15 frames is instead shown under the current time (viewable in the movie info window) as :01.50 (hundreths of a second). This can be a problem if you are trying to count frames or note a particular time expressed in frames, rather than in fractions of a second.
    After digging a bit, I discovered that movies compressed WITHOUT keyframing enabled DID NOT have this trait - the time is shown in frames instead.
    The workaround is to export the movies from QTPro using a codec that does not support keyframes (for example - the Uncompressed codec).
    I have two questions -
    1. Why, when exporting a movie with keyframes on, does the video track frame rate end up with a value that goes to multiple decimal points? - For example:
    - Export a movie from QTPro using the animation compressor and a frame rate of 30. Set Keyframes to anything you like (note that you cannot turn it off).
    - View the exported movie, and press cmd-J (movie properties). The frame rate shown will likely be something like 29.3293293820932, and the current time (as shown in movie info (cmd-i)) will be in decimals.
    If you export Uncompressed 30fps instead (keyframes are not supported in this codec), the resulting frame rate will be exactly 30, and the current time will be shown as FRAMES, not decimals.
    2. WHY is it possible to render a Quicktime movie from After Effects, using ANY codec, and have the ability to turn keyframes OFF, whilst turning keyframes off seems to be impossible in QTPro when exporting a movie using a codec that supports keyframes?
    Thanks for any help!
    G5   Mac OS X (10.4.8)  

    No - there's no variable frame rate - depending on the project, we're either using 29.97, 30 or 60fps.
    We're using the "Current Time" in the movie info dialog so that people can make precise timing notes regarding animations without having to get to a machine with FCP, After Effects et.al. on it. Since we're concerned with getting exact frame numbers, we're using the Movie Info dialog rather than the time provided in the movie window.
    Practically every movie we're using is coming from After Effects, Shake, or some other animation/compositing program.
    The only times I've gotten those long-decimal frame rates is on a movie with keyframes set. Turn off keyframes, and the movie frame rate is exactly what we set it to be.
    I'm guessing that we're bumping into something that's actually a cool trick - when Quicktime sees that a movie has a traditional frame rate (30, 60 or even 29.97 for example), it displays the current time in frames. When it loads a movie with an odd frame rate (particularly something like 29.9630843098) it calculates and displays in thousanths of a second instead.
    Nonetheless, we're setting all the movies to a defined frame rate. The movies exported without keyframes end up with the correct rate, and the ones with keyframes end up with a frame rate that have many decimal places....

  • I just got the iphone 6 and it has shut down on me 6 times this morning on its' own. I get a red screen, then the phone shuts down. HELP

    I just got the iphone 6 and it has shut down on me 6 times this morning on its' own. I get a red screen, then the phone shuts down. HELP. It started to happen out of nowhere. The screen goes red, and it shuts down. I manually restart it - and it shuts down again.

    absolutely the same issue with apple logo / red screen and looping on iPhone 6 16gb purchased 3 days ago in Moscow. first i was so happy to have it and now its a brick. also noted the brightness drop outs 1 day before it started. after chatting with apple support:
    - we've tried to go for recovery with iTunes. didn't work
    - advised on go for warranty replacement by Apple Support chat
    - found local Apple Service Provider. gonna go tmrw.

  • Transaction BUS3 - Further checks - Own function module

    In order to create additional checks on BP Identification Numbers, we used tx BUS3 to add to view BUP520 under Further Checks our own function module.
    As a start we took a straight copy of BUP_BUPA_PAI_MISC, the SAP delivered function module.
    After the SAP FM, our Z-module gets called with parameter I_SICHT, identical to the
    parameters of the SAP FM. No other parameters nor tables get passed.
    How can we get hold of the same data as the SAP FM ? We want to check e.g. table
    GT_BUT0ID (identification numbers). It is filled in the SAP FM at the end of FORM bup520_pai, but is empty in the Z-module ?
    Thanks for your solution.

    Hi.
    We also validate the ident. numbers but on check or save event.
    Create and Add the new z.fm to the event DCHCK (appl = 'BUP') in tcode BUS7.
    We use some trick to get this data from memory [SAPLBUD0].
    You can try to use it for the PAI (the same f.group = BUD0)
    function z_gzp_but0id_get.
    ""Local interface:
    *"  TABLES
    *"      OT_BUT0ID STRUCTURE  ZGZP_ST_BUT0ID OPTIONAL
    *"      OT_MEM_BUT0ID STRUCTURE  VBUT0ID OPTIONAL
      data: lv_fname1(50) type c value '(SAPLBUD0)GT_BUT0ID[]'.
      data: lv_fname2(50) type c value '(SAPLBUD0)MEM_BUT0ID[]'.
    ***------ ID-NUMMERN -
         BEGIN OF GT_BUT0ID OCCURS 0.
           INCLUDE STRUCTURE XBUT0ID.
    **DATA:   XMARK     LIKE BOOLE-BOOLE,
           TEXT      LIKE TB039B-TEXT,
           ENTRYDATESTR TYPE BU_ENTRYDATESTR,
           DATEFROMSTR  TYPE BU_DATEFROMSTR_ID,
           DATETOSTR    TYPE BU_DATETOSTR_ID,
         END   OF GT_BUT0ID,
    ***------ ID-NUMMERN: ZUORDNUNGEN (ALTER STAND) -
         BEGIN OF GT_BUT0ID_OLD OCCURS 0.
           INCLUDE STRUCTURE XBUT0ID.
    **DATA: END OF GT_BUT0ID_OLD,
    corresponds to declaration of gt_but0id in include LBUD0TOP
      types: tp_s_but0id type zgzp_st_but0id.
      types: tp_t_but0id type standard table of zgzp_st_but0id.
      types: tp_s_mem_but0id type vbut0id.
      types: tp_t_mem_but0id type standard table of vbut0id.
      field-symbols: <fs1> type tp_t_but0id.
      field-symbols: <fs2> type tp_t_mem_but0id.
      data: ls_but0id1 type tp_s_but0id.
      data: ls_but0id2 type vbut0id.
      if ot_but0id is requested.
        assign (lv_fname1) to <fs1>.
        clear ot_but0id[].
        loop at <fs1> into ls_but0id1.
          ot_but0id = ls_but0id1.
          append ot_but0id.
        endloop.
      endif.
      if ot_mem_but0id is requested.
        assign (lv_fname2) to <fs2>.
        clear ot_mem_but0id[].
        loop at <fs2> into ls_but0id2.
          ot_mem_but0id = ls_but0id2.
          append ot_mem_but0id.
        endloop.
      endif.
    endfunction.
    I hope it helps.
    Regards, Robert

Maybe you are looking for