Need to output time

Hi! I've got a slight problem with my Labview code, and I was hoping you could help me. I'm outputting counts from three sepearte channels and would like to know the time (how many milliseconds from when the vi started) each value was taken. Right now, I just get three columns, each with the counts taken from my three channels. I need a fourth column to specify the time. I've included my code to give you a better view of what i'm talking about.
Thaks!
Katie
Attachments:
Time_output_lacking.vi ‏261 KB

I am pretty sure the tick timing you see is accurate. I stripped down your code to just the tick part and attached it below. You will see that it works as expected.
To get better timming stats for the first run, you might consider puting the outside tick count in a sequence that is allowed to run after all the counters are configured but before the while loop.
There is the remote possiblity that the tick count rolled over while your program was running. Do you get the same results everytime you run your code? You might cosider just running your data points to the edge of the while loop, right clicking on the tunnel, and choosing to auto index. That should simplifiy your code somewhat and help you troubleshoot the outputs.
As far as further troubleshooting goes, I recommend paying attention to the counters. There may have a strange configuration setting that returns many values and not one value at a time.
Attachments:
Stripped_down_Time_output_lacking_(modified).vi ‏49 KB

Similar Messages

  • Need to output # of rows after date

    This seems like it probably has a simple solution that I just
    can't seem to get correct...
    I need to output the next 4 events that take place from the
    current date. I tried:
    <cfloop from="1" to="4" index="i">
    <cfif #DateFormat(games.gamedate)# GTE
    #DateFormat(Now())#>
    all the info that is displayed here
    </cfif>
    </cfloop>
    However this is just returning all the games that take place
    from the current date, and lists each game 4 times. I also tried
    putting maxrows="4" in my <cfoutput> statement, but that
    returns nothing.
    Any and all help is much appreciated.

    here's the entire block of code (minus the references to
    getting the next 4 records...this works but just lists all games
    from today on out):
    <cfquery name="athgames" datasource="#dsn#"
    username="#db_user#" password="#db_pass#" dbtype="query">
    SELECT *
    FROM Athletics
    WHERE sport = 'Basketball'
    ORDER BY gamedate ASC
    </cfquery>
    <cfset endofweek = dateAdd("d", +6, now())>
    <cfoutput query="athgames" group="gamedate">
    <cfif #DateFormat(athgames.gamedate)# GTE
    #DateFormat(Now())#>
    <cfif #DateFormat(athgames.gamedate)# EQ
    #DateFormat(Now())#>
    <p><u>Today's Games</u><br />
    <cfelse>
    <p><u>#DateFormat(athgames.gamedate, "dddd, mmmm
    d")#</u><br />
    </cfif>
    <cfoutput>
      #athgames.homeaway#
    #athgames.opponent# -
    <cfif #TimeFormat(athgames.gametime, "h:mm")# EQ
    #TimeFormat("12:59 AM", "h:mm")#>
    TBA
    <cfelse>
    #TimeFormat(athgames.gametime,"h:mm tt")#<br />
    </cfif>
    </cfoutput>
    </p>
    </cfif>
    </cfoutput>

  • My Apple TV all of a sudden refuses to show my movies from my MacBook and says it needs to set time network. What is that?

    My Apple TV all of a sudden refuses to show the movies from my MacBook and says it needs to set time network. What is that?

    Welcome to the Apple Community.
    The Apple TV should set it's time automatically from the network time server, if it isn't doing this try restarting the Apple TV by removing ALL the cables for a 30 seconds, if this fails try resetting or restoring it.

  • Report is executing in background and need data(output) in excel format

    Report is executing in background and need data(output) to get downloaded in excel format in my PC from an internal table;;in any drive i.e. C: or D: .When executing in backround it prompt to user with which location excel file to be saved and the name of file.How to download in background in excel format?
    Edited by: PRASHANT BHATNAGAR on Aug 26, 2008 6:24 AM

    Hi
    Download a report to excel with format (border, color cell, etc)
    Try this program...it may help you to change the font ..etc.
    Code:
    REPORT ZSIRI NO STANDARD PAGE HEADING.
    this report demonstrates how to send some ABAP data to an
    EXCEL sheet using OLE automation.
    INCLUDE OLE2INCL.
    handles for OLE objects
    DATA: H_EXCEL TYPE OLE2_OBJECT,        " Excel object
          H_MAPL TYPE OLE2_OBJECT,         " list of workbooks
          H_MAP TYPE OLE2_OBJECT,          " workbook
          H_ZL TYPE OLE2_OBJECT,           " cell
          H_F TYPE OLE2_OBJECT.            " font
    TABLES: SPFLI.
    DATA  H TYPE I.
    table of flights
    DATA: IT_SPFLI LIKE SPFLI OCCURS 10 WITH HEADER LINE.
    *&   Event START-OF-SELECTION
    START-OF-SELECTION.
    read flights
      SELECT * FROM SPFLI INTO TABLE IT_SPFLI UP TO 10 ROWS.
    display header
      ULINE (61).
      WRITE: /     SY-VLINE NO-GAP,
              (3)  'Flg'(001) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (4)  'Nr'(002) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Von'(003) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (20) 'Nach'(004) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP,
              (8)  'Zeit'(005) COLOR COL_HEADING NO-GAP, SY-VLINE NO-GAP.
      ULINE /(61).
    display flights
      LOOP AT IT_SPFLI.
      WRITE: / SY-VLINE NO-GAP,
               IT_SPFLI-CARRID COLOR COL_KEY NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CONNID COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYFROM COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-CITYTO COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP,
               IT_SPFLI-DEPTIME COLOR COL_NORMAL NO-GAP, SY-VLINE NO-GAP.
      ENDLOOP.
      ULINE /(61).
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-007
           EXCEPTIONS
                OTHERS     = 1.
    start Excel
      CREATE OBJECT H_EXCEL 'EXCEL.APPLICATION'.
    PERFORM ERR_HDL.
      SET PROPERTY OF H_EXCEL  'Visible' = 1.
    CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING #1 = 'c:\kis_excel.xls'
    PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-008
           EXCEPTIONS
                OTHERS     = 1.
    get list of workbooks, initially empty
      CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP.
      PERFORM ERR_HDL.
    tell user what is going on
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - start
    CALL METHOD OF H_EXCEL 'Workbooks' = H_MAPL.
      CALL METHOD OF H_EXCEL 'Worksheets' = H_MAPL." EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    add a new workbook
      CALL METHOD OF H_MAPL 'Add' = H_MAP  EXPORTING #1 = 2.
      PERFORM ERR_HDL.
    tell user what is going on
      SET PROPERTY OF H_MAP 'NAME' = 'COPY'.
      CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
         EXPORTING
              PERCENTAGE = 0
               TEXT       = TEXT-009
           EXCEPTIONS
                OTHERS     = 1.
    output column headings to active Excel sheet
      PERFORM FILL_CELL USING 1 1 1 'Flug'(001).
      PERFORM FILL_CELL USING 1 2 0 'Nr'(002).
      PERFORM FILL_CELL USING 1 3 1 'Von'(003).
      PERFORM FILL_CELL USING 1 4 1 'Nach'(004).
      PERFORM FILL_CELL USING 1 5 1 'Zeit'(005).
      LOOP AT IT_SPFLI.
    copy flights to active EXCEL sheet
        H = SY-TABIX + 1.
        PERFORM FILL_CELL USING H 1 0 IT_SPFLI-CARRID.
        PERFORM FILL_CELL USING H 2 0 IT_SPFLI-CONNID.
        PERFORM FILL_CELL USING H 3 0 IT_SPFLI-CITYFROM.
        PERFORM FILL_CELL USING H 4 0 IT_SPFLI-CITYTO.
        PERFORM FILL_CELL USING H 5 0 IT_SPFLI-DEPTIME.
      ENDLOOP.
    changes by Kishore  - end
    disconnect from Excel
         CALL METHOD OF H_EXCEL 'FILESAVEAS' EXPORTING  #1 = 'C:\SKV.XLS'.
      FREE OBJECT H_EXCEL.
      PERFORM ERR_HDL.
          FORM FILL_CELL                                                *
          sets cell at coordinates i,j to value val boldtype bold       *
    FORM FILL_CELL USING I J BOLD VAL.
      CALL METHOD OF H_EXCEL 'Cells' = H_ZL EXPORTING #1 = I #2 = J.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_ZL 'Value' = VAL .
      PERFORM ERR_HDL.
      GET PROPERTY OF H_ZL 'Font' = H_F.
      PERFORM ERR_HDL.
      SET PROPERTY OF H_F 'Bold' = BOLD .
      PERFORM ERR_HDL.
    ENDFORM.
    *&      Form  ERR_HDL
          outputs OLE error if any                                       *
    -->  p1        text
    <--  p2        text
    FORM ERR_HDL.
    IF SY-SUBRC <> 0.
      WRITE: / 'Fehler bei OLE-Automation:'(010), SY-SUBRC.
      STOP.
    ENDIF.
    ENDFORM.                    " ERR_HDL
    Regards
    Murali Papana

  • I just purchased Time Capsule today.  I ONLY want to use it as an external drive.  I do not need it for Time Machine. I can see the TC in my finder, but when I click on a file or video to drag and drop, I get message that TC can't be modified. Help please

    I just purchased Time Capsule today.  I ONLY want to use it as an external drive.  I do not need it for Time Machine. I need to free up room on my computer. As of now, I can't even load updates. I can see the TC in my finder, but when I click on a file or video to drag and drop, I get message that TC can't be modified. Help please!

    I agree with Kappy.. passing files and especially via wireless is slow as slow.
    Just need to be sure your TC is the new AC model??
    And the OS on the computer is Lion?
    Have you completed the setup of the TC via the utility? You do still need to get internet via the TC so it has to be plugged into the main router..
    Give us the full picture of the network.
    Then we can help you get into it.. whether you should put your files on it is another question.

  • I need to output a PAL HDV project from FCP as a PAL DV file with 4 audio t

    I need to output a PAL HDV project from FCP as a PAL DV file with 4 audio tracks - specifically one stereo pair to be t1&t3, the other stereo pair to be t2&t4. This is the standard way requested by an international distributor of tv programmes. I understand how to set the sequence in FCP to output 4 audio tracks - either 2 stereo pairs (1&2, + 3&4), or 4 discrete tracks. But how do I then output this as a QT file?
    The manual tells me that to export multiple audio tracks, File>Export>QT Movie has it's Config pop-up menu in the Audio Settings area of the General tab of the Sequence Settings. Well, that's set for 4 discrete channels, but the QT export settings only allow for 2 mono or 1 stereo output, and that's what I get when I try it. What it says in the manual just doesn't happen.
    Exporting via Compressor, on the other hand, has an abundance of choices of 4-track outputs, none of which are labelled as anything resembling 'discrete'. Would any of those 4.0 settings suffice? Or am I likely to get myself into difficulties further down the line? As I am monitoring for this task on a 2-track audio system, I cannot confirm exactly what I am getting when I use any of those settings.
    Any advice would be greatly appreciated!
    John

    Call me naive, but I've not heard of splitting the stereo pairs like this before.
    What broadcaster? (perhaps one of our EU regulars will drop in...)
    You can do all sorts of pairing but it is coincident tracks pairing- eg 1/2 + 3/4
    Sorry I can't offer anything.
    x

  • Alert message is needed at the time of creation ,if it reaches ,the maximu

    DEAR SA EXPERTS,
    Can you please me that alert message is needed at the time of creation ,if it reaches ,the maximum stock level (Stock+level)
    Thanks
    Mohit

    Hi,
    Please refer the below links.
    Alert Message
    Re: Alert Message
    Hope it helps you.
    Thanks.

  • Need smartform output in different languages

    Hi expert,
    Can you please let me know how can I see the output of a smartform in different languages. I'm seeing the output of a sales order. I have three output types . ZZAC,ZZ00, ZZ01. The smarform is developed with the language attributes of Translate into all languages. Is it required to convert the forms in SE63? or there are other ways we can see it.
    I need the output in all the languages like FR,EN,DE,IT,ES ,EN etc.
    Thanks in Advance,
    Abhi

    HI,
    Try This... hope it will solve your problem....
    To maintain the translations:
    1. Go to transaction SE63 in R/3. Go to menu Translation->R/3 Enterprise->Other Long Texts.
    2. Select the object type in the pop up. Smartform (SSF) object type is found under Forms and Styles(FS).
    3. Enter the name of the Smart form and choose the source and target language(Let the Source Language be 'EN'). Now Click on 'EDIT'.
    4. This would open a screen with the Smartform code in Source language on the top and an editor with the same code in the bottom. Find the text for which you need to maintain the translation and insert the translation in that place.
    As usual after required texts are maintained Save and Activate.
    To see the translated Smartform create an output type and assign the smartform and the driver program to this output type. In the transaction that sends output to this smartform, select the output type and select the language in which the smartform has to be displayed (translations have to be maintained in this language).This will give the smartform in the required language.
    Regards,
    Shri

  • I need help. every time i turn on my laptop an error message pops up: the procedure entry point sqlite_wao -checkpoint could not be located in the dynamic link library SQLite3.dlll  HOW DO I FIX THIS?

    i need help. every time i turn on my laptop an error message pops up: the procedure entry point sqlite_wao -checkpoint could not be located in the dynamic link library SQLite3.dlll  HOW DO I FIX THIS?

    Hi whatsthe77,
    Welcome to Apple Support Communities.
    You may want to follow the steps in this article to reinstall iTunes:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/HT1923
    Have a great day,
    Jeremy

  • Proxy To file scenario : need the output in hierarchial structure

    Hi all,
    I am doing a proxy to file scenario. Now I am getting the output as :
    <documents>
    <document>
    <header>
    <delivery_number></delivery_number>
    <tax_number/>
    u2026
    </header>
    <data>
    u2026
    </data>
    </document>
    <document>
    <header>
      u2026
    </header>
    <data>
       u2026
    </data>
    </document>
    u2026
    </documents>
    But I would like to change the output to below structure.
    <documents>
               <document>
         <header>
                                 <delivery_number></delivery_number>
                                 <tax_number/>
                                  u2026
                         </header>
         <data>
                                     u2026
                          </data>
               </document>
               <document>
         <header>
                                 u2026
                          </header>
         <data>
                                u2026
                         </data>
                 </document>
    u2026
    </documents>
    Can anyone suggest me how can I get this?
    Thanks,
    Arivarasu S
    Edited by: Arivarasu S on Jan 31, 2011 2:54 PM
    Edited by: Arivarasu S on Jan 31, 2011 3:00 PM

    <documents>
          <document>
                <header>
                           <delivery_number></delivery_number>
                            <tax_number/>
                                      u2026
                 </header>
                 <data>
                            u2026
                  </data>
           </document>
    </documents>
    I need the output as mentioned above.. pls let me know how can i achieve this..
    Thanks,
    Arivarasu S
    Edited by: Arivarasu S on Jan 31, 2011 6:59 PM

  • In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    When formatting your column to date/time, pick Date & time, and then pick the letter i in the circle to the right. Then scroll down and pick "No time"
    Jason

  • 0PM_OM_OPA_2  needs too much time

    hi, experts,
    I started a DELTA info-package to 0PM_OM_OPA_2 and the program in r/3 obviosly needs too much time. So in BW I get an error message and the process is interrupted. When I check the extractor via RSA3 every thing is ok, besides the long time for the extraction. Any idea, how can I solve the problem?
    best regards
    neven

    hi, Frank,
    thanks for your tip. But, how about the SETUP-Tables? Do I need to delete and refill some SETUP-Tables for this data source ( Transactions LBWG and OLIIBW )?
    best regards
    neven

  • HT4753 Do I need to turn time machine on to use versions?

    My versions is not working. I tried a simple thing like creating a simple text file and saving a couple versions. Then clicking to browse all versions which then get the spinning wheel for a while, then when versions opens, it only shows black boxes with the text "unable to open version".
    So one of my questions is do I need to have Time Machine turned on to use this feature? Currently it is turned off.
    My machine is brand new with solid state drive and 8GB of RAM.
    Thanks.

    Drat. 
    It sounds like the Versions database is corrupted.  We've seen that on a few occasions.
    It's a hidden folder, so you'll have to be able to see it.  Download the free TinkerTool app, per #A3 in Time Machine - Troubleshooting (Versions isn't related to Time Machine, that's just where my page with directions is).
    Once you can see the hidden files, open a Finder window to your internal HD.  You'll see a lot of stuff shown in gray that you haven't seen before.
    At or near the top should be the .DocumentRevisions-V101 folder, with a red badge.  That's the culprit.   Delete it (you'll have to authenticate), empty the trash, reset the Finder to hide hidden files, and do a Restart.
    Then try your document again (that should re-create the folder).

  • Need report output same as its show in the previewer in the (.txt and .xls) format

    I need an output file(in text and excel format) generated from the report builder exactly in same format as it shows in the Report previewer.
    it should include all the labels as well as the data.
    Thanx in advance
    Reply ASAP
    From
    Dharmendra

    Hi Dharam
    You can create text file output as seen on Live Previewer by generating to Text (File->Generate to File->Text). Ensure that you run Builder with the following command line parameter:
    MODE=CHARACTER
    If the Builder mode is not character (BITMAP), it will generate PostScript file if you do a File->Generate to File->Text.
    You can create Excel format output from Reports with Delimited output (File->Generate to File->Delimited). In the ensuing dialog box, choose comma (,) as the delimiter to obtain a CSV file. Export this file in Excel.
    Regards
    The Oracle Reports Team

  • Hi I need help first time here converting a file

    Hi I need help first time here converting a file

    Thank you for your subscription to our service.  Please see below.
    How to convert your file to PDF file:
    Using Adobe Reader:
    Launch Adobe Reader X or Reader XI
    Select “Tools” and click “Sign In” link to sign in with your Adobe ID and password
    Select “Create PDF” then click “Select File” button
    Click “Convert” after select your file
    Click “Download Converted File” link to download the file to your computer after the process is completed.
    Using Web UI
    Log into https://createpdf.acrobat.com/signin.html with your Adobe ID and password
    Select “Convert to PDF”
    Click “Select Files” button then choose your file Click “Download” button in the progress bar after completion of the process to download the PDF file to your computer.
    Converted PDF files are stored at https://files.acrobat.com and you can log in with your Adobe ID and password.  You can share your files with others or download them to your computer.
    Please let me know if you have further questions.
    Hisami

