Analysis of chain to get the Timestamp, LV 2012 problem

I have a VI I wrote in 2013 LV where it works very well.  But with the same VI in LV 2012SP1, analysis of string to get a Timestamp does not work.  Attached is the VI recorded in LV2012 SP1.

Background:

I work with an FPGA where I am synchronizing pulses using the clock of 40 MHz.  I connect these impulses in a file on my host PXI. To correlate the clock on the FPGA with a log file and real life someday, I named the file with a timestamp, and the meter 64-bit encoded hexadecimal string.  Now, I have a pretty good correlation between when the 64-bit against him and the time of day to facilitate the search of the data file.

Now, I try to analyse the file name, so in my analysis of code I can reassociate the value 64 bits with the time of day using the string functions to separate the file name.  With a few regexes (which I've never used in real life before), I've broken down the chain and got the base time as a timestamp, and the counter value as a 64-bit integer.  The VI works very well in 2013 LV.

But when I saved it to the LV 2012, analysis of string to get the timestamp fails.  No error, but the timestamp shows 19:00 12/31/1599 (I am GMT - 5).  I have no idea why.  A bug in the parsing of the string that was set in 2013 LV?

Please run the attached VI in LV 2012.  Confirm if it fails for you.  Then open it in 2013 LV and see if it works for you.

I am trying to make it work in LV 2012 because this project is locked in this version of LV for now.  I can probably do something to reorganize the time string to get something that will scan a digital time stamp if I have to.

Hi Bill,

Sorry to be a bit late on this point, I just came across this thread after the hunt for the CAR for a separate issue. The fix for 300375 CAR is what causes the difference in behavior between versions of LabVIEW. It appears on the list of known issues of LabVIEW 2013, although the description focuses more on the fixed number than other possible differences between the versions.

The thoughts in this thread died on what happened in the difficulty. LabVIEW 2013 now pick up the string of year 2 or 4-digit number when you use the %y or %Y tags, respectively. Previously, the behavior was more forgiving in the year format, leading to incorrect behavior that you have observed strings of 4 digits in the year the %y tag. The original problem, you pointed out (2012 incorrectly string manipulation of tagged %y (2 digits) 2-digit year is precisely what has been fixed in the CAR.

Regarding your strange result over the years with the tag %Y-2 digit, this is a limitation of the type of data Time Stamp itself. The year will always be converted to between 1600 and 3000. So no time extreme travel journaling. Yet.

See you soon,.

Tags: NI Software

Similar Questions

  • Dell laptop 14zxps with windows 7... I get the error code 43 problem when I connect my USB on my laptop

    Hey, I have a laptop of dell 14zxps with windows 7... I get the error code 43 problem when I connect my USB to my laptop... n this laptop is designed in a way where the battery cant b removed... Please help me on how my USB is started again here... Thank you :D

    Try this.

    http://support.Microsoft.com/kb/817900

  • get the timestamp of waveform data

    Hi all

    I'm coming out of the timestamp from waveform data if this is possible. I am writing to file, but the express vi does not allow for fractions of a second and when I write a string waveform data for use with writing to the worksheet, the data of time is lost.

    any suggestions?

    Use Get waveform components. What part of VI? Writing to a file of measure written fractions of a second.

  • How to get the timestamp to start at zero hours?

    Hello.

    I build software that records the values to Excel.

    The user can specify how long the test should run for, and the elapsed time should be defined as a string in hh: mm [:]

    The only problem is that the timestamp begins at 01:00 (calibrated 1904-number I guess). How can I get the count from 00:00:00, or perhaps to subtract the time at the beginning then it starts at zero.

    If you run the VI, you will understand what I mean.

    Thank you!

    Hi auto,.

    You must use relative time instead of absolute time - see the attachment...

  • How to get the timestamp to install official application?

    Is it possible to get the runtime the timestamp to install official application or datetime?
    I not looking for third-party solutions or workaround, but just the bb: official package.

    It seems that it's not accessible, I looked at those:
    BB::application
    BB::Cascades:application
    BB::ApplicationInfo
    BB: PackageInfo

    And none has the information you're looking for.

    Of course, it is quite easy to do it yourself with QSettings:
    QSettings settings;
    If (! settings.contains ("installDate")) {}
    settings.setValue ("installDate", QDateTime::currentDateTime());)
    }

  • How to get the timestamp in filter OEG?

    Hi, may I have another question (sorry for the few issues):

    In OEG, how would I get a timestamp (OEG can generate timestamp?) within the OEG and affect its value in my SOAP message.

    I thank...
    Cliff

    the added attribute is called "timestamp", not "message.timestamp".

  • A shippers sometimes emails get the timestamp of 31/12/1969 18:00. Why?

    A sender of guaranteedrate.com has had three of his e-mails on five or six receive the timestamp of 31/12/1969 18:00 when in fact he sent them in the past two weeks. This place well in the slot more early possible date and found only because they appear as an unread. I don't remember what happens with someone else. It's time to plant; I am Central time. He's in Chicago; I'm in Houston. I always run the latest Thunderbird, now at 38.3.0. My OS is XP sp3.

    I meet also now "threading" of the messages that I have not opted in for and that I don't like.

    Thanks for any help.

    The number of thread

    In the Thunderbird menu bar
    View - sort by - (Date?) - (down?) - not threaded
    (If no Menu bar visible, press onAlt')

    Matter of time.

    In simple terms
    The sender, or a mail server goes by, has a low battery or dead in the CMOS, which prevents the computer from forming properly validates a date/time group.
    Or, if the date/time group is damaged in some way.

    The computer uses the time standard UNIX to calculate the date and time.
    It starts at 0 as of January 1, 1970 00:00 GMT and increases by 1 every second. Computers can calculate a date and time by calculating the number of seconds since the beginning of the time UNIX.

    If a computer shows a group 31 December 1969 time - 18:00, this indicates that the computer is 6 hours west of Greenwich, England, in the early period, or is located in the central area WE delay / Canada

    This isn't a problem with the recipient's computer or with Thunderbird.
    The recipient must contact the sender and let her know the problem of time, so he can check his own machine or notify his local mail server.

    TB - 38, 3 Win10-PC

  • How to get the timestamp of communicable CAN frame?

    All, Hy

    I work with QT C++ and NI-CAN.

    I write a framework to the writing of an object CAN TX_PERIODIC queue.

    I need to get the object (or the purpose of the Interface?) the precise time that the object convey the fram to the network.

    How can I do?

    All the best,

    Aviad

    (There is a similar question in the forum, but no answer...)

    You must define the interface in Self-receive mode.

    Self-reception Specifies to the echo of frames successfully transmitted in the form of received frames. Each reception occurs as if the frame was received from another device CAN. Free receive mode is not available on the Intel 82527 CAN controller
    used by the 1 series BOX material.

  • How to get the timestamp of data DAQmx Read

    Hello

    I have to read 4 analog channels using DAQmx AI read in LabVIEW 2012. I am using screws DAQmx.

    Acquisition rate is 4000 samples per second, and the number of samples per channel is 200.

    I use only one task DAQmx to read the data. I get 4 data tables for 4 channels each table length is 200, every time, DAQmx Read happens.

    But I want to get the seal of these 200 samples per channel. How to get the seal of these samples, made me know.

    Thank you

    You have not indicated your code. If you choose to read the waveform data, the cluster includes t0 and dt. That's all the information you need.

  • How to get the timestamp per minute for the given interval

    Hello

    I have a table with a date of beginning and end of time columns. I need to divide the date given in one minute interval and post the results.

    create table min_data(objectid varchar2(20),starttime timestamp,endtime timestamp,duration number);
    
    
    SET DEFINE OFF;
    Insert into MIN_DATA Values ('U1_B011_P006_InvA', TO_DATE('06/23/2015 02:42:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('06/23/2015 02:46:00', 'MM/DD/YYYY HH24:MI:SS'), 5);
    Insert into MIN_DATA Values ('U1_B011_P006_InvA', TO_DATE('06/23/2015 12:43:00', 'MM/DD/YYYY HH24:MI:SS'), TO_DATE('06/23/2015 12:44:00', 'MM/DD/YYYY HH24:MI:SS'), 2);
    COMMIT;
    
    
    
    
    

    My expected output should be something like this. INT_TIMESTAMP is the timestamp calculated for the given interval (time of start and end times)

    INT_TIMESTAMPOBJECTIDSTARTTIMEEND TIME
    23/06/2015-02:42U1_B011_P006_InvA23/06/2015-02:4223/06/2015-02:46
    23/06/2015-02:43U1_B011_P006_InvA23/06/2015-02:4223/06/2015-02:46
    23/06/2015-02:44U1_B011_P006_InvA23/06/2015-02:4223/06/2015-02:46
    23/06/2015-02:45U1_B011_P006_InvA23/06/2015-02:4223/06/2015-02:46
    23/06/2015-02:46U1_B011_P006_InvA23/06/2015-02:4223/06/2015-02:46
    23/06/2015 12:43U1_B011_P006_InvA23/06/2015 12:4323/06/2015 12:44
    23/06/2015 12:44U1_B011_P006_InvA23/06/2015 12:4323/06/2015 12:44

    I wrote a query that works for one set of intervals.

    With get_data AS(
    SELECT   a.*,
             starttime -1/1440 v_s_date,
             endtime v_e_date
    FROM min_data a
    where duration=5)
    SELECT v_s_date + ((1 / 1440) * DECODE(LEVEL, 1, 1, LEVEL)) int_timestamp, objectid,starttime,endtime
              FROM get_data d
             WHERE MOD(LEVEL, 1) = 0
                OR LEVEL = 1
            CONNECT BY LEVEL <= (v_e_date - v_s_date) * 1440;
    
    

    Please send me a SQL query that gives me the timestamps of minutes between intervals.

    Hello

    The following query works for any number of intervals

    SELECT STARTTIME + ((LVL-1) / 1440) INT_TIMESTAMP, OBJECTID, STARTTIME, ENDTIME

    Of

    (SELECT LEVEL LVL FROM DUAL CONNECT BY LEVEL< 10)="">

    (SELECT * FROM MIN_DATA)

    WHERE STARTTIME + ((LVL-1) / 1440) BETWEEN STARTTIME AND ENDTIME ORDER BY, STARTTIME, ENDTIME LVL;

    Concerning

    Salim

  • Analysis of query and get the list of used tables

    Hi all

    I need to parse the sql query (simple & complex as well) and for a list of the tables used in the query.

    And need to validate the fact that list the tables against a whitelist that is kept in the file.

    I tried to write my own parser, because there are many ways to write complex queries, I'm unable to cover all scenarios.

    I need help, is there other ways to get the list of tables used in a query?

    Thank you

    Manon...

    In general you would add a condition 1 = 2 just to restrict the display of the entire table. Then should not be causing any noticeable performance degradation. You can even use ROWNUM< 2.="" that="" will="" do="" a="" count="" stopkey.="" which="" could="" be="">

    SQL > select * from emp where rownum<>

    no selected line

    SQL > select * from table (dbms_xplan.display_cursor);

    PLAN_TABLE_OUTPUT
    --------------------------------------------------------------------------------
    SQL_ID, 97f4bd002xfy0, number of children 0
    -------------------------------------
    Select * from emp where rownum<>

    Hash value of plan: 4269703525

    ---------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    ---------------------------------------------------------------------------
    |   0 | SELECT STATEMENT |      |       |       |     2 (100) |          |
    |*  1 |  COUNT STOPKEY |      |       |       |            |          |
    |   2.   TABLE ACCESS FULL | EMP |     1.    38.     2 (0) | 00:00:01 |
    ---------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    1 Filter (ROWNUM<>

    19 selected lines.

    But its always good to bench mark it yourself.

  • How to get the timestamp of the Currrent Date

    Hello


    I have a requirement I want ot see the current in my report, Format as date ' October 11,2011 02:31:45 (EST). How to achieve this,
    I have the tahken CURRENT_DATE function in a single column. I'm tryiting change the date custom properties of column data format. i'could not able to get the am and (IS) something... Can someone help on this.

    Shud be simple...

    Use @{system.currentTime} in fx of the column and change the data for this column Format according to your time zone

  • Use the time protocol network on ciro to get the timestamp?

    I take a timestamp from a Protocol Server network time as NIST on a peripheral cRIO connected to the internet. How can I do this? There must be someone in our labview community who has done this before, or knows how to do. Examples of code valued

    Open mouth, insert foot. http://digital.NI.com/public.nsf/allkb/F2B057C72B537EA2862572D100646D43

    cRIO can now (8,6) automatically synchronize a SNTP server on a specified interval. If I put in place that it will automatically keep the right system clock and I can simply take the system time when I need a timestamp.

    Why isn't the search NOR as good as just using google to search the site of NOR? Why OR does not implement a google search? It's so easy, I have on my website.

  • How do you get the timestamp for transfer video recorded on hard disk. Windows 7

    NEST camera time stamp each video created... once I have transferred to my Windows & hard drive to record, the date & time disappear.     How to get Windows & RULE to keep the subtitle of the date & time.

    Otherwise, the security video is worth nothing, if you cannot prove date / time, it happened.

    This happens when the date/time information are stored in a non-standard format. Best is to ask suppliers to the camera.

  • WHEN I RUN TENT "WINDOWS UPDATE", I GET "the site met a problem -".

    THIS IS THE MESSAGE I GET WHEN I TRY THE WINDOWS UPDATE.

    "The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem. »

    WHAT SHOULD I DO TO SOLVE THIS PROBLEM.

    Thank you

    RAY HOUGHTON

    E-mail address is removed from the privacy *.

    http://support.Microsoft.com/kb/883614

    You receive an error message "Windows Update has encountered an error and cannot display the requested page" when you try to install an update

    BTW-

    You must be at Service Pack 3 level before you can use Windows updates.

    To determine which service pack is currently installed on your computer, follow these steps:

    1. Click Startand then click run.
    2. Copy and paste, or type the following command, and then click OK:

    winver

    A dialog box displays the version of Windows and the service pack that is currently installed on your computer.

    http://support.Microsoft.com/kb/2497281
    You may be unable to access the site Web Windows Update in Windows XP, Windows 2000 or Windows Server 2003

Maybe you are looking for