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.

Similar Messages

  • 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

  • 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

  • The elapsed time problem !!

    Hi ! am working on a program that calculates the elapsed time (for the needle of the gauge to reach a value which is previousely defined) also the elapsed time while the needle is maintained at the same value, which means there are two time counters, the first one stops when i reach the value and the second one stops when i leave it.
    everything works except that when i reach the value the needle gets stuck there and can't be moved so the second timer doesn't stop.
    regards...
    AR
    Solved!
    Go to Solution.

    ABDESLAM wrote:
    the program does exactly what u just said !
    but i don't understand the number 3 sentence.
    well am working on a project on a link flight trainer and i want to calculate the time that the pilot takes to go from 0 to 30 degrees for example on the Attituge gyro indicator then it calculates the time while he's maintaining this value.
    dial2 = the handle of the simulator
    AGI = attitude gyro indicator ( it indicates the degree of turn of the plane)
    i hope u understood what's it all about
    thank you
    What he's trying to say is he doesn't understand why the time delay is hanging off the end of the while loop like that.  Since it won't execute until after the first while loop is complete, what does it do?  If you're hoping it will induce a wait in between the two while loops, it might accidentally work that way, but since the second while loop and the time delay are running in aprallel, there's no way to determine which will happen first.
    BTW - if you already know what the code does, what, exactly, is your question?  How does what it is doing differ from what it should be doing?
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • How can I display the elapsed time of the course using Advanced Actions in Captivate?

    I have a Captivate course which is approximately 35 minutes in length. On each slide I would like to display to the user, the current elapsed time.
    EXAMPLE:
    25/35 minutes complete
    The 35 would remain static, so I have been working with the elapsed time system variable in CP: elapsed:$$cpInfoElapsedTimeMS$$
    I can't seem to get the variable to properly display the elapsed time in minutes, rather than miliseconds. Attached is a screen shot of my advanced action.
    Can anyone provide guidence regarding how I should structure this differntly?

    I talked about that Timer widget in that blog post and pointed to another one:
    http://blog.lilybiri.com/timer-widget-to-stress-your-learners
    If you are on CP7, you'll have this widget also as an interaction, which means it is compatible with HTML5 output. Amd there is also an hourglass interaction, with similar functionality but... did not blog about that one
    PS: Check Gallery\Widgets to find all widgets. Default path is set to Interactions

  • How can I get the elapse time for execution of a Query for a session

    Hi ,
    How can I get the elapse time for execution of a Query for a session?
    Example - I have a report based on the procedure ,when the user execute that it takes say 3 min. to return rows.
    Is there any possible way to capture this session info. for this particular execution of query along with it's execution elapse time?
    Thanks in advance.

    Hi
    You can use the dbms_utility.get_time tool (gives binary_integer type value).
    1/ Initialize you time and date of beginning :
    v_beginTime := dbms_utility.get_time ;
    2/ Run you procedure...
    3/ Get end-time with :
    v_endTime := dbms_utility.get_time ;
    4/ Thus, calculate elapsed time by difference :
    v_elapsTime := v_endTime - v_beginTime ;
    This will give you time elapsed in of 100th of seconds...
    Then you can format you result to give correct print time.
    Hope it will help you.
    AL

  • HT203177 I have a MacBook OSX 10.5.8 and a Time Capsule 500GB since July 2008. My problem is (for the 4th time in 4 yrs) the backup gets stuck in "preparing" indefinitely (hours). In the past, wile still under apple care warranty, tech support had me redo

    I have a MacBook OSX 10.5.8 and a Time Capsule 500GB since July 2008. My problem is (for the 4th time in 4 yrs) the backup gets stuck in "preparing" indefinitely (hours). In the past, wile still under apple care warranty, tech support had me redo backup (loosing previous backups). Now I'm out of warranty and still having this problem. Any help is greatly appreciated.

    I have a MacBook OSX 10.5.8 and a Time Capsule 500GB since July 2008. My problem is (for the 4th time in 4 yrs) the backup gets stuck in "preparing" indefinitely (hours). In the past, wile still under apple care warranty, tech support had me redo backup (loosing previous backups). Now I'm out of warranty and still having this problem. Any help is greatly appreciated.

  • I install LION on my mac pro 2008 and it's alway's pop with " there was a problem connecting to the server " Time Capsule" .How can i remove this popup. My Time machine is working fine and also rename it. But the popup keeps on coming with the old name.

    I installed LION on my mac pro 2008 and it's alway's pop with " there was a problem connecting to the server " Time Capsule" .How can i remove this popup. My Time machine is working fine and also rename it with less than 7 karakters. But the popup keeps on coming with the old name.

    I have a BT Infinity router plugged into the Time Capsule, not sure where the radio settings are?
    They are able to use the network settings of the TC i.e. they can connect to the internet via the wifi through the TC but when they try and connect to the AirPort Disk this is where it is not allowing a connection.
    I don;t have the drive shared out at all at the moment, is this necessary?  How do I do this if so?
    I have attached the screen shots of all the settings.
    Thanks again for your help.

  • There was a problem connecting to the server "Time Capsule".  The share does not exist on the server. Please check the share name, and then try again.

    The following error pop's up as an [OK] dialogue box after logging in the iMac,
    There was a problem connecting to the server "Time Capsule".
    The share does not exist on the server. Please check the share name, and then try again."
    As it happens, a connection to the Time Capsule is established usually, anyway. On occasion it doesn't.
    I have a Volume, Data, on the capsule, which similarly, usually mounts, but occassionally doesn't, with access permissions denied.
    Any suggestions on how begin to work out how to achieve networking seamlesness?

    First, restart the Time Capsule by disconnecting the power adapter and reconnecting it. If other devices on the network can see it, you can skip this step.
    From the menu bar, select
     ▹ System Preferences ▹ Network
    Click the lock icon in the lower left corner of the window and authenticate to unlock the settings, if necessary. Click the Advanced button, then select the TCP/IP tab in the sheet that drops down. Click Renew DHCP lease.
    Try again to back up.
    If you still can't, open the Time Machine preference pane and delete the TC from the list of backup destinations. You may have to unlock the settings by clicking the lock icon in order to do this. Then add it back.

  • When using historical datalogging, is it possible to hide the elapsed time between tag updates when viewing on a graph?

    When my process stops, I am reading an array of tags(datapoints) and writing the max and average to memory tags for data logging. However, when viewing the data, the elapsed time between cycles spreads the data out unevenly. It could be 90 seconds between cycles or maybe two hours or longer. Is there a way to convert the time axis data to be just consecutive datapoints?? It would be like logging data based on a particular condition happening rather than time-based trending. Should I try to use the data set logger examples instead?? I would prefer to use the built-in datalogging features rather than writing to databases.

    You could export your data to a spreadsheet file and then actually write then again in a second database using this example program in the devzone
    http://zone.ni.com/devzone/conceptd.nsf/webmain/5A921A403438390F86256B9700809A53?opendocument
    Using this program (if you don't want to modify it, which would take a reasonable amount of time specially if you are not familiar with VI-Based Server) You would have to generate a collum in your spreadsheet file to be the timestamp, it would be a artificial timestamp.
    What you could do in your application is to first save the data to file and then read from file, substitute the collum timestamp for the "artificial one" and then write it to the database, again, with that you would not need to modify this program.
    However if you have the time and is willing to work with VI-based server you could try to modify the example program to be adapted for your purposes.
    I hope it helps
    Good Luck
    Andre Oliveira
    Applications Engineer
    National Instruments

  • How to keep Nano showing the elapsed time of song?

    Hi,
    I'm trying to figure out how to keep the page that shows the elapsed time / time remaining on instead of flipping back to the album artwork in 10 seconds. I need this function. any help would be appreciated.

    I don't think you can, sorry. But I have emailed Steve and sent feedback to Apple to fix various issues: http://www.apple.com/feedback/ipodnano.html

  • SAP implementation for the first time

    Hi,
    I'm still new to SAP and need to know a few things...
    Could someone help me with the answers of the following questions?
    1) What happens when a company goes through an SAP implementation for the first time.
    2) how the company goes into project mode to achieve success when implementing SAP.
    3) Project Members and what they do:
    Basis Analyst,
    Project Mgr,
    Security Analyst,
    Functional Analysts,
    Integration Manger,
    Technical Manager,
    ABAPers,
    etc.
    4) how the business gets involved to help project members get the help they need to implement SAP.
    Regards,
    Ashod

    Yergat wrote:
    Hi,
    > 1) What happens when a company goes through an SAP implementation for the first time.
    >
    SAP gets implemented
    > 2) how the company goes into project mode to achieve success when implementing SAP.
    Project mode is a state of anarchy between start and End, and being in the state for the longest period woud guarantee success....once you started, there should never be a end
    > 3) Project Members and what they do:
    > Basis Analyst,
    Analyses basic stuff
    > Project Mgr,
    He wrongly projects and manages filthily
    > etc.
    These are the most important ones, so always have them on board
    > 4) how the business gets involved to help project members get the help they need to implement SAP.
    > Regards,
    > Ashod
    When someone kicks on the back-side and we realize that we need to get onto Project mode - make no mistake my firend, it is the Business guys. the project guys need not worry, they will get this help for free

  • How to reduce the elapsed time on this query.

    Oracle10.2.0.5 on AIX6.1.
    Here is the awrsql report of a query for a one hour window.
    Here UNBILLED has 120million records which is partitioned and subpartitioned. It has 10 partitions and 312 subpartitions. One subpartition has 10M records, 10 others have 1M each and 270 subpartitions have 360K records each. And 31 subpartitions are empty.
    And BILLED has 300K records.
    Looking at report you can see that out of 984 seconds, 958 is used for IO. Machine is PowerPC_POWER5 with 8CPU and disk storage on EMC.
    Stat Name                                Statement   Per Execution % Snap
    Elapsed Time (ms)                           984,327        5,561.2    28.6
    CPU Time (ms)                                40,760          230.3    29.8
    Executions                                      177            N/A     N/A
    Buffer Gets                               1,923,456       10,867.0    46.9
    Disk Reads                                  203,832        1,151.6    25.1
    Parse Calls                                       0            0.0     0.0
    Rows                                        106,200          600.0     N/A
    User I/O Wait Time (ms)                     958,766            N/A     N/A
    Cluster Wait Time (ms)                            0            N/A     N/A
    Application Wait Time (ms)                        0            N/A     N/A
    Concurrency Wait Time (ms)                        0            N/A     N/A
    Invalidations                                     0            N/A     N/A
    Version Count                                     1            N/A     N/A
    Sharable Mem(KB)                                 31            N/A     N/A
    SQL_ID akg45a750sh0u
    DELETE UNBILLED WHERE (MSG_ID, MSG_ID2,SPLIT_ROW_NUM) IN (SELECT MSG_ID,MSG_ID2, SPLIT_ROW_NUM FROM BILLED
    WHERE BILL_REF_NO = :B2 AND BILL_REF_RESETS = :B1 )
    Plan hash value: 3879210699
    | Id  | Operation                            | Name                          | Rows  | Bytes | Cost (%CPU)| Pstart| Pstop |
    |   0 | DELETE STATEMENT                     |                               |       |       |     1 (100)|       |       |
    |   1 |  DELETE                              | UNBILLED                      |       |       |            |       |       |
    |   2 |   NESTED LOOPS                       |                               |     1 |   112 |     0   (0)|       |       |
    |   3 |    TABLE ACCESS BY GLOBAL INDEX ROWID| BILLED                        |     1 |    65 |     0   (0)|     1 |     1 |
    |   4 |     INDEX RANGE SCAN                 | BILLED_XCB_BILL_REF_TRANS     |     1 |       |     0   (0)|       |       |
    |   5 |    INDEX UNIQUE SCAN                 | UNBILLED_PK                   |     1 |    47 |     0   (0)|       |       |
    ----------------------------------------------------------------------------------------------------------------------Is there way to improve the elapsed time( currently 5,561.2 msec per execution) of the query?
    Thanks for your time...

    user1014212 wrote:
    You're giving very interresting pointers.. Especially the one using the GTT table... Thanks...
    I was also looking from a DBA point of view, say increasing the DB_CACHE_SIZE from 5GB to 8GB as the machine has almost 32GB memory out of which 13GB is free memory. Because the timed event is "db file sequential read" which takes 95% of Total Call time.
    select * from V_$SGA_TARGET_ADVICE;
    post SQL & FORMATTED results using tags                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Hi, how to load mac without running windows (bootcamp)? The problem is this: the last time i ran the windows, but he hangs and died (can not run further  the logo). now i can not load not windows, not maс! how to be, what to do???

    The problem is this: the last time i ran the windows, but he hangs and died (can not run further  the logo). now i can not load not windows, not maс! how to be, what to do???

    can any body help me, plz!!

  • WebEx is not displaying the elapsed time.

    When watching a Webinar using WebEx with Safari or Chrome the elapsed time is not displayed in the block in the lower left hand corner of the screen. It is on my older Macbook Pro. I have talked to Apple support and Webex support and each blamed the other after a good faith effort. Clearly it is a difference between the operating systems. What can I do?

    I am using 10.10.3 not the version listed.

