The PDM Property Ordinance

Hello

I would like to know if there is a way for the PDM file properties to be arranged in order the information has been saved.

I recorded for example date, author, devices used and the others in the file properties

If I want to use tdms Viewer info are not arranged the order of writing. I guess it's more or less normal knowing that it resembles a database

but is it always possible to force the display order?

Best regards

Tinnitus

'TDMS get properties' already returns the properties in the order that they were written in. It's the TDMS files viewer that sorts the list alphabetically by property.

TDMS file viewer is a VI and not protected. If you need to display the properties in their order real, all you need to do is to remove the de.\vi.lib\Utility\tdmsutil.llb\formatPropertyList.vi sort code (that's the two loops on the right side).

Herbert

Tags: NI Software

Similar Questions

  • 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);
    
  • Can I programmatically change the default property to create for all elements of the front panel?

    Can I programmatically change the default property to create for all elements of the front panel?

    I need to make the logout button, when click on, takes care of all the default values of my fron Panel.

    There is no way to programmatically call the functionality of an editor 'Use default' or 'Load Default'. To do it yourself, you will need to write your default values for each control explicitly in the diagram, when the user press the logout button.

  • Cannot open the PDM file with excel 2016

    Hey guys,.

    I have Office 2016, LV 2015 and (I checked my "TDM Excel Add-in" file) the Excel Add-in 2015 of CT.

    I have attached a picture of what I get when I try to open the PDM file with excel.

    So, I found something strange. I checked active supplements under the excel options and the TDM Excel Add-in is listed as inactive (and is called a COM-add-in). I tried to activate it, by checking the box (see the second picture), but that does not change. Interesting is the last line of my second attached photo:

    Translated it means: ' loading behavior: a runtime error occurred when trying to load this Add-In.

    I have 10-64 bit operating system like windows.

    Someone at - it a solution?

    Kind regards

    Slev1n


  • Problem with the Value property node (MacOS)

    Insofar that I tested it, the nodes of property Value (and value (signalling)) do not work under MacOS: value property is a Boolean value, the value (signaling) as a cluster (width, height).

    Even with the Boolean controls, the node does not work.

    Not such a problem in LV 8.6.

    Am I missing something? Is that some 'of use' ? Or just a bug?

    This looks like some sort of problem of indexing with the nodes property as somesort of corrupted installation.  What happens if you just delete the property node and recreate him?

    I filed a digital control and looked at the context menu of the list of the nodes property.  Below value and value (signs) are Visible (which would be a Boolean value) and Xcontrol, that when you bring through the submenus, the first choice is container bounds, a cluster of Width and Height.  If these 2 types of data which are located 2 below in the list match those you found.

    What happens if you take another node in property a few elements upwards or downwards in the context menu?  Fact is happen for other properties, and if so, are thereany properties who agree?

    Here's what look like my property for a digital nodes and I draggged the box up and down to show the natural order of the nodes property.  Notice that I have script installed, so there are a few other nodes property (and the blue box at the top) you may not have.

    PS. Verify you the signature.  Kudos button is now moved to the left since the update of the forum.

  • PROPERTYEDITORSOURCE - Get the delimiter used for the PointSize property

    How can I recover the propertyeditorsource the separator character used to represent strings for the PointSize property?

    Try this property:

    CultureInfo.CurrentCulture.TextInfo.ListSeparator

    Habim stone

    National Instruments

  • Local variables are comparable to the value property of a control or indicator?

    I use the buttons / switches mechanical locking action, event structures and local variables to track the status of my switches.  I used local variables with indicators, too.  Now I see that this could be done via the node property of a switch or an indicator.  Should I use the nodes property instead of local variables?  Should I use "switch" mechanical action and control the State of the control buttons / switches?  I used a mechanical locking action because it automatically reset when it is read, but who pushed me in the use of local variables.

    I know the property values to adapt the data flow model, while local variables might be placed in a sequence structure to ensure the order of execution.

    I just don't want my program all except if it is a correct approach.

    Thank you

    DH

    Dark Hollow says:

    Well, I'm changing the properties of user interface in my state machine.  For example, when you push a button to START the TEST, I want to disable and gray this button and activate the button to STOP the TEST.

    No engineer too much. In this case, you can use a single button and label the FALSE case a 'start Test' and the REAL case as TEST 'STOP '. No additional code needed at all. At the same time, you only use the half-Panel space! (and 10% space diagram!)

    Dark Hollow says:

    Another example... I have a couple of dozens of LEDs on the front panel to show the TEST SUCCEEDED.  If I have the wiring all of them, my state machine diagram gets messy.

    Define disorder! In my mind, code is not held together by wire is much messier because it is impossible to determine the order of execution and so program logic. A thread is a small 1 d object. A property node is a significant 2D object. 20 wires are much less messy than 20 knots of property, especially given that each property nodes still hanging by a thread in one way or another!

    In order to reduce the number of threads, use the most appropriate data structures. Instead of a few dozen sighted use a single Bay of LED. A single wire! Keep the table in a shift register and update alone LED as necessary by using "replace subset of the table".

  • Writing to the nodes property DAQmx channel does not refresh the channel values

    Hi all

    I have a riddle.  I created a task programmatically in LabVIEW and programmatically added several analog input channels to the task.  It's easy.

    I wish that my user must be able to modify the individual channels within the task.  To this end, I created a set of screws that allow it to change the settings appropriate to the channel (for example, if it is a channel of thermocouple, it can change the type of thermocouple, CRC value, etc... If it is a strain gauge channel, it can change the coefficient of fish and so on).  These screws all works beautifully, like the VI where they live.

    The specific question that I have is that writing to the channel property nodes refreshes not communication channels.  See the images below.  The first image is the code that needs to define new channels of communication:

    Note that immediately after setting the property nodes, I read their values back, just to see what comes out back.

    The second image is an image of the public Service immediately after the execution of this VI.  Note that the values read from the channel property nodes did not updated to match to the set of values, but instead kept their initial configuration values:

    What I am doing wrong?  I fought this for a few days now and I'm stumped.

    Thanks for your time!

    Diane

    Hi, Diane.  A week ago, I also had a problem changing the channel properties (not sure that our situtions are exactly comparable, but...).  My 'solution' to want to change the appearance of the task was to just throw the original task and recreate all the elements of the task from scratch.

    I've not done enough 'experiments' to work when you can and cannot change, but am now much more cautious...

    Bob Schor

  • IM new to LabVIEW. Is it possible to send the signal to more than one parcel on a chart by using the value property of the graph node

    I'm new to LabVIEW. IAM trying to display two plots on a graph using the node property value charts. I tried to feed the two signals into a signal of fusion and then in the value property node, but it did not work. Then I tried to build a table of two signals and it powers the value of hardware node. It did not work. What escapes me, should I use the node property value this way?


  • maximum length of the PDM file

    Hi amazing if I could be a good idea, really cannot relearn the hard way!

    If we record to 500kS/s PDM file, is there a length/size, after which data are not added in the PDM columns more? Or he keeps the connection until windows launches the message that the system is out of memory?

    Thank you very much

    Waris K

    I guess it's the limitations of file system. For example, you use FAT32 if 4 GB maximum file size. If you are using NTFS, it should be 16TB (!).

    /Y

  • Use the node property to get the value of control

    Hi all

    I know that you should keep the use of local variables to a minimum in order to avoid race conditions. Is this the same problem if you using the eg property node. a digital control?

    The reason why I want to do is to keep the son of the intersection when I need to use a control on one side of the diagram across the diagram...

    Basically to make the scheme simple and enjoyable to watch.

    I hope that makes sense!

    Good day!

    Kind regards

    Tommy

    Tombech84 wrote:

    [...] Is this the same problem if you using the eg property node. a digital control? [...]

    Exactly. Perhaps, he creates the race conditions and should not be used. Using wires to connect the terminals is the approach only "Save".

    In addition, performance decreases in the following order:

    -Terminal (+)

    -variable (0)

    -property to value node set (-)

    Norbert

  • Why is the "Called" property returns a name with *: Instance: 0?

    I'm building a VI that returns a list of all the side screws and their auxiliary screws, etc., a given top-level VI.  I first open a reference giving the path to the top-level VI, and then use the property 'Called' to get the subVIs. I then (in a loop) get all each Subvi conscripts by opening a reference using the name of the previous output called string. I noticed something when I ask for conscripts by the string name of XYZ.vi, that I get all its subvis, but I also have a XYZ.vi:Instance:0 name returned. What is the purpose of the proceeding: 0 and why is it happening? I like understand why Instance: x would never get added to the name, and also why VI would return his name in the property called? The VI is not defined as re-enterent or calling themselves dynamically or anything like that.

    Hope someone can explain that.

    Thank you

    James

    Hi ejb068,

    Hello and I hope that your well today.

    I continued to study your issue now I am back in the office, with my LabVIEW machine and resources OR. I concluded and also since found a confirmation of this issue.

    For a first level VI which has a few express screws on its block diagram, the names of the callee property currently includes a single instance of the upper level for each express VI VI.
    For example, if a VI has two ExpressVIs in the block diagram. The property called node will return two instances of the toplevel VI.

    First level VI = mainVI.vi

    Express VI = delay

    Result name called: mainVI:Instance0 (number lists according to the order screw Express are deleted from the diagram.)

    : first level VI name: InstanceX

    The problem is if you use VI server that this name is not valid - and causes a VI Server error. So I think it would be pretty safe filter these names.

    Please let me know what you think,

  • Intermittent error 1077 on update of the Boolean property node

    I have an intermittent error disabled 1077 on changing the value of a series of nodes of Boolean property in my program. I'm passing an array of references in a loop For, all the controls are in this VI and it can be classified for these purposes as a first level VI.

    Most of the time that my code works fine, however, debugging my code this morning after any recent change in this part of the code I get errors that I have problems. Any ideas on how to get this past or what is causing it please?

    Photo of part of the attached fault code.

    (Loop on the right is normally recorded shirft, but is not currently facilitate debugging).

    Finally found the problem.

    Because my table of numeric values was so small in width, I saw only a figure because I expect only the width to a figure.

    In one of the structures of the event, I wrote the number 030 instead of 0 for the node property disable result with the above error.

    I learned from this mistake and my paintings a little wider. (This is a similar problem when you forget to look for the possible extra line in a control of the chain).

  • Player.exe ceased to operate or get error game has stopped working because of the pdm.keylogger

    a few games that I download to play will not play keep the computer saying player.exe stopped working on other games, I get the message stopped working because of the pdm.keylogger I'd love to be able to play these games any ideals thanks

    a few games that I download to play will not play keep the computer saying player.exe stopped working on other games, I get the message stopped working because of the pdm.keylogger I'd love to be able to play these games any ideals thanks

    The problem seems to be related as a result of security Kaspersky you use. Try to disable Kaspersky and reload the game (s).

  • Accessing the context property of main.qml to a custom list in a file item separate qml

    Hi all

    Sorry if this is already covered somewhere.

    I currently have an application with a list view in my main.qml.  I put a context property for my class app c ++ to be "app" in my main.qml.  My list uses a custom list item that is defined in a file separate qml.  The custom list item has a popup menu.  In this context menu, I want to call Q_INVOKABLE functions that are part of my class from the main application in C++.  What is the best way to be able to do?  Should I just set the context property on my file qml of list item custom like I do with my main.qml or is there a better way?

    Thank you

    I think that this has been repeated several times, but as it is not really intuitive:
    a listitemcomponent lies in a different context, it cannot access the context property of the qml file.
    You can use the reference to the listview to reach outside, see https://developer.blackberry.com/cascades/reference/bb__cascades__listview.html ListItem.view

Maybe you are looking for