How to store date/time information in a channel?

Hello,
I'm logging manufacturing test data into TDM files from LabWindows CVI 8.0.
So far, I've organzied the data like:
one Channelgroup for each Measurement type
one Channel per DUT into eah Channelgroup
There is a new tdm file creatd each day.
For a later analysis, we want to able to easily search for all DUT's manufactured between Date/Time1  and Date/Time2 within all files.
Question:
What would be the most recommeded way to store the manufacturing date/time of the DUT with the channel?
I have assigned the channel name with a date/time string, - but it is kind of awkward to search for a range with string types.
Is there a better way?
Thanks,
Greg

Hi Greg,
Unfortunately, DIAdem Datafinder doesn't really support much in the way
of Date/Time search outside of the File Level Creation Date property.
In order to make the creation time of the Channels searchable you would
want to create some custom properties (or use the existing RegisterInt1
- RegisterInt6) to define your own searchable properties.
For example, since you know that you have one TDM file per day, you can
start your search by find the desired day on the File Property Level,
searching the "Creation Date" property. When you store your TDM
properties, you could store the hour creation as an integer (and
thereby searchable) in one of the RegisterInt properties of the
channel, or create your own custom "Hour" channel. You could similarly
save the minute and second property in their own custom properties.
Then, since you're saving integer values, you can then search those
values to determine the time that the channel was created.
I realize that this isn't ideal or elegant, as in total it requires 4
searches (date, hour, minute, second). But that is the most
straightforward way of searching your channels by creation date/time.
Hope this helps Greg, let me know if you have any other questions.
Dan Weiland

