How to write the Date/time of the PDM file property

On the page root of the PDM file, there is a predefined, property called ' Date/Time' in the first row.

I would use it to save the timestamp when the tdms file is created. But in the help file.

I find that the following property constant. So, how can I write to the field of property ' Date/time '?

Property Constant Data type
Name TDMS_FILE_NAME String (char *)
Description TDMS_FILE_DESCRIPTION String (char *)
Title TDMS_FILE_TITLE String (char *)
Author TDMS_FILE_AUTHOR String (char *)

Thanks for any idea or suggestion.

You are not sure if it's exactly what you want, but have you tried that?

CVIAbsoluteTime            CVItime, *t = NULL;
TDMSFileHandle          deH = 0;

// Create TDMS file and set some properties
errChk (TDMS_CreateFileEx (file, TDMS_Streaming2_0, TDMS_ByteOrderNative, 0,"example.tdm", "someText", "title", "author", &deH));

// ...

GetCurrentCVIAbsoluteTime (&CVItime);
errChk (TDMS_SetFileProperty (deH, "Date/Time", TDMS_Timestamp, CVItime));

// ...

// Save and close fileerrChk (TDMS_SaveFile (deH));TDMS_CloseFile (deH);

Tags: NI Software

Similar Questions

  • How to write the text file in Shockwave?

    Someone knows how to write the text file in Shockwave on the disc of the user?

    Thanks in advance.

    These Xtras can cause a lot of havoc when used with the intent to hurt.
    What you can do is to write with setpref and store a list of backups and the
    registers itself separately. Next, you need to build your own save/open
    dialog box for the user:
    * Choose a previously saved file to load or replace
    to create a user type the name of a new file to be saved.

    The only thing that remains is that the user can't decide where files
    are saved.

    Manno

    SiuLinda wrote:
    > Thanks a lot for your answer.
    > Yes, cookies is good, but I have to write a program to save the text file in
    > When the user wants, the user can open these files later if they like as, using
    > Filextra and Fileio, but I found that all these Xtra extensions seem to be not supported by
    > shockwave.
    >

    --
    ----------
    Manno Bult
    [email protected]

  • How to read the jad file property

    I am able to read the properties of the my application JAD file. My requirement is that through my application, I will download some other app via OTA, so is it possible to read the file property PPP through my application jad, I downloaded.

    you don't know. to download another app ota you need the address of the file jad online. with this you can download and analyze its contents.

  • How to access the textedit files in Icloud on time machine

    Hi all

    Bad, I need your help! I'm trying to access all my text edit files, which I had saved on ICloud.
    My laptop does not run successfully. I was proposed to restore and re - install the op system. So I run a Machine back up full time and I restored my laptop. I should all have backed up, right?
    Problem is: I'm trying to get all my work on Tex Edit, but I can't find it on Time Machine. Does anyone know how can I recover these files? I have two important years of drafting work there!
    It would be good to have your suggestion.

    Thanks in advance for your help

    Did you you save the files in the correct format - OS X Server: how to modify the configuration files - Apple support?

  • How to move the MSWMM files and keep the data on my computer?

    I downloaded digital film from my camera to a destination on my D drive as a file MSWMM (collections), and whenever I try to move the downloaded film (collection), it does not recognize the movie more.

    How to move the MSWMM files and keep the data on my computer?

    The mswmm file is the project file, not a video.
    Think of it as a recipe for a cake, it only tells you what to do with the ingredients, but does not include the ingredients.
    The mswmm file tells the computer to look in a certain folder to use a video or audio file.
    If you move the file, then MM knows not where is the file, then you must tell it, by right clicking on a red x on the timeline and then choose search for the file.

  • Open XML, how to write the path

    Hello

    I'm new to the Blackberry development and I hope you can help me with my problem. I try to work with an XML file, and so far, all that does very well as long I had the xml file, I work on, in the folder of my java application and deyployed using the desktop software. Now, I tried to put the file somewhere else on the Blackberry and I don't know how wirte the path to the source code. I tried the following, but it seems to be bad:

    private static String _xmlFileName = "file:///store/home/user/documents/test.xml";
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                DocumentBuilder builder = factory.newDocumentBuilder();
                InputStream inputStream = getClass().getResourceAsStream( _xmlFileName );
                Document document = builder.parse( inputStream );
    

    I hope you can give me a hint, how I write the correct path?

    Thank you very much!

    Best regards, jtr87

    PS: Sorry for my bad English, but I did not use it very often.

    You need to do something like that to get your InputStream:

    /** * @return an open InputStream for a file, or null if file does not * exist. * @throws IOException if there is an error opening the file */InputStream getInputStream(String name) throws IOException {
        FileConnection fc = null;
        try {
            fc = (FileConnection) Connector.open(name, Connector.READ);
            if (fc.exists()) {
                return fc.openInputStream();
            }
        } finally {
            if (fc != null) {
                try {
                    fc.close();
                } catch (Exception ignored) {
                }
            }
        }
        return null;
    }
    

    Notice that you must close the FileConnection at some point, regardless of if the call to openInputStream worked.

  • How to write the script in FDMEE below.

    How to write the script in FDMEE below.

    Script below is the FDM Script.How write in FDMEE.

    If (varValues (14) '113101' =) OR (varValues (14) '113201' =) OR (varValues (14) '113301' =) OR (varValues (14) = "252111") OR (varValues (14) '156101' =) then

    Result = "21_asd."

    Please help me on this issue.

    Kind regards

    Satheesh, S

    If you want to determine the id of the target account your opening assignment statement must be:

    Account = fdmRow.getString ("ACCOUNTX")

    As if - elif-instructions else keep lowercase stream operators. If you continue a command on multiple lines, then place parentheses is

    If (account == "113101") or (account == "113201") or (account == "113301") or (account == "113401") or (account == "113501") or (account == "113601") or (account == "215101") or (account == "215201") or (account == "215301") or (account == "215401") or (account == "215501") or (account == "215601") or (account == "252111") or (account == "156101"):

    fdmResult = "21_ADNIP".

    should be (also get rid of the unnecessary parentheses)

    If (account is "113101" account is "113201" or account is '113301' account is "113401" or account is "113501" or account is "113601" or account is "215101" or account is "215201" or account is "215301" or account is "215401" or account is "215501" or account is "215601" or account is "252111" or account is "156101"):

    fdmResult = "21_ADNIP".

  • How to write the even-odd fill feature?

    How to write the even-odd fill feature?

    Maybe like this:

    app.executeMenuCommand ('* ');

    01.jpg

    There is a command in the PathItem object named evenodd. I think that if you change the property of evenodd and get a member of a composite path path, you can achieve a desired result.

  • How to write the query

    Hello

    How to write the sql query

    I have three type of table as

    1 table emp

    EMP_ID FIRST_NAME DEPT_ID

    ---------- -------------------- ----------

    1 kumar 10

    2 sam                          20

    3 30 damu

    2 table dept

    EMP_ID SALE_ID DEPT_ID

    ---------- ---------- ----------

    1 101 10

    2 102 20

    3 103 30

    3. table sale

    EMP_ID SALE_ID SALE_AMT

    ---------- ---------- ----------

    1 101 7

    2 102 8

    3 103 9

    I want the result as

    EMP_ID DEPT_ID SALE_AMT

    -------      ---------   -            --------

    1                10                  7

    Thank you

    Are you looking for this?

    SELECT T1. EMP_ID,

    T1. DEPT_ID,

    W3M SALE_AMT

    FROM EMP T1,

    SALE T3

    WHERE T1. EMP_ID = T3. EMP_ID;

    OUTPUT:

    EMP_ID DEPT_ID SALE_AMT

    ------- ---------- ----------

    1         10          7

    2         20          8

    3         30          9

    If this is not the case, after the actual output, you need. Because that gives you the amount of sales deptwise

  • How to write the 'C' alpabelt within a circle of author?

    Hello

    How to write the symbol of copyright on first Pro CC (ie the alpabelt 'C' inside a circle) ?

    Thank you

    On a Mac, Option + G.

    MtD

  • How to write the query option in expdp

    Hi Please someone help me how to write the query option in expdp... .in expdp using the query option...

    where AM columnname between 5 May 12 02:57:00.000' and ' 02:59:59.999 6 May 12: ';


    Please do what is necessary...

    Pavan Kumar says:
    QUERY = (columnname scott.test: "where between 5 May 12 02:57:00.000 h ' and ' 6 May 12 AM 02:59:59.999'")

    Who will fail in databases, because you assume nls_date_format. How it is difficult to put to_date() surround channels? Rather than play with quotation marks, using one parfile thusly.

    query=table_owner.table_1:"where business_date between to_date('20120505025700 am','yyyymmddhhmiss am') and to_date('20120505025959 am','yyyymmddhhmiss am')"
    query=table_owner.table_2:"where business_date between to_date('20120505025700 am','yyyymmddhhmiss am') and to_date('20120505025959 am','yyyymmddhhmiss am')"
    query=table_owner.table_3:"where business_date between to_date('20120505025700 am','yyyymmddhhmiss am') and to_date('20120505025959 am','yyyymmddhhmiss am')"
    

    You do not have to have all the clauses in a single line, as they are side by side parfile, which would be enough. For this reason parfile is better than the command line in order to avoid all the back-citing dance.

  • How to write the select query for it

    Hello

    I had an html form and the area I drop down and he needs to select several values in the drop-down box. When I select multiple values then I have to write the query to SQL select statement.

    When I try to write the select statement and trying to run I get the error message.

    Select * from Table

    where emo_no = '1,2,3 '.

    That's how I write the query please suggest me how to write the query to select several values in the drop-down box.

    Thank you

    Use the keyword sql 'in '.  If you don't know how, I've heard good things about the book Teach Yourself SQL in 10 Minutes by Ben Forta.

  • BSOD need assistance, I write the DMP file

    Hello, I have random BSOD during one day, like 4 times a day, I have seen fltmgr.sys as a problem, but I'm not sure. I write the dmp file, someone please help to undestand the problem please...

    dump file: http://www.4shared.com/file/xJejn93kba/060714-46597-01.html

    Info sys drivers: http://www.4shared.com/document/189XKlIWce/WER-581946-0sysdata.html

    Signature:
    Problem event name: BlueScreen
    Versão sistema operational: 6.1.7601.2.1.0.256.1
    Identificacao da Localidade: 1046

    Ilha de sober information o problema:
    BCCode: 50
    BCP1: FFFFFA800FAB4000
    BCP2: 0000000000000000
    BCP3: FFFFF88002692300
    BCP4: 0000000000000000
    OS version: 6_1_7601
    Service Pack: 1_0
    Product: 256_1

    MSInfo: Nome operational system Microsoft Windows 7 Ultimate
    Versão 6.1.7601 Service Pack 1 build 7601
    Other information sober o Sistema operational issues available
    Faffa Sistema operational Microsoft Corporation
    Nome sistema LORENZOFP-PC
    Faffa sistema Dell Inc.
    Modelo sistema Precision M4500
    Tipo sistema PC x 64
    PROCESSADOR Intel (r) Core i7 CPU Q 740 1.73 GHz, 1734 Mhz, 4 Nucleo (s), 8 Processador (es) Lógico (s)
    Data/versão do A15 BIOS Dell Inc., 12/05/2013
    Versão SMBIOS 2.6
    Pasta do Windows C:\Windows
    Pasta sistema C:\Windows\system32
    Device inicializacao \Device\HarddiskVolume2
    Localidade Brasile
    Camada de Abstracao of material versão = "6.1.7601.17514."
    Name of user lorenzofp-PC\lorenzofp
    Fuso Monday Hora oficial do Brasil
    Memoria física (RAM) 8.00 GB installed
    Memoria total fisica 7.99 GB
    Memoria fisica 4.14 GB available
    Memoria virtual total 16.0 GB
    Memoria virtual available 11.8 GB
    Espaço land paginacao 7.99 GB
    Land of paginacao C:\pagefile.sys

    Thank you very much.

    Very interesting journal. It seems that the pilot who seemed to be a rootkit is a false positive with a strange string. Or a rootkit is present, but we cannot detect. avastMBR crashing may be related to something else in all cases, however.

    First of all, can you please uninstall Daemon Tools Lite + alcohol?

    In addition, subsequently, c:\windows\system32\drivers\sptd.sys is listed and loaded into your list of modules; SCSI pass through Direct Host - Daemon Tools (BSOD known issues with Win 7 and 8). Please remove it as soon as POSSIBLE with the uninstall tool - http://www.duplexsecure.com/en/downloads

    Kind regards

    Patrick

  • Re: How to save the video file to a DVD-R for Equium A200

    I have the Equium A200. Someone can tell me how to save the video file to a DVD-R on my computer in order to use it later, or use it in windows movie maker and must not simply copy on another DVD-R right?

    My cursor also has disappered in the suite of windows media, that makes life quite difficult.

    Any ideas?

    Thank you.

    You mean, you want to copy the original DVD movie to HARD drive?
    Well, you can copy the contents of the entire DVD to the HARD drive. It means that you have to copy a lot of data.
    I would recommend shrinking the DVD movies using a tool called DVD shrink.
    It would decrease the data and would also copy the content to the HARD drive.

    But if you want to use these files later in windows movie maker, so you must convert these using a 3rd party tool.
    Google a bit and you should find many free applications that would help you to do this work.

    Good bye

  • error: could not write the destination file (1 003)

    I am trying to export 40 photos of Photos.  I just installed OX El Capitan.  Only 13 of them get downloadable.  For the rest, I get this message: error: could not write the destination file (1 003)

    I tried to manually fix the library but still does not work (command + option + opening photos).

    And I do not have a backup on icloud photo library I have a backup on an external drive...

    You try to export the originals of your photos or revised versions?

    When you try to export photos to?

    You try to export to a folder on your system drive or a folder on an external drive?  If an external drive, which is the file system? And how the player is connected?

    You have permissions to write to the folder, when you export to?

Maybe you are looking for

  • E-mail SMTP settings?

    Trying to SMTP mail for a (Synology) configuration settings SIN. I tried to use the search engine to find the OS X SMTP mail settings but only found this on Apple's site. Information on the outgoing mail SMTP server Server name: smtp.mail.me.com SSL

  • DV6-6c40us upgrade processor?

    I have a HP DV6-6c40us and would like to upgrade my current processor at a best. I'm curious if this is even possible. I consulted the manual and it seems that the processor can be improved. Course record: Win 7 ultimate 6 GB OF RAM AMD A8 3520 M

  • TouchSmart 610-1120: touchscreen, Touchsmart 610-1120 works only when connecting

  • 4 years old Vostro 460 is not fuel.

    so called and been subjected to a long troubleshooting call how the Dell person sold me a new MOBO.  After installation in a proper way, I try to start the system.  Fans turn for about a second and then nothing happens.  Not until the light to the sw

  • C5580 "Carriage jam" error

    I have a well-used C5580 all-in-one who has many printed pages. If this isn't a new printer out-of-the-box problem. As soon as I turn it on, it fails the test with a "jam transport" message on the display. If the USB is disconnected or not makes no d