Maybe you are looking for

  • How can I find out if my mac mini running snow leopard can be upgraded to mountain lion?

    I have a mac mini with sufficient ram for the mountain lion OS however, I am unable to determine if the machine was created in early 2009.  Is there a way to make sure my machine will take the upgrade without purchasing the operating system first?

  • What is % in a Abap code?

    i have a report which uses % everywhere. No idea what that means? part of the code is like this.. DATA %data_selected(1). DATA %glframe(1)  VALUE 'X' . DATA %uflag(1). DATA %ustflag(1). SELECTION-SCREEN: BEGIN OF LINE. PARAMETERS:       %alv RADIOBUT

  • Report which gives all the manullay released salesorders - VKM2

    User want to run a selected date range to run a report, to lists all the sales orders that have been manually released via T-code: VKM2 But I can not find the related display variant, or do you have any other related report ? Thanks Srikanth

  • MobileMe not showing up

    I've been trying to upload my website through MobileMe with a personal domain. In iWeb, every time I go to it, it says that I'm not logged into Mobileme. I've gone to my system preferences multiple times, logged out, and logged back in. It still says

  • Finder crashes if I attempt to read any image updated by Adobe Lightroom

    Install seemed to go flawlessly except that I can no longer preview, see an icon or open in any way in Preview, any image that has been updated (the metadata) in Adobe Lightroom. I'm running Adobe Lightroom 1.2 and all image still open fine in it, or