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.

Tags: NI Software

Similar Questions

  • 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,.

  • How can I get the exact time and date on my FAX LOG

    I have a new HP Officejet 6500 has more on my Dell Inspiron Windows XP computer.  How can I get the exact time and date on my FAX log?

    Hi FrederickFrank7,

    Journal of faxes would just follow the time of your printer. Please set the time and date of your printer.

    I am an employee of HP.
    Please indicate the position that solved your problem as "acceptable Solution".

  • get the calendar week start date

    Hi all

    Is there a function or method in oracle 11g to get the calendar week start date? for example. If 1st week begins January 3, 2011, the function should return January 3, 2011.

    Thank you
    Sunita

    Try this

    SQL> select next_day(trunc(sysdate,'YYYY'),'SUN')+1 from dual;
    
    NEXT_DAY(
    ---------
    03-JAN-11
    

    The solution given by Mahesh is a gross... 3 jan was just for example... not to hardcode

  • Dynamic action - Get the difference between two dates + times

    I have problems a little dynamic to work action. I'm trying to get the time between two dates with the time difference.

    Here is what I got (this is apex 4.0):

    Two date pickers + two numbers fields (date/start/end times)

    I created a dynamic action on the page who fires on the point lose focus (above points).

    The real action for the DA is the body of the PL/SQL function:
    declare
      end_date DATE;
      start_date DATE;
    Begin
      start_date := to_char(:P1_START_DATE || ' ' || :P1_START_TIME, 'DD-MON-YYYY HH:MIAM');
      end_date := to_char(:P1_END_DATE || ' ' || :P1_END_TIME, 'DD-MON-YYYY HH:MIAM');
      :P1_HOURS := end_date-start_date;
    End;
    When I change the values on the page, I get the following error:

    AJAX call back Server error ORA-06502: PL/SQL: digital or value error: character number conversion error to set the value.

    I'm guessing that there is a problem with the date formatting, but I can't make it work. Thanks in advance!

    Hi djston,

    because you chose the dynamic action of 'Set value' with the "Body of the PL/SQL function" type you need to return the value. Try the following code

    declare
      end_date DATE;
      start_date DATE;
    Begin
      start_date := to_date(:P1_START_DATE || ' ' || :P1_START_TIME, 'DD-MM-YYYY HH:MIAM');
      end_date := to_date(:P1_END_DATE || ' ' || :P1_END_TIME, 'DD-MM-YYYY HH:MIAM');
      RETURN (end_date-start_date)*24;
    End;
    

    and P1_REQUESTED_HOURS like 'item affected. "

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

    Published by: Patrick Wolf on January 17, 2011 10:54

  • How to get the multiple layers of data

    Hello

    I imported two jpg files into a single composition. Please follow this procedure...

    1 created a composition, say his name testCompo

    2 imported a file1.jpg in the file-> Import-> file draft

    3 imported a file2.jpg in the file-> Import-> file draft

    4. drag the two files, file1.jpg and file2.jpg, in the testCompo

    Now, I have two layers (it is file1.jpg and nested are file2.jpg) in my testCompo. How can I get the information in pixels or pixel data of the

    the two images (IE, I mean layers).

    I knew that params [0]-> u.ld is the first data layer in

    () EntryPointFunc
    PF_Cmd cmd,
    PF_InData * in_data,
    PF_OutData * out_data,.
    PF_ParamDef * params [],.
    PF_LayerDef * output,
    void * extra)

    So what about other data layer? Then, finally how can we get the multiple images/layers data in AE?

    Thanks in advance!

    It's the thing.

    You must have a param layer (let's say it's param number 3).

    Use this param to select any layer of the model.

    Now you checkout param 3.

    what you get is a paramDef structure containing the pixels of the layer 3 Advanced param to.

    you will find this information at:

    paramDef-> u.ld.data (or something close to that. I do not have in front of me)

    This way the jpg1 affect can get jpg2 pixels and jpg3. any layer in the comp.

  • 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 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

  • get the time of waveform - increase accuracy?

    Hi I am trying to measure a voltage and take the voltage and time to specific blood pressure and place everything in a pure and simple to read the file.  I had success with the foregoing, however, when we look at the data, the timestamps are not precise enough.  It's mapped data that appear to show only the 1 significant digit, and I need a lot more specific than that.

    Is it possible to use the "get Waveform time Array.vi ' which will appear more precision when obtaining these components?

    Version is 8.6

    For those who are not idiots and care to know the solution, the drafting of a worksheet, Excel truncates data.  I don't know why the data has been lost, but there is no way to recover it in Excel.  In my case, the resolution of valuable time has been lost.  However, writes to a text file can address this problem.

  • 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 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 create the type of waveform data

    Hello

    I work with the oscilloscope TDS 30xx series and I want to create the data type of waveform in the waveform of Fetch VI.

    I have problems with that. Can someone help me?

    I don't know how to data table of waveform to the creation of a data type.

    Is attached a photo of the VI and the VI himself

    Well, if you want to build a waveform of Y, dT and T0, you can still use the function named "build the waveform.

  • 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 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

  • Getting the activity of contact data?

    Hi all

    In trying to get the ProcessedActivity of database entities, I always get 0 record.

    Should be a config change to record activities?

    Moreover, in trying to get the RESTful API activities, I send requests to each contact id and each type of activity of the 8 types (emailOpen emailSend, emailClickThrough, emailSubscribe, emailUnsubscribe, formSubmit, webVisit, campaignMembership).

    But each application would expire.

    When obtaining accounts and Contacts, it works well, and records of result would be returned in a few seconds.

    So, what should I do especially for activities?

    Any suggestions?

    Thank you

    Biao

    Extraction activities in bulk via SOAP by the ProcessedActivity only works if you have the internal queue previously activated for you, and you have the activity according to the internal events that log information that him. It will store data up to 45 days. So 0 results could mean it is not enabled, your internal events are disabled (or external calls in them have been deleted) or your date range is beyond the data you have, or simply the filter on your query returns no data. You can read more here:

    The queue of activity processed (AQP)

    And here:

    Eloqua API how: retrieve data of activity through the API

    To make queries through the REST, if you get HTTP500, try again with a shorter period of time and a small page to test. If you're pulling for one year (maximum) and contacts a large number of activities, the db simply may not have able to extract the data in time. To clarify on the levels of support for REST 1.0 - product compatible will address all the problems that you encounter with him and log defects or feature requests as needed. From there on, dev may specify what level of action, we can provide on this particular workflow or an end point. REST 2.0 is not supported because it is not contractually stable and may change between versions. If the behavior/feature you need is available at REST 2.0 and 1.0 not, then certainly, you can consider using it, but it is not recommended because of this reason.

    For activity in general, exports in bulk 2.0 export activity are available. They have the advantage to be more effective than the REST, which is 1 call per contact by type of activity, and support the date more 1 year ranges. During the SOAP/QIP method, there the advantage of not requiring installation and changes to your integration area, as well as no drop of data after 45 days.

Maybe you are looking for