The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Accessing TDMS Metadata after import
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Macaha

Germany
4 Posts

Posted - 09/03/2017 :  07:23:08 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release:Origin 2017 (64-bit)b9.4.0.220
Operating System:Windows10

I've written a Labtalk script to import TDMS files and to automatically setup some grapphs.
Now I'm trying to access the metadata imported with my TDMS files and stored in the workbook "messdaten" in sheet1 as shown in the attached image.

I was able to access the data stored in page.info tree and in the user tree, but I can't access the sheet1 tree.


Thanks in advance

yuki_wu

896 Posts

Posted - 09/04/2017 :  05:40:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

Not sure if I understand your question fully. Try to access it by:
layer.info.file.TDMSGroup1.name$=;


Hope it helps.

Regards,
Yuki
OriginLab

Edited by - yuki_wu on 09/04/2017 9:33:09 PM
Go to Top of Page

Macaha

Germany
4 Posts

Posted - 09/05/2017 :  02:09:58 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Works perfect.

Thanks so much for your help!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000