george seifert Posted September 19, 2008 Report Share Posted September 19, 2008 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 Quote Link to comment
JustinThomas Posted September 19, 2008 Report Share Posted September 19, 2008 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 Quote Link to comment
george seifert Posted September 19, 2008 Author Report Share Posted September 19, 2008 QUOTE (JustinThomas @ Sep 18 2008, 09:43 AM) So just give the channel name and leave the property name terminal unwired it should give you an array of the property names Perfect. I never would have thought to try that. George Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.