I need a timestamp in milliseconds that starts when my program starts

I currently have the current time in milliseconds as a time stamp. I thought I could program a loop that would subtract the first current time from each but I couldn't make my loop do that. Does anyone know how to make a loop such as this or is there an easier way. Also, my time stamp needs to be in the form of a string. This is also causing me problems. Any help would be greatly apprecieated.

Perhaps I am not understanding the depth of the question, but it seems to me
that the attached html should show you how to achieve your goal of having a
loop that saves delta times. Read your initial time outside of the loop,
then at each loop iteration read the current time, do the subtraction and
store the result. Using automatic indexing at the output of the loop will
create your array automatically.
Hope this helps...
Jim
"Amy Slaga" wrote in message
news:[email protected]..
> I currently have the current time in milliseconds as a time stamp. I
> thought I could program a loop that would subtract the first current
> time from each but I couldn't make my loop do that. Does anyone know
> how to ma
ke a loop such as this or is there an easier way. Also, my
> time stamp needs to be in the form of a string. This is also causing
> me problems. Any help would be greatly apprecieated.
[Attachment Delta_Timestamp_1.html, see below]
Attachments:
Delta_Timestamp_1.html ‏1 KB

Similar Messages

  • Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901

    Hi Everyone,
    I have a program that sends information(analog output) to lab windows cvi in the form of a text file or user input.
    The program runs on the computers that I have the field point explorer and lab windows cvi installed on. In order to run the program without always installing labwindows/cvi and field point; I wanted to create an executable file that could be load on another computer.
    I used the create distribution kit part of labwindows/cvi to do this.After creating the distribution kit, I then installed it
    to another computer.
    My user interface appears on the screen, when the user clicks on the exe. file, but no data is sent to the field point module. I know that the data is being read from the user and textfile because in it appears in the uir.
    The following are some details about the problem:
    1. On another computer without labwindows/cvi and field point explorer not installed - no data is sent to field point module
    I know this because a current is being read on the current meter connected to field point module.
    My questions are the following:
    1. What are the possible reasons for the data not being sent to the field point module?
    2. Do I still need to create an iak. (Installing Field point Explorer) file stored on any new computer that I install my created distribution kit file too?
    Thankyou very much for any help that you can provide. I greatly appreciate it.
    Faen9901

    Re: Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901Faen9901,
    1) If you do not install FieldPoint Explorer, the FieldPoint Server is not installed so there is nothing on the target computer that knows how to talk to the FieldPoint system.
    2) Yes, you need an IAK file on the target computer. Assuming the settings (i.e. com port#) are identical you can simply include the iak file as part of the distribution.
    3) You also need to include as part of your installer the file "fplwmgr.dll". If this file is not installed, your program will not be able to access the FieldPoint Server. Alternatively, this file is installed automatically if FieldPoint Explorer detects LabWindows/CVI or Measurement Studio Development versions on the target computer or if you choose to do a custom FieldPoint Explorer installation and
    choose to provide LabWindows/CVI support.
    Regards,
    Aaron

  • Need certain LED's to turn on when program is run

    Guys,
    Attached is an instrument .vi that I have been working on.  I was wondering if someone could open it and make the following changes.  I need the following things to turn on when the program is run:
    2nd LED of the "Wheel" Button
    3rd LED of the "SYNC" Button
    2nd LED of the "MODE" Button
    1st LET of the "MEASURE" Button
    If someone could help me with this I'd really appreciate it....
    Attachments:
    New Focus Optical Chopper (Group 8).vi ‏65 KB

    Why don't you just manually click them on in edit mode, then make the current values default and save the VI?
    LabVIEW Champion . Do more with less code and in less time .

  • Need a Tool to Display When a Program Was Last Used

    Is there an SAP tool that tells when a program was last ran? I need to terminate some custom programs but unsure of which programs are not being used. Is there anything in SAP that I can use to tell me when a program was last used i.e., 6 months ago, 1 year or 2 years ago or perhaps more?
    Thanks in advance and Happy New Year!

    Hi Beth,
    Information like this is as good as the logging configured in your system. If your basis team is good at keeping logs for a long time, then you should be able to get this information using SM20 transaction.
    If they didn't keep the logs(since they are voluminous, they periodically delete them), then you have no trace of them). Work with your basis team, they may know more transactions.
    Another option is to pick the programs that you think are obsolete, remove access to execute them from all the users and if no one comes back, you may delete it. But this means you may even have to wait for one year, as there may reports that are run only on year-end.
    There is no straight forward way of knowing this information unless you have the basis help.
    Please let me know if it helped.
    Regards,
    Srinivas

  • Hi, I need Photoshop Organizer to stop automatically start and try to organize files when I insert a card in the reader. How do I do that?

    Hi, I need Photoshop Organizer to stop automatically start and try to organize files when I insert a card in the reader. How do I do that?

    Hi,
    Which operating system are you running on?
    Which version of Photoshop Elements are you using?
    The automatic running is usually invoke by your operating system. For instance in Windows 7, go to the control panel and select Autoplay. There, look for the action when pictures are detected - it is probably set to elements. Set it as you want.
    Brian

  • When I try to start outlook for mac, i get the message that there is an old version of the Microsoft Database Daemon that needs to be deleted from the start up files. Where do I find the start up files???

    when I try to start outlook for mac, i get the message that there is an old version of the Microsoft Database Daemon that needs to be deleted from the start up files. Where do I find the start up files???

    In the Users & Groups pane of System Preferences.
    (66105)

  • Parental Controls: I need a range that starts at 10 minutes

    I realize my family is NOT typical, but for reasons I won't detail here we need a daily access limit range that starts at 10 minutes.
    The range in 10.5.3 starts at 30 minutes.
    Are there any known hacks to change that low end setting to 10 minutes?
    If any Apple engineer wants to understand why 30 minutes is not a brief enough bottom limit they can email me at [email protected]
    Message was edited by: jfaughnan

    A friend of mine (Andrew M) suggested the following hack to change the parental controls setting. Note this hack requires editing a root controlled plist. We don't yet know if the hack will persist after reopening the GUI controller.
    Still, it suggests a fix others may wish to explore further.
    download pseudo
    run plist editor via pseudo (runs plist editor as root)
    (drag plist editor on top of pseudo)
    open /Library/Managed Preferences/[child account name]/com.apple.familycontrols.timelimits.plist
    in plist editor, go to root/limits-list/0/allowances/timelimitseconds and set to however many seconds you want
    do same thing for root/limits-list/1/allowances/timelimitseconds
    save

  • Function to convert timestamps into milliseconds

    Hi,
    Does SAP have a function module which can read in a date/timestamp and output that time in milliseconds (a long integer starting from 1st January 1970)?
    Many thanks in advance,
    Peter

    try:
    PARAMETERS:d2 TYPE sy-datum DEFAULT sy-datum,
               d1 TYPE sy-datum default '19700101'.
    data sec_day TYPE i . "ms per day
    DATA : d TYPE i.
    DATA result TYPE f.
    DATA rp(16) type p decimals 0.
    AT SELECTION-SCREEN ON d2.
      IF d2 LE d1.
        MESSAGE e001(00) WITH 'date must be greater than 1970/01/01'.
      ENDIF.
    START-OF-SELECTION.
      sec_day = 24 * 60 * 60 * 1000.
      d = d2 - d1.
      rp = result = d * sec_day.
      WRITE: / d2, d1, d, / result, rp.
    hope that helps
    Andreas
    Edited by: Andreas Mann on Apr 10, 2008 3:37 PM

  • I am using Firefox 11 and I am unable to print web pages. I can print PDFs ok. I tried to open the prefs.js file to delete anything that starts with print and I get an error message.

    I cannot print web pages. I've tried the solutions suggested like deleting anything that starts with print in the prefs.js file but I get an error message: Script: c:\users\rick\appdata\roading\mozilla\firefox\profiles\iviwh5c1.default\prefs.js
    line: 1
    Char: 1
    Error: invalid character
    code: 800A03F6
    Source: Microsoft JScript compilation error

    When editing '''prefs.js''' you need to use a simple text editor program. WinXP Notepad messes up the line formatting of prefs.js, so I use Wordpad - but you need to save the edited file in a Text-Only format (Wordpad asks about that when you go to save the edited file). I never used Win7, so I don't know if that version of Notepad messes with the line formatting of prefs.js or not.
    Another thing - make sure '''''"Hide extensions for known file types"''''' is de-delected in Windows file / folder options > view -> advanced settings. Otherwise Windows may add a .txt file extension that you won't be able to see, and that will break that file in Firefox. '''prefs.js.txt''' won't be recognized by Firefox, when is expecting to find '''''prefs.js''''' .

  • Our benefit administrator keeps getting an error on adding a social security number that starts with a 9, that is a valid SSN for a spouse, How do we allow this to go through?

    Our benefit administrator keeps getting an error on adding a social security number that starts with a 9, that is a valid SSN for a spouse, How do we allow this to go through?

    To attempt a new chat session...
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    http://helpx.adobe.com/x-productkb/global/service1.html

  • How can I make a brush that starts and ends in a thin line?

    I am looking to make a brush that I can use for cartooning in CS6 that starts out thin, gets thicker with pressure (I have a cintiq), and ends in a thin line. Does anyone have the expertise to make one?
    Thank you.

    I watched the first half of the tutorial from your link and some parts of the rest. It is a good tutorial. He is using an art brush which profile was created from an elliptical shape with sharp corners which gives that ink kind of appearance which is good for this kind of style. Most of the time though I prefer the appearance of the rounded ends of the calligraphic brushes. Also one advantage of the calligraphic brushes is that it can change its size or the size of the selected strokes with the [ and ] keys on the keyboard while with the art brushes this is done by changing the stroke weight which also can change the weight of calligraphic brushes in addition to the [ and ] keys.
    Like in the tutorial I often use a similar workflow ending up with the brush strokes converted to filled paths but I simply use expand appearance then remove the unwanted parts with the Eraser brush which can be made pressure sensitive in the options that you get when double clicking the Eraser tool. This is less precise than the technique the guy is using in the video tutorial but it is quick, I like  the hand touch appearance of the imperfections, and it also allows me to paint the white (transparent) highlights like for example the highlights on the booths of my cowboy. The Blob brush is the tool above the Eraser in the Tool panel and works basically the same like the Eraser but it adds to the fill of a path and it also has these and more options when you double click it. I use it most of the time in a combination with the Eraser to add or remove final details of illustrations started initially with brush strokes and then expanded. And like in the video tutorial I also like to keep a copy with the stage before expanding the brush strokes in case I need some changes on brush stroke level.
    I also use a different technique for adding new color fills on the illustrations instead of cutting paths with the knife. I don't like the knife because I often do not like the first cut which I may realize later when undo is not the best workflow. What I do is copy paste in front the path and use the pencil tool set to edit the selected paths and change the shape of the selected path similar to using the knife but the pencil has to start and end on the path. The advantage of this for me is that the new fill with the different color is overlapping the original fill behind and when later I decide to change its shape I don't get gaps between the two colors which is what will happen if the knife was used.

  • I need some FREE website templates that i can edit in dreamweaver.. help!!!

    i need some FREE website templates that i can edit in dreamweaver.. help!!! anyone know where i can find good ones?

    By Template, are you looking for DW Template.dwt files?
    Dreamweaver templates: Customizable starter designs for beginners | Adobe Developer Connection
    Or pre-built CSS & HTML Layouts (starter pages)?
    For starter pages in DW, go to File > New > Blank page > HTML.
    Select a layout from the 3rd panel and hit Create button.
    Or, look at Project Seven's commercial CSS Layouts and Page packs (not free, but well worth the investment if you want a good final product).
    http://www.projectseven.com/
    Or do you want Responsive Layouts that work in mobile, tablet and desktop?
    Foundation Zurb
    http://foundation.zurb.com/templates.php
    Skeleton Boilerplate
    http://www.getskeleton.com/
    Initializr (HTML5 Boilerplate, Responsive or Bootstrap)
    http://www.initializr.com/
    DMX Zone's Bootstrap FREE extension for DW
    http://www.dmxzone.com/go/21759/dmxzone-bootstrap/
    Nancy O.

  • How to get name of batch file/shell script that starts program?

    I don't think there's a way to do it, but I'm asking the question anyway...
    of course, the startup script could pass its name as a parameter to the Java program, but I was wondering if the information could be determined "directly," via Java code. The idea is to allow your Java program to modify the startup configuration specified by your startup shell script.
    For example, a "startup configuration" menu item would pop up a dialog box that would display- and allow you to change- the startup parameters, and then let you write the changes back to the script file.

    There are always some ways to do things.
    I guess for your case, you need to go through JNI and have a native program to back track the Process ID of who started who. Never done that but I guess should work.
    But a more natural way to do this is to have your startup configuration stored in an xml file or a properties file inside your classpath.
    --lichu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • My lock screen only stays on on for a millisecond on start up ipad air is this usual

    my lock screen only stays on on for a millisecond on start up ipad air is this usual.

    Thanks for the replies.  I like to power down most of the time to save battery so if it's gonna be normal for me not to be able to get to the slider screen before it goes into sleep I guess  I will have to accept it.  However I'm sure I remember rightly that the first few times I used it after set up it used to stay on screen for several seconds to allow me to slide the button over.  Now it never does and to be honest I would expect it to wait after all you don't boot up your PC and then it immediately go into sleep mode unless something was wrong.  I thought most things when powered on would let you sign in or whatever before "going to sleep". 
    Just concerned to do a reset in case the darned thing does erase stuff which would seriously tee me off.  Appreciate the feedback guys.

  • How can i sort PDF's on IBook with the name that starting with numbers

    i import a number of pdf's representing ameeting agenda as the files names (1xxx,1.1xxxx, 2.xxxx,10.xxxx) on ibook , however the files sorted on a diffrent way as file start with 10 on first . so how can i sor the files on the IBook  with its name starting with numbers as1 &1.1 and so on.

    You seem to want a numeric sort but are getting a character sort.
    a number range  would be 0,1,2,3, ... 9,10,11 ...
    sorting like everything else with computers is an algorithm.  Someone needs to define how it works.  When you see a list of files, someone has defined how the list will be sorted. If you compare Windows file sorting to Mac files sorting you will find there are differences.
    In the case of files sorting, the files are sorted on characters from left to right. In file sorting the sorting algorithm does not try to determine that files are numbers.  All files beginning with a 1 will be sorted together becuase the file sorting althorithm doesn't look at the second character position before grouping all the 1's together.
    For what it is worth, there are multple books written on sorting.
    Robert

Maybe you are looking for

  • Special Character Encoding issue

    Hi all Am using OAS9i. i ve deployed a webservice. i submit a payload request data that has some unicode characters like "§". The data is base64binary encoded. The type of the element mentioned in the schema is base64binary. When i retrieve the paylo

  • I accidentally deleted safari on my 2006 mac os x 10.5.8 how do i reinstall it?

    I was trying to update it but ended up deleting it somehow and that was my ONLY browser...how can i install it back?

  • Error message "The file 'iTunes library.itl' . . .

    Someone help! I got an error message "The file 'iTunes library.itl' cannpt be read because it was created by a newer version of iTunes." What does that mean? I had a clean-up done and now I can't access my music! I tried to download a updated version

  • Works in s40 but not in s60 nokia phones

    Hi, I have a midlet that works really well in s40 phones, but not in s60 phones. it runs really well in WTK2.5.1. Any ideas what could cause it? Thanks in advance!

  • How Do I Add My 8GB I Pod Touch To 'Find My IPhone'?

    I Have Had This IPod Touch For A Few Years, Its 8GB And Has No Camera. I Found This App 'Find My IPhone' On My IPhone, I Downloaded It On My Iphone And ITouch, But I Dont Know How To Add The Device To My IPhone Finding App, Any Help?