Maybe you are looking for

  • How to do media recovery from cold backup?????????/

    Hi i take cold backup of my 9i database .... in case my database is up ..... how will i recover my database if i lose a single database file and i want to recover it from cold backup...... Thanks in advance Gagan

  • Not able to logging in DAC 11g, throws "Security Key is invalid or unavailable"

    Hi Friends, I installed DAC 11g in Linux (Installed in Windows and moved it to Linux and configured). It was working fine and sometimes it throws "Security Key is invalid or unavailable". I updated the DAC Repository schema details using standaloneSe

  • Read new data from main vi to sub vi on each loop of sub vi

    I know this is possible (or at least I think I do), what I have is essentially two while loops, one is in hte main VI, which contains all my sub vi's, and the other is in one of my sub vis. I have a DAQ signal coming in to my main VI, and this is bei

  • Want to change an update mode from Delta to Full for 2LIS-11-VAHDR

    We went live recently and since that moment, we are having problem with this DataSource. We've been able to complete the Init and the Delta ran 1 time (the day after).  Since then, it's scheduled to run every night but the data package are always emp

  • Where do we save respective usernames

    Hi All, Currently when we login into application with proper workspace, uname, pwd and then selecting a page we will be redirecting to LOGIN screen where we have give credentails to view the page, and we have developed that page using jsp and whcih i