LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS ChannelGroup / Channel Properties user defined

Hello,

using the TDMS Library (CVI 9.0) i'm creating a tdms file at runtime. On
importing this file in excel, first work sheet shows the properties of the
file, the channel group and the channels.
How can i add more information to this work sheet? F.e. i need to add
calibration information of each sensor (channel), something like date of
last calibration, calibration val_1, calibration val_2.
Also i want to fill out the fields for Minimum and Maximum (Channel), Start
Index, average value.....
I didn't find a function in the library to add user defined properties, how
can i do this ?

Norbert Rieper
Bremerhaven
Germany


0 Kudos
Message 1 of 2
(2,717 Views)
Hello,

i found out that could uis the function TDMS_SetChannelGroupProperty and
TDMS_SetChannelProperty with user defined property strings. On the first
look i thought that only the use of the predefined property strings is
possible an didn't see the "" option.

But now i have an new question.......
Is it possible to determin at which position (line) the user defined
properties appear in the file, f.e. i think its a good idea to align my
strings as follows:

Sensor 1 Cal date: 12.05.08 Cal val: 1.0234
Sensor 2 Cal date: 30.06.08 Cal val: 1.056
Sensor 3 Cal date: 02.05.08 Cal val: 1.9876

Norbert Rieper





"Norbert Rieper" <nrieper@isitec.de> schrieb im Newsbeitrag
news:493e2040@PYROS.natinst.com...
> Hello,
>
> using the TDMS Library (CVI 9.0) i'm creating a tdms file at runtime. On
> importing this file in excel, first work sheet shows the properties of the
> file, the channel group and the channels.
> How can i add more information to this work sheet? F.e. i need to add
> calibration information of each sensor (channel), something like date of
> last calibration, calibration val_1, calibration val_2.
> Also i want to fill out the fields for Minimum and Maximum (Channel),
> Start Index, average value.....
> I didn't find a function in the library to add user defined properties,
> how can i do this ?
>
> Norbert Rieper
> Bremerhaven
> Germany
>


0 Kudos
Message 2 of 2
(2,714 Views)