Jump to content

Read all channel properties in a TDMS file?


Recommended Posts

Does anyone know if there's a way to read all the properties within a channel in a TDMS file? I know how to read one property at a time using the TDMS Get Properties VI, but you have to know the property name ahead of time. Even if there was a way to list all the property names within a channel that would help, but the TDMS List Contents VI only lets you supply a Group name.

George

Link to comment

QUOTE (george seifert @ Sep 18 2008, 07:42 PM)

Does anyone know if there's a way to read all the properties within a channel in a TDMS file? I know how to read one property at a time using the TDMS Get Properties VI, but you have to know the property name ahead of time. Even if there was a way to list all the property names within a channel that would help, but the TDMS List Contents VI only lets you supply a Group name.

George

The TDM Get Properties VI context help states

"The function returns the group and/or channel properties if you wire the group name or channel name inputs with values. If those inputs contain no values, the function returns the property values for the specified .tdms file"

So just give the channel name and leave the property name terminal unwired it should give you an array of the property names

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.