Reading of custom in PDM properties

Hello

I'm trying to read custom properties in the root of a file of PDM using Matlab with nilibddc.dll. I found two problems.

(1) I can't read the names of the properties of file only up to 643. They are the ones on the first two lines of the first page when opened in Excel. nilibddc cannot read the rest of the properties posted 4th and 5th rows tdms open Excel file.

(2) I can read the names of the properties of file with DDC_GETFILEPROPERTYNAMES, but how to read the values of the properties of file?

Thank you very much!

Hi Nathalie

«(1) I can read the names of the properties of file only up to 643.» They are the ones on the first two lines of the first page when opened in Excel. nilibddc cannot read the rest of the properties posted 4th and 5th rows tdms open Excel file. »

The properties displayed in the 4th and 5th rows are those of 31 groups of your file.

I guess that those who are no longer available in the group named "user properties.

You can call DDC_GetChannelGroups to retrieve the file channel groups.

So DDC_GetNumChannelGroupProperties like DDC_GetNumFileProperties will return the number of properties.

"(2) I can read the names of the properties of file with DDC_GETFILEPROPERTYNAMES, but how to read the values of the properties of file?

To retrieve a propertyyou values need to call DDC_GetFilePropertyType (DDC_GetChannelGroupPropertyType) to determine the type of the property, and then call the function of reading according to:

DDC_GetFilePropertyUInt8
DDC_GetFilePropertyInt16
DDC_GetFilePropertyInt32
DDC_GetFilePropertyFloat
DDC_GetFilePropertyDouble
DDC_GetFilePropertyString

For properties of type string, be sure, you resereved a buffer of size (DDC_GetFileStringPropertyLength).

For DateTime (DDC_Timestamp), call the DDC_GetFilePropertyTimestampComponents.

Please refer to the help named 'nilibddc.chm' file in the '. '. \DOC"folder for more details.

See you soon

Stefan

Tags: NI Software

Similar Questions

  • How to read the custom file Jad jad attributes?

    Hi all

    Please help me.

    I need to read the custom JAD JAD attributes frm file.

    I use this code

    "

    AllGroups [CodeModuleGroup] is CodeModuleGroupManager.loadAll ();.
    CodeModuleGroup myGroup = null;
    String moduleName = ApplicationDescriptor
    .currentApplicationDescriptor () .getModuleName ();

    for (int i = 0; i)< allgroups.length;="" i++)="">
    If (allGroups [i] .containsModule (moduleName)) {}
    myGroup = allGroups [i];
    break;
    }
    }

    Get the property
    Var description As String = myGroup.getProperty("MIDlet-Description");
    Custom string = myGroup.getProperty("My-Custom-JAD-Property");

    "

    Copy the following code gives the 'description' string value, but NOTHING is coming when I read the string "Custom".

    Let me know, where I'm wrong.

    Kind regards

    Ashutosh

    Good to know that he has worked through the OTA.

    4.2 versions below there is no workaround for it.

  • DataSource can be something unknown or custom. Its properties are not validated.

    Hello

    I found what looked like what I tried to do... data sources of QML.

    So I find this documentation: https://developer.blackberry.com/cascades/documentation/device_platform/data_access/using_data_sourc...

    I followed him all the way. But when I run my application, I get my app but no list in it. The background is white. All my items tabs and actions show. Than no list!

    DataSource {
                                id: dataSource
                                source: "assets/countries.json"
                                remote: false
                                onDataLoaded: {
                                    dataModel.insertList(data);
                                }
                            }
    

    There is an 'i' next to the data source implementation in the IDE that says: "DataSource can be something unknown or custom. Its properties are not validated. »

     

    So, what gives, ideas?

    Never mind. I will answer.

    The source must not have the 'active' before the json file. The API reference clearly states: in QML, this path is compared to the document QML in which this data source is declared.

     

    My json file in the current folder, so was not need to prefix it.

  • Custom creation persisted properties?

    Hi all
    Like reading atg.adapter.gsa.GSAPropertyDescriptor class will be used to create custom persisted properties. So what is the persistent property customized the difference b/w, we have created by using the property-type = class sub from above class and simple properties located in any table?
    Tip: custom persistent property is declared in the file .xml outside the table as transient property.
    -RMishra

    Tip: custom persistent property is declared in the file .xml outside the table as transient property.

    You can't have a persistent property outside

    . If you do this your definition of repository xml validation fails during startup.

    Like reading atg.adapter.gsa.GSAPropertyDescriptor class will be used to create custom persisted properties. So what is the persistent property custom the difference b/w, > we created using the property-type = class sub from above class and simple properties located in any table?

    Any property regularly persist in your repository will be treated by means of GSAPropertyDescriptor or its subclasses. When you specify the type of the property as a subclass of GSAPropertyDescriptor, in this case a few additional methods such as rawToReal() and realToRaw() next picture while calling GetPropertyValue and SetPropertyValue respectively.

    rawToReal() - converts the value of the database of the value of such property returned by RepositoryItem.getPropertyValue (). For example, for a property that specifies a reference to another point, we can convert the ID stored in the database of an element in the RepositoryItem itself is returned by GetPropertyValue.

    realToRaw() - converts the value given to setPropertyValue in the value that is actually stored in the database. For example, a property that specifies one reference to another item, we can convert the object to RepositoryItem past () to his ID.

    The default implementations above is already provided in the ATG repository API and if you want to customize or change the default behavior, then you can extend GSAPropertyDescriptor and define this class as the type of the property.

    As mentioned of Shaik, customization of GSAPropertyDescriptor is already there in the form of EnumPropertyDescriptor which comes into picture to "listed" data types. This is done by specifying the class name in the property-type, but through an indirect approach where a type for a repository property name can be registered with this method:

    RepositoryPropertyDescriptor.registerPropertyDescriptorClass (string typeName, class propertyDescriptorClass)

    It will be useful.

  • Data not read with custom data Plugin

    Hello

    I am trying to install a plug-in to read our data format custom at the request of the binary data.  Following the instructions of the software plugin SDK, I wrote the code to read the header and data to our format and it works using the test/debugging included screws withn the SDK.

    Unfortunately, when I compile and install the plugin and try to access my data in tiara, while individual channels are created successfully, they contain all the data.

    I've attached a zip file with all of the relevant files, would be grateful if someone could take a look and see if they can find something wrong.

    Thank you

    Shahrukh Alavi

    National Research Council of Canada

    Hi Shahrukh,

    The status bar and the error message often suggest a failure in loading the last parts of the string values.

    We can use create use exit File.vi to debug our code.

    The data file seems to have 7 channels, each has 40282 data points. So I value Offset 40280 and number of Points by the error buffer 2 and got 4 "end of file encountered." in PB_Data.vi. Would it be one of the following reasons?

    1. number of data points (wavelength) is not correct.

    2. the calculation of offset in file is not correct.

    Mavis

  • PDM - properties get

    Hi, I have TDMS file and I want to read properties but I can do it only for the first file of the content 00_003_2_HL_... as it is shown in the image. However, I would like to get the other properties such as Fs, unit_string...

    I think it's possible, but I can't find the solution. Help, please. The best way is with some examples.

    Hi, I am not very clear what is your real problem.  On what objects you want to get the other properties? Group? channel? Details are appreciated, if you are not familiar with the TDMS file formats, you can check http://www.ni.com/white-paper/5696/en

  • AutoVue Office: syntax to specify a file of .gui custom in the .properties files

    Hello.

    My company must specify a menu custom for some users.

    We do not use the client desktop application built-in but Autovue

    It is possible to specify a custom file 'users.gui' in a property like 'autovue.properties' file, in order to distribute tho files on already installed customers.

    If I ' am on the wrong means to tell me.

    Thanks in advance

    Hello

    When you use AutoVue Desktop Deployment, you can specify the GUI file customized in the autovue.properties file by using this option:

    param - GUIFILE = mynewguifile.gui

    It should be added to autovue.cmdline.

    Also the new GUI file should be in your folder "\bin\Profiles".

    Thank you

    Daniel

  • Custom preferences or properties in Oracle Service Bus?

    Hello

    Can we have custom properties or preferences as in BPEL (bpel.preference) in Oracle Service Bus?

    We want to store a static string value that changes for every Dev/Test/Prod env

    Thank you.

    Hello

    Many use a xml/xquery file with a fixed xml and retrieve content as a transformation in your proxy service. It is quite easy and you can change the settings of the console of the OSB...

    See you soon,.

    Vlad

  • Series quick reading of the channel group properties

    Hi, can someone please advice what is the fastest way to extract about 400,000 files channel group properties? Currently I use DataFileLoadRed with only the Group of channels that interests me and channels stripped down to a single value by setting the no. intervals of 1 and SectionBegin / end of 1/2. Suggestions for improvements? PHEX

    An alternative would be to open all files with the following code.

    Option Explicit
    
    dim groupindex : groupIndex = 1 ' you can also use a groupname instead
    dim groupProperty : groupProperty = "description"
    
    ' include this in a loop over all your files
    dim filePath : filePath = "C:\temp\example.tdm"
    dim store : set store = navigator.ConnectDataStoreByParameter("TDM", ""& replace(filePath, "&", "&") & "")
    dim propVal : propVal = store.RootElements(1).Children(groupindex).Properties(groupProperty).Value
    MsgBox propVal
    

    The files are open and your properties are extracted. Potentailly datafinder approach should be more fast but if you don't get that market this may be a way out.

  • Adobe Reader DC custom installation

    Very well, I don't like how Adobe you cannot install the software anywhere you want.  Is it possible to install on another drive other than the default?

    Thank you

    Hi derekn38784682 ,

    Please use the link below to download & install Acrobat Reader DC

    - Adobe - Adobe Acrobat Reader DC Distribution

    You will be asked to select the destination folder to install Acrobat Reader DC.

    Kind regards

    Nicos

  • Others that touch has changed to custom in the properties panel

    Hello

    Don't know how I did it, but don't know how to cancel it.  Somehow, I changed the other button in the custom property Panel.  I use DW CC 2014 so don't know if this is an upgrade in 2014?

    Any ideas?  See attached screenshotcustom button.JPG

    Thank you

    The only thing I didn't understand about is why it's different CBWMS and PCOC 2014.

    You will need to ask about the 'authorities'. I have exactly the same thing. Until you said it, I didn't even notice the BOM change, and frankly, I think it's better as "custom".

  • Scripts customized transformations: dynamic properties

    I'm doing a script for the Data Modeler that can add a dynamic property to a table. Someone at - it experience with dynamic properties in the scripts of transformations? I already looked in the metadata XML from SQL Developer files.

    Hello

    I guess that what you are looking for is

    tables = model.getTableSet () .toArray ();
    for (var t = 0; t)<>
    table = table [t];
    table.setProperty ("name", "value");
    table.setDirty (true);
    }

  • create the custom to users properties file!

    I wanted to create different users through the console, and then change its properties, but none of the sets of goods are available.i have seen in use video portal of say CustomerProperties profile, but I am not aware how to create through workshop.kindly help...

    Here are some instructions for creating property set definitions of workshop user profiles:
    http://download.Oracle.com/docs/CD/E15919_01/WLP.1032/e14254/developuserprofiles.htm#i1015438

    To then change the values of the user for these sets of properties, you can use the Administration Console to portal. See http://download.oracle.com/docs/cd/E15919_01/wlp.1032/e14254/userprofiles.htm#i1012049

    To access the Administration Console of portal, the url is generally of the form:

    http://:/Admin

    Thus, for example, if you have an application called 'myPortalApp' on your local machine, you would go to http://localhost:7001 / myPortalAppAdmin in your browser.

    Alternatively, for in the workshop or Eclipse, from the perspective of the portal, there is a gate open... element Administration Console menu in the menu run.

    Greg

  • Custom attribute in the model layer properties

    Hey all,.

    Can someone explain the flow of the program "ADF practice: using custom attribute in the model layer properties of". "" Basically, how change custom properties like "customLabel" changed the label attribute. Is there properties specific adf we can refer to properties for the attribute?

    Reference will also be useful.

    Thank you!!

    What exactly you want to know?

    It's pretty clear from what I've read:

    You can set properties that are customized for each attribute in a vo. This is done in the vo attributes dialog box where the default value.

    You can override the default values that is done in the setCustomHints() method. This method is called by the button in the user interface (actionListener = "#{bindings.setCustomHints.execute}" ")

    The inputtext is set to display the properties for the label (label = "#{bindings.") DepartmentName.hints.customLabel}') and uses the custom readOnly property (readonly = "#{bindings.") DepartmentName.hints.readonly}')

    As the inputText component is updated after the button clicked on (via a pertial in the inputText trigger), it shows the a values.

    Timo

  • sample code for custom or custom properties namspace

    I'm working on a project to store metadata in images generated through electronic optics.  I think using XMP because of excitability that it seems to allow.

    I downloaded the SDK XmpToolkit and I can read existing properties, but I can't figure out how to write existing properties or create a new custom schema.  Are there existing up-to-date examples, or create new ones?

    Thank you!

    Namespaces custom addition and properties in XMP is quite easy.

    After,.

    SXMPMeta initialize();

    You must register your custom namespace and the prefix. An example is

    std::string customNS = "http://www.temporary.com/NS";

    std::string customPrefix = "myPre";

     / / Custom and prefix names

    bool isSucess = SXMPMeta::RegisterNamespace (customNS.c_str (), customPrefix.c_str (), & customPrefix);

    After obtaining metadata from XMPFile, you must set property values.

    Property definition

    Meta SXMPMeta;

    meta. SetProperty (customNS.c_str (), 'name', 'xmp');

    meta. SetProperty (customNS.c_str (), 'genre', '1');

    After the properties required in a file, you can get the property as follows

    Getting property

    std::string varValeurProp;

    meta. GetProperty (customNS.c_str (), "name", & varValeurProp, 0);

Maybe you are looking for

  • Missing Device Manager objects

    Any chance someone can tell me what (s) 'Base system device' is missing and where to get them from these hardware ID? The machine is a desire 810 - 170st. PCI\VEN_8086 & DEV_0EE3 & SUBSYS_2ACE103C & REV_04PCI\VEN_8086 & DEV_0EE3 & SUBSYS_2ACE103CPCI\

  • OpenGL does not work on Satellite L30 - X 10

    Hello I got a Thoshiba Satellite L 30 - X 10 running Vista Home Basic. I have an ATI Radeon Xpress 200 M graphics card. I am able to read DVDs and games that don't require open gl, but when I try to play Wolfenstien or call of duty it get the message

  • Can't clean install XP pro, the readers are listed as unknown drive

    Hello One of our computers crashed and does not load windows, even with the CD in. Now, I'm doing a clean install of XP pro, taking this as opportunity to repartition the disk. Note: -L' initial installation was made by HP / PC Pavillion -J' already

  • OfficeJet Pro 8600 more Scan to the computer

    OfficeJet Pro 8600 more "computer scan", "Save as editable text" computer PC with Win 7 and JO 8600 Pro installed and operating normally, JO 8600 Pro on a wired home network. How does the 8600 file names and how can I control the names.  My 8600 JO P

  • Splash screen code

    HI guy, I need splash source code screen for Bb10.Kindly to provide the produre to create the application.