Similar Messages

  • How to print date & time stamp on photos?

    How to print date & time stamp on photos?

    Three methods:
    File>process multiple files>labels. Be sure to uncheck "same as source", or the originals will be overwritten. It is best to work on duplicate files, esp. while learning.
    Use the horizontal or vertical type tool to add the information manually to each picture file
    If the same information is to be applied to several pictures, e.g. a copyright notice, use  of a brush made in PSE is very efficient

  • How to store data (in tdm files)

    I'm looking for advice on how to store data in tdm/tdx files.
    The main challenge is like this: At regular time intervals there is new data available (say every 10 minutes there are 10 minutes of new data available). All data is time based. So every ten minutes I may create a new tdm/tdx file containing this data segment. However, when i want to analyze the data i dont necessarily want to view 10 minutes of data from all channels, but maybe 20 hours of data from one particular channel.
    The way I've achieved this so far is to manually load each 10 minute segment of this particular channel and then add these parts together. This is both time consuming and cumbersome. Is there a better way to do this that I've simply not discovered yet? Is there a better way to store data to simplify this process?
    One solution is of course to save data from several 10-minute frames in one file, but seeing as there is a never ending supply of data i cant simply save all data in one giant file, it has to be split up at some point, and the problem will still remain.
    One factor to have in mind here is that this is rather large amounts of data (maybe 10GB each day), so the option to simply load all the data into memory goes out the window rather quickly.
    Feel free to ask if I've not made myself very clear

    Hi salte,
    If your test ever ended, and if you had LabVIEW 8.20 or higher, I would recommend using a TDMS file, which handles data appeands flawlessly.  DIAdem 10.1 now also does data reduction and index windowing during file loading for TDM / TDMS / DataPlugin files, so that you could easily load out only the part of the file you wanted to look at.  But since you describe your data acquisition as never stopping and amassing 10 GB per day, I agree that it would be impractical to use only 1 data file.  So we are stuck with some number of files which each contain a part of your measurement.  This approach can have advantages, since you can save operational properties for each "buffer" such as average value, dominant frequency, ambient room temperature, etc., and later on you can use the DataFinder to query out only the data buffers which meet specific conditions based on these properties.  The problem remains to load and assemble data based on multiple files.  This is an old problem in DIAdem, and one for which I have an efficient and I hope satisfactory workaround application.  It does what you describe already doing in the minimum amount of time and with the minimum amount of user interaction, and it can be highly parametrized to suit your particular situation.  The ideal way to start the application would be as part of a ResultsList custom menu.  This would enable you to query out the buffers you wanted, highlight those rows in the ResultsList, right-click and choose your custom menu, and WHAM! the selected buffers for your queried channel(s) are automatically appended together in the DataPortal.  Launching from a ResultsList custom menu would mean that you could skip the file dialog and just read out the data sources directly from the ResultsList selection.
    Let me know what you think,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments
    Attachments:
    Importing Data from Multiple DataPlugin Files.zip ‏198 KB

  • How to print date/time in report page footer?

    Hi
    I have a report which users can print as PDF.
    However, I like to display current date/time in report footer.
    I can see the Page Footer in section but can't figure out how to print date/time there.
    Thanks for help.

    hi movilogo
    Please try this.
    Create hidden item P1_DATE
    Create On load process in page 1 and put this code
    begin
    :P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
    end;
    Open your region in Page 1 put this code in Footer area
    *&P1_DATE.*
    Refresh your page.
    you will get the output like this.
    16-SEP-2009 11:09:17
    thanks
    Mark Wyatt

  • What is a cube? how we store data in that? how we fetch data from cube?

    Hi,
    What is a cube? how we store data in that? how we fetch data from cube?
    Regards.
    venkat

    >
    venkey B wrote:
    > Hi,
    >
    >
    > What is a cube? how we store data in that? how we fetch data from cube?
    >
    >
    > Regards.
    >
    > venkat
    Hi Venkat,
    I guess you mean an infocube from the SAP BI product. I propose to look at the forum for Business Intelligence to find your answers.
    E.g. SAP POS DM writes the sales data in infocubes.....

  • How to store data from textfile to vector and delete a selected row.

    Can someone teach me how to store data from textfile to vector and delete a selected row. And after deleting, i want to write the changes in my textfile.
    Do someone has an idea? :)

    nemesisjava wrote:
    Can someone teach me how to store data from textfile to vector and delete a selected row. And after deleting, i want to write the changes in my textfile.
    Do someone has an idea? :)What's the problem? What have you done so far? What failed?
    What you described should be pretty easy to do.

  • How to store data in ipad from computer

    please explain me how to store data (music video & pictures) in  ipad from any personal computer...kindly explain me in simple steps...

    The iPad can only sync with one computer.  To do this you need to have iTunes installed on the computer and have it associated with your Apple ID.  you can then use iTunes to transfer music, movies and pictures from that computer, and that computer only.
    iOS: Syncing your data with iTunes
    http://support.apple.com/kb/ht1386
    If you need to get files from other computers, you would need a 3rd party App that can handle the formats you wish to transfer, and possibly transfer them either through iTunes file sharing or Wifi transfer depending on what the App supports.
    iOS: About File Sharing
    http://support.apple.com/kb/ht4094

  • Where does Apple collect their Date & Time Information?

    I'm trying to isolate a problem for why the date and time for Unalaska and Dutch Harbor, AK when set automatically is on Hawaii Time when it should be on Alaska Time.  The islands further west on the Aleutian Island Chain are on Hawaii Time, but not Unalaska Island.  While in Unalaska, I have to set date & time on all my Mac devices to manual, and switch it back to automatic whenever I leave.  As much as I travel, it is a nuisance having to switch back an forth between automatic and manual. This has been an ongoing problem for the past 2 or 3 years, and previously, it worked correctly. 
    I've noticed that some date/time websites have it wrong, but some have it correct.  So, if I can find out where Apple collects their Date & Time information, I should be able to figure out whether it's an "Apple" problem or an "ISP" problem.

    Chris CA wrote:
    OGELTHORPE wrote:
    Terence Devlin wrote:
    Wonder why Ford, General Motors and all those car manufacturers don't do this? Hmmm?
    I thought that they put out recalls for stolen cars.  Am I wrong on that?
    Yes.
    A vehicle recall is to fix issues that the manufacturer feels they need to do something about such as bad parts.
    Or the Government felt they needed to do something about.

  • How LDAP stores data?

    What is the diff bet. LDAP & Data base?
    How LDAP stores data?

    LDAP uses a hierarchical tree structure. This is why LDAP queries are formed like ldap://mydomain.com/...

  • How to store data in JavaCard

    Hi folks,
    I have a basic question. I want to store data in Java card of each transaction in a log file. Each record contains some information. I'm wondering how to create this kind of file on java card and update log file for each new transaction.
    Suppose that I want to store about 1000 maximal records in my log file (1000 transactions). From your experience working with Java card, could you please suggest me the way to do this task.
    Thank you very much in advance.
    Best regards,
    JDL

    I spent a little time searching over the internet and I read this document:
    http://www.informatik.uni-augsburg.de/lehrstuehle/swt/se/teaching/fruehere_semester/ws0708/javacard/Dokumentation/JCADG.pdf
    I try to explore whether my Java card support javacardx.framework package or not but unfortunately, it doesn't support this package. It means that I must build my own class to manage EF files.
    Another try over the internet, I found a very useful example dealing with managing Cyclic file on Javacard. At the moment, I'm on the way designing and coding my own class and hope that it will work :-)
    http://jcs.mobile-utopia.com/servlet/Source?type=s&q=CyclicFile
    Thank you anyway your response, it would be helpful :-)
    Best regards,
    JDL
    P.S. Jason Gosling, as far as I see, our names are totally different :-)

  • How to identify date & time of insertion of rows in a table

    Hi,
    Is it possible to identify the date & time of insertion of rows in a table?
    for example:
    Table name: emp
    I have rows like this
    emp_code name dept
    pr01 ram edp
    ac05 gowri civil
    pr02 sam pro
    i want to know the date and time of the insertion this( ac05 gowri civil).
    Could you please help me.....
    Thanks in advance....

    psram wrote:
    sorry for the confusion. I dont want to store date and time. I said that for example only.
    I have table which consists of thousands of rows. I want to know the insertion date & time of a particular row.
    Is it possible?So, if I have a table that stores a load of employee numbers, do you think I could get the database to tell me their names?
    If you don't store the information, you can't query the information.
    Ok, there are some dribbs and drabbs of information available from the back end of the database via the SCN's, Archive Logs etc., but those sort of things disappear or get overwritten as time goes by. The only way to know the information it to ensure you store it in the first place.
    So, in answer to your question, No, there isn't a true and reliable way to get the data/time that rows were inserted into the table, unless you have chosen to store it alongside the data.

  • How to store data from Host.vi in cRIO-9074

    TejasKumar Patel
    I implemented a advance Measurement and Control system using cRIO-9074
    with c-Series I/O cards( NI 9217, 9411, 9264)
    I have some questions about it,
    (1)- Data rate from FPGA targate to host vi is too low. how can I increase
    it, when I run my host VI, sometimes all temperature sensor update at
    same time and sometimes one by one, can you please give me some hint, how
    can I correct it, I used two FIFOs for NI-9411 digital pulses, I put all
    Digital input and all analog output and input in a seperate while loop in
    FPGA targate VI.
    (2)- I have to write that data to analyse for further result. I tried all
    possible way to write data including wite to spreadsheet.vi, write to
    text.vi, Data storage.vi, Write to measurement.vi. All this VI work
    efficientlywhen it run individualy, But when I connect this VI to
    writedata from FPGA host VI. than it always give empty file.
    I saw your post in NI discussion forum about how to write data from
    Host.vi, But still I am confuse that how can I creat a protocol between
    host VI and Fpga target vi. to write the data in a file. I have nearabout
    38 channel to write data.
    (3)- I have to measure time difference between two digital pulses, to find
    a flow rate. I am using counter for it with risisng edge shot.vi, but when
    i get a timestemp when there is risisng edge for the second rising edge
    how can I get timestemp. Its like i have to measure time between two
    pulses, I triend waveform measurement.vi to find cycle period. but it not
    worked. any other was to measure it.
    I am stuck in this question since from last one month. I already followed
    NI-discussion forum solution but it doesnt work. I think the way I applied
    is may be wrong. 
    Looking forward to hear from you soon.
    Plese send an additional email copy to [email protected]
    Thank you and Best Regards, 

    Thanks Joseph for your support,
    1-      If I count the ticks between the pulses it always seems different ….because this method I already tried, but it does not work,  like some times it shows 9099 tick and at the second pulse it shows like some more or less ticks not the same ticks every time. To complete my project, the biggest problem is the data storage.
    2-      As you gives the solution in NI forum, “low level file I/O Vis such as Write to text file” FPGA target not support this VI. And mainly I want to write data from HOST.vi, because I am process those data …and I need to store it. For to figure out my result.
    3-      If I use “Write to text file. VI (Sub-VI ) to FPGA.vi, it not support because it support string data and I have FIXpoint data. And can you explain me what is low level file IO, and how can I use in fpga.vi??
    4-      Yes, for my project time stamp it really necessary, for data analysis.
    5-      I need the time stamp to find out what was the system response at the time.  As our project based on weather temperature, I need time stamp.
    Waiting for your reply,
    Thanks and Regards,
    Patel

  • How to store lead-time and price per MPN for a single Item

    We are probably one of the only CEM's that use Oracle Applications in a one-to-one MPN-IPN (Oracle Item Part Number) relationship. We do not currently store multiple Manufacturers under a single Item. Rather, we use the Customer Item Cross Reference to rank the customer's AML, with each IPN tied to a single MPN.
    We are looking at moving into a one-to-many "world" in Oracle but are not sure how we can handle different pricing, lead-time, preference, status (prototype, production, obsolete, do not use), etc. for each Manufacturer's Part Number under a single Item. How are other CM's handling this???

    Hi Greg,
    Unfortunately, DIAdem Datafinder doesn't really support much in the way
    of Date/Time search outside of the File Level Creation Date property.
    In order to make the creation time of the Channels searchable you would
    want to create some custom properties (or use the existing RegisterInt1
    - RegisterInt6) to define your own searchable properties.
    For example, since you know that you have one TDM file per day, you can
    start your search by find the desired day on the File Property Level,
    searching the "Creation Date" property. When you store your TDM
    properties, you could store the hour creation as an integer (and
    thereby searchable) in one of the RegisterInt properties of the
    channel, or create your own custom "Hour" channel. You could similarly
    save the minute and second property in their own custom properties.
    Then, since you're saving integer values, you can then search those
    values to determine the time that the channel was created.
    I realize that this isn't ideal or elegant, as in total it requires 4
    searches (date, hour, minute, second). But that is the most
    straightforward way of searching your channels by creation date/time.
    Hope this helps Greg, let me know if you have any other questions.
    Dan Weiland

  • How to store date in database , taking cre of timezone

    Hello java users
    I have a user interface in which a user can pick a date, time and timezone.
    Implemented simply.
    start Date as a textbox: format - MM/dd/yyyy
    start time as a textbox : format - HH/mm/ss
    start timezone as a drop down. And currently there is only 3 values here: PST,EST,CST. As this is what we support.
    I am using MSSQL and my date field column ( startdate ) is of type datetime.
    Now how will I pass the correct value to the database.
    Some more details.
    I have a bean i which I am able to retrieve all the values.
    public class MyBean implements serializable{
    private Date startDate;
    private Date startTime;
    private String timezone; // this will store the timezone id selected by the user.
    //getters and setters
    Now, how will I combine all the values selected by the user and set in the bean and save it in the database.
    I am sure there are a lot of times someone has tried to do this. But I am having a hard time finding this info in a collective manner.
    Any help would be usefull
    Thanks
    Aayush

    Its does help.
    And yes it is requirement to get the date and time and the timezone info from the user through a UI.
    And date is in format : MM/dd/yyyy
    time is in format : HH:mm:ss
    and there are 3 timezones : PST,EST,CST (And yes these are valid timezone ids).
    I guess, the other way to put this is that - The user input is the way to get the StartTime data.
    And ya it makes sense to have separate fields in the database to store date and timezone.
    I am fairly new on this date part and its confusing me a little.
    So I will go into a little more details.
    As u suggested that it would be a good idea to have 3 separate fields for doing this.
    you mean to have 3 fields in the database with columns like
    1. startDate - datetime // to store the start date ( MM/dd/yyyy)
    2. startTime - datetime // to store the start time ( HH:mm:ss). Is it possible to store only time in the database or are you suggesting to combine date and time in one database field.
    3. startTimeZone - varchar // to store time zone.
    So how do I achieve this.
    lets say I get these values;
    String startDate = "09/06/2008";
    String startTime = "11:10:12";
    String startTimeZone = EST;
    now how will I store it in the database.
    consider I have a java bean
    public class StartTimeBean{
    private Date startDate ;
    private Date startTime ;
    private String startTimeZone;
    also I am using a OR mapping tool ( ibatis )
    And I have my insert statement mapped to the bean StartTime.
    Essentially what I am looking for a say method say , createTime(StartTimeBean startTimeBean )
    so how will I store the info in the database

  • How to store data for an account individually

    hi there, may i know how do u store data for an account individually.
    let's say i have an application for all users. but i do have a log in module since i have a module where users can enter thier own information into the system like appoinments. since every account( owned by user) has different details, may i know how to design such system?
    mus i store data in the local system instead of the database?
    thanx in advance

    let's say i have an application for all users. but i
    do have a log in module since i have a module where
    users can enter thier own information into the system
    like appoinments. since every account( owned by user)
    has different details, may i know how to design such
    system?
    mus i store data in the local system instead of the
    database?You can store all the information in the database you want and you can also retrieve it where ever and however you want.
    Exactly how to do it depends on exactly what you want to do, so plz explain alittle bit more on what do you intend to do. :)
    Gul

Maybe you are looking for