DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem creating channel property in tdm file

Hi, Stefan:

 

Here it is:

static const char * FILE_Property_Test = "File Property Test";

Argument "file" is the DDCFileHandle

 

Greetings from Luebeck~~

 

Kuo 

Message Edited by Kuo on 04-22-2010 09:59 AM
0 Kudos
Message 11 of 17
(2,641 Views)

Hi Kuo

 

blanks are not supprted in property names.

 

Property names should only contain alpha numerical characters.

 

Gruß in den Norden

Stefan


 

The following characters are not allowed for custom property names:

., :, ,, ;, ', \, @, <, >, #, [, ], %, (, ), {, }, |, *, ?, =, !, ", ^, $, &, +, -, /, and a space

 

Also the following property names are reserved and may not be used for creating custom properties on file level:

author, channelgroups, children, datestring, datetime, description, environment, external_references, id, instance_attributes, mime_type, name, objecttype, parent, registercomments, registertxt1, registertxt2, registertxt3, timestring, title, version, version_date

 

The following property names are reserved and may not be used on group level:

 channels, children, description, equipments, external_references, id, index, instance_attributes, measurement_begin, measurement_end, measurement_quantities, mime_type, name, objecttype, parent, registertxt1, registertxt2, registertxt3, root, sequences, submatrices, submatrices, test, units_under_test, version, version_date

 

The following poperty names are resevered and may not be used on channel level:

 average, channel, children, datatype, deletebehaviour, description, dimension, displaytype, empty, external_references, flagkey, group, groupindex, id, implicit_increment, implicit_start, instance_attributes, internal_params, internal_res1, internal_res2, interpolation, is_scaled_by, length, lengthmax, local_columns, maximum, measurement, mime_type, minimum, monotony, name, novaluekey, number, objecttype, parent, quantity, rank, registerint1, registerint2, registerint3, registerint4, registerint5, registerint6, registertxt1, registertxt2, registertxt3, registerval1, registerval2, registerval3, registerval4, registerval5, registerval6, representation, scales, sourcedatafilename, sourcedatafilepath, sourcegenparam1, sourcegenparam2, sourcehandle, sourceinstancekey, sourcename, sourceparentname, sourcerepresentation, sourcetype, sourcevalue, standard_deviation, status, type_size, unit, unit_string, valuetype, version, version_date, waveform,

Message 12 of 17
(2,638 Views)

Hi, Stefan:

 

You are definitetly Genius~~

Now it's working~~

 

Thanks!!!

 

Kuo 

0 Kudos
Message 13 of 17
(2,636 Views)

Well if that is the case then the LabVIEW TDMS vis should not allow the use of spaces in property names.  

0 Kudos
Message 14 of 17
(2,022 Views)

TDMS does support white space in property names an property values. TDMS and TDM are different file formats.

0 Kudos
Message 15 of 17
(2,018 Views)

Note: Other software than LabVIEW such as DIAdem or DataFinder cannot deal with e.g. spaces in property names and will replace 'forbidden' characters with '_'.

0 Kudos
Message 16 of 17
(2,008 Views)

That's true. So far I used DIAdem fairly well.

0 Kudos
Message 17 of 17
(2,005 Views)