CreateDataFileHeaderAccess (Tiara 2014)

Hello

in Diadem 2012, I used the DataFileHeaderAccess command to access the properties of the root of my TDMS files. The properties are at the lowest level (not in groups or channels). In 2012 my code looks like this:

Set oMyDataFileHeader = DataFileHeaderAccess ("test.tdms", "TDMS", True)
oMyRootPropVal = oMyDataFileHeader.RootPropValGet ("Property_xyz")

If (InStr (1, oMyRootPropVal, "search_string", vbTextCompare in) > 0) then...

I do not understand how to use the new control. I tried different things, but nothing has worked for me. For example:

Set oMyDataFileHeaderAccess = CreateDataFileHeaderAccess
Set oMyDataStore = oMyDataFileHeaderAccess.Open (files (i), "TDMS", True)
Call the MsgBox (oMyDataStore.RootElements (1).) Properties.Item (1). Name)

My properties do not appear in the RootElements branch (1).

oMyDataStore.RootElements (1). Properties.Count also returns the right size in my case.

Thanks in advance!

Karlheinz

Hi kawosch,

Try this in DIAdem 2014 and later versions:

Set TdmHdr = CreateDataFileHeaderAccess()
Store of value data = TdmHdr.Open (files (i), "TDMS", True)
The value DataRoot = DataStore.RootElements (1)
Set DataRoot.Children = DataGroup (1) ' a group
Set DataChannels = DataGroup.Children ' first group channels
MsgBox DataRoot.Properties ("Property_xyz"). Value

Brad Turpin

Tiara Product Support Engineer

National Instruments

Tags: NI Software

Similar Questions

  • 2D axis graduation Bug in reports (Tiara 2014)

    Hello

    I ran across a rarther annoying bug in 2D for reports of scale axis.  Here's how to recreate:

    1. Load a dataset that contains the x and y components.

    2. Create a new presentation in the report tab

    3. In Sheet1, add a Simple 2D axes system.

    4. Select x and y of the dataset object and drag it in the 2D axis system.

    5. Change the scale of "Completely automatic" to "manual".

    6. Change the number of "Begin" to something near the tiara set by default.  Do not touch the number of 'end '.  Click OK.

    7. Add Sheet2 and repeat steps #3 to #6 on Sheet2 with a different dataset.

    8. The two parcels well look now...

    9. Go to Sheet2 and double click on the map to reveal the curve and the definition of the axis.

    10. Do not touch anything... just click on "Cancel".

    After you click Cancel, the scale of the axis 2D completely changes.  I think what is happening is that the tiara takes everything the previous issue of 'End' was and who uses instead the number of 'End' you want.  In addition, you have not actually to enter the curve and the definition of the axis to create this bug.  Press cancel if you change something like text (for example)... curious bye bye.

    Also, if I go back the and redefine scaling on automatic mode, click Preview to update the plot, then opt for the manual mode, all seems good.  However, if I copy Sheet2, the plot on Sheet2_Copy1 is messed up the same way as if Sheet2 is OK, but I hit Cancel.

    Worse still, the undo function does not work on this unwanted change of scale.

    This is a bug that makes plots in the report almost unusable files.  I hope it's re-producable on other systems if a patch can be issued.  Let me know what you find.

    The only solution I found is to click OK instead of cancel, which is not always preferred.

    Thank you

    Jacob

    Hello jrasco,.

    You are right. There is a bug in DIAdem 2014. We have set for the DIAdem service pack.

    Here is the link to the 2014 DIAdem English SP1

    Thank you

    Walter

  • Tiara - 2014 > 2011 (DOWNGRADE)

    Hello

    We bought DIADEM 2014 (1xBASE/2xAdvanced) and our client uses DIADEM 2011.

    As a result, we had different problems and as to downgrade our version of DIADEM.

    Is this possible? How can I get the old version and my license is also work?

    Thanks and greetings

    Alex

    Hello Alex,.

    You can use an older version with your new purchase (you may use 2014 or any previous version of DIAdem, but not both at the same time, please check the license agreement of the software).

    Older software versions OR can be found here:

    http://www.NI.com/downloads/

    Just enter the name and version of the software you wish to download, i.e. 'DIAdem 2011' in the field of research to the above URL and choose the version you want to download, then install.

    The license file you received with your version of 2014 should work with previous versions of DIAdem.

    Depending on the modules OR the license agreement found here: http://www.ni.com/legal/license/ you can install an earlier version of the software that you own:

    Upgrades; Previous Versions. If the software is an upgrade, you can use the software if you have a valid license to use the earlier version of the software, and you may not use the upgrade both of the earlier version of the software at the same time. You can choose to use an older version of any software delivered and licensed under this agreement rather than use the delivered software and a license under this agreement ("software"), provided (i) you have a copy authorized by the earlier version of the software. (ii) all use is pursuant to and in accordance with this agreement; and (iii) Notwithstanding any provision of this agreement to the contrary, in no case NOR will have to support any version of the software, including the provision of applicable software key codes or key to material other than the version then most recent of the delivered software.

    I hope this helps.

    Otmar

  • How to share the use and other files

    2 computers. 1 network (actually a dropbox folder).

    Tiara 2014

    What is the best way to make a facility within the tiara 2 computers can share dataplugins and saved view, report, script files?

    Navigator th was easy as just point it to the data of the index folder.

    I want to just make sure I hit all the appropriate configurations. SLEEP well, my stumble faced the Dataplugins.

    -Scott

    Hi Scott,.

    If you happen to use the DataFinder server, and if you are using only VBScript DataPlugins, then there is a function to automatically synchronize each connected DIAdem or LabVIEW client DataPlugins with versions updated on the DataFinder Server computer.

    If you use DataPlugins from www.ni.com/dataplugins, then you can have a VBScript that run at startup to check the local version of use compared to the version updated to www.ni.com/dataplugins and download the new version when it is available.

    If you use DataPlugins, you have created yourself, so the only thing I can think is to have a VBScript that run at startup that runs automatically the file *.uri every time that DIAdem launches, although having your use up-to-date on shared DropBox may prevent this option.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • Analysis of the accident: Tibia Index (ChnTICalc)

    Hello

    I have a few questions for the calculation of the index of Tibia DIAdem (2010, 2012, 2014) (ChnTICalc)

    The help of tiara (2014) tells me to "dialog boxes > DIAdem ANALYSIS > Crash Analysis > Crash Analysis (TI):

    Instant Mx specifies the filtered data CFC600 channel...
    Now my specifies the filtered data CFC600 channel...
    Compression Fz force specifies the filtered data CFC600 channel...

    Of the other in "programming reference > alphabetical Programming Reference > controls and features > command: ChnTICalc»

    Note The input channels must be filtered with CFC600.

    Question 1: Does he expect the non filtered ChnTICalc or the precleaned CFC600 channels?

    Help of DIAdem (2014) told me in ' Basics > DIAdem ANALYSIS > Crash Analysis criteria > abdominal criteria > TI '.

    Note  To calculate only the axial compression forces are used. The tensile forces must be set to 0.

    Question 2: ChnTICalc defines the strength of traction to 0?

    ChnTICalc calculates the result of TI string and returns the maximum value in the variable of tires.

    I need this channel for a parcel of report and limiting curves

    Question 3: Is it possible to keep all TI result of the channel?

    Thank you

    GEMÜ

    Hi Andreas,

    Thanks for your workaround solutions.

    I've implemented the calculation by my own.

    See the code below. Maybe someone else has need of the curve by TI.

    Dim oAg, oTI
    Define OAG = Data.Root.ActiveChannelGroup.Channels
    OTI value = ChnTICalcObj (oAg ("11TIBILEUPH3MOXB"), oAg("11TIBILEUPH3MOYB"), oAG("11TIBILEUPH3FOZB") _
    225.0, 35.9, '11TIINLEUPH3000B', "Tibia Index Curve")

    MsgBox oTI.Properties.Item ("Maximum"). Value

    Function ChnTICalcObj (ByVal MxObj_Nm _
    ByVal MyObj_Nm _
    ByVal FzObj_kN _
    ByVal Mcr_Nm _
    ByVal Fcz_kN _
    ByVal sTI_ResultName _
    ByVal sTI_ResultDescription)

    Set ChnTICalcObj = MxObj_Nm.ChannelGroup.Channels.Add (sTI_ResultName, DataTypeFloat64)
    With ChnTICalcObj
    . Name = sTI_ResultName
    . Properties.Item ("unit_string"). Value = «»
    . Properties.Item ("description"). Value = sTI_ResultDescription
    Ends with

    Dim sFormula, aSymbols (5), aValues (5)

    < 0.0))="">

    aSymbols (0) = "TI".
    aSymbols (1) = "Mx".
    aSymbols (2) = 'my
    aSymbols (3) = "Fz".
    aSymbols (4) = "Mcr".
    aSymbols (5) = "Fcz.

    Set aValues (0) = ChnTICalcObj
    Set aValues (1) = MxObj_Nm
    AValues set (2) = MyObj_Nm
    AValues set (3) = FzObj_kN
    aValues (4) = Mcr_Nm
    aValues (5) = Fcz_kN

    Call the calculate (sFormula, aSymbols, aValues)
    End Function

    Concerning

    GEMÜ

  • Calculator command stack 2014 tiara

    The last update of Diadem 2014 doesn't seem to store the previous commands in the calculator command stack. He always seems to be empty. Is there a setting hidden somewhere?

    Thank you Walter,.

    Now, works great.

    Happy new year!

    Karoline

  • Where and how can I ESET Cyber Security Pro 2014?

    Need ESET Cyber Security Pro 2014

    jc4729 wrote:

    Need ESET Cyber Security Pro 2014

    Why?

  • Staingate MacBook Pro Retina Display - mid-2014

    Hello world

    Today, I noticed a few scratches on the screen of my MBP mid-2014. I did a search in google and I found several links to the staingate (I didn't know its existence), which is basically the problem I have.

    I made a call to apple support in my country (Mexico) and support staff told me that my MBP is not eligible for a free repair. That the staingate affects only the models starting from 2013. Is this true?

    I hope someone could answer my question.

    Thank you.

    Luis

    Hola, Luis!

    Unfortunately, Apple only will be able to tell you if your machine is "considered as affected" by Staingate. They have never posted to the serial numbers or any other identifying information on how they determine what is affected.

    I recommend that escalate you the problem with their technical support.

  • MacBook Pro 2014 - failure of the graphics card for the 2nd time in 2 years - no guarantee

    Hi all

    end of 2014, I bought a new 13 inch Retina Display MacBook Pro mid 2014 model (A1502, EMC2875). A few months later, the graphics card has failed - no obvious reason. Apple replaced. Now, the graphics card has not yet. Still, the mac worked perfectly well (no overheating of the noise, nothing) and all of a sudden - no understandable reason or external actions, the graphics card has failed. Unfortunately, I do not have a guarantee of more. At least, I can access my documents by connecting two Macs, so I hope that the material is not affected.

    My model (1502) apparently only has a single integrated graphics processor.

    My questions:

    • After some research, I discovered that Apple used to have these problems with the 2011 edition. They have implemented a replacement program. Does anyone know sth on this subject?
    • What graphics card would you recommend? How much such a graphics card? Where could I buy a cheap?

    Of course, I don't want to reuse the same type - guess I don't have to explain how @* #&! I'm after two times the same problem within two years after the purchase of a brand new MacBook Pro...

    I would appreciate any recommendations and links!

    Best regards

    Rahel

    -As you say, your Mac model uses the graphics processor integrated in the CPU chip. So, there are ios no replacement possible. The CPU is soldered to the logic board

    -The problem with the 2011 MacBook Pro was with the discreet Nvidia, not the graphics unit integrated in the CPU graphics unit.

    -When you went to an Apple store just says the genius of APple?

    This is the Office Mac Pro forum. I asked that your post be moved to the MacBook Pro laptop.

  • Unable to dump between 5s and 2014 imac iPhone

    Hello

    I tried to drop photos between my iMac 2014 iOS 9.1.3 and my iPhone 5s (9.3.5) for awhile. Bluetooth is enabled on both. However, even if I'm sitting in front of the iMac with my phone, it does not connect and throws me a message that the network is not available? I lived the privacy and security settings and these are open to accept the device. I was in our Apple dealer yesterday and the iMac in there recognized my phone without any problem, please help as it is very frustrating!

    Have you looked through this:

    Use AirDrop to send the contents of your Mac - Apple Support

    (You must have the air drop enabled your Wifi and Bluetooth)

  • MacBook Pro 2.6 13 "mid 2014 8 GB. the HD is fried by virus. should I just take w Apple and replace a new SSD and you know how much $ would cost me? Thank you in advance.

    my MacBook Pro 2.6 GHZ I5 (mid-2014) 3 MB shared level 3 cache, 8 GB on-board 1600 MHz DDR3L SDRAM. the HD is fried by virus. should I just take w Apple and replace a new SSD and you know how much $ would cost me? Thank you in advance.

    Quan

    Contact ask an ANDS Apple Store.

    However, what makes you think that a virus fried your HD?

    Looking at it

    https://en.Wikipedia.org/wiki/MacBook_Pro

    Initially, you Mac Pro came with an SSD.

    Just what failure symptoms are you having? Maybe your SSD did not fail.

    If necessary and if yo are up to it you can replace the SSD yourself

    https://eShop.MacSales.com/shop/memory/Apple_MacBook_MacBook_Pro/upgrade/DDR3_16 00MHz_SDRAM

    This is the Office Mac Pro forum. I asked that your post moved to the forum of laptop MacBook Pro or another appropriate forum.

  • rMBP mid-2014 15 "screen GPU artifacts

    Hello

    I currently have my rMBP mid-2014 15 "for over 2 years and I start noticing screen artifacts arise.

    Any program iam at or it load is turned on. Every now and then a line/zone flashes black or scratched.

    What could this be? The laptop has never been dropped or anything?

    Im running 10.11.6

    Kind regards

    It could be a GPU question

    You can run ADH and or else contact the Apple Store about their research in it.

    Using Apple Hardware Test - Apple Support

  • 2014 MacBook Air does not turn off

    I have to force to leave my MacBook Air 2014 because it will not meet the 'closure' in the menu drop-down window. This continues after a new reinstalled at the local Apple Store.

    Reset the SMC could solve the problem.

    Reset the management system (SCM) controller on your Mac - Apple Support

  • Change the hard disk of 1.4 Ghz Mac Mini end of 2014

    Good morning Apple community, so here's the problem: I had a voltage breakdown because via the USB port of an EPSON LX - 300 printer, at present when the USB and the Mac Mini contact, ventilation Mac shutoff valve and after a few tries to do turn it finally do. But I see that a gray folder appears with an exclamation mark, then, with my other mac I download OS X El Capitan and do a Booteable USB, after that I enter the utilities disk and found that the "Macintosh HD" was not there and 2 USB 3.0 also didn't work. I picked up at a technical Service allow in my city and have told me that the HARD drive is broken and must be replaced, they say it could be replace by an of a 7200 rpm or 5400 RPM HARD drive RPM HARD drive, also says that couldn't put an SSD. I start research and found it is possible to put an SSD without problem. So my question is that's for sure, so I trust that an SSD will work with flawessly, and that I will also get a big performance improvement.

    My Mac is:

    Mac Mini end of 2014 1.4 Ghz 4 GB of RAM, Intel HD 5000 and a 500 GB drive HARD 5400 RPM death.

    So, my best regards to the community and hope for a response.

    I've been running my 2014 MM off an external SSD with USB 3.0 since the beginning of this year, after a bunch of trial and error; That's what I have:

    Unfortunately, I don't have much advice to give you else make sure you have a proper forum for IT. From my experience, the bad speaker will make the difference in whether or not the Mac recognizes the SSD on initialize toward the top.

    Good luck!

  • It is convenient download MacOS Sierra on my MacBook Pro 13 "retina 2014?

    In fact, I'm under the latest version of El Captain (10.11.6) on my MacBook Pro 13 "retina, I bought in late 2014. I've heard talk too upgraded to a Mac operating system slow down the device and the decrease of the performance... In your opinion, should I upgrade the MacOS Sierra system, get the new features, but with the risk of slowing down my Mac?

    These are my characteristics of Mac

    It depends on when Sierra is officially out and we can discuss it here. So far, use the forum of developers by following the instructions in the EULA.

Maybe you are looking for