DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

BUG ChnPropCreate DatatypeEnum and DataTypeUnknown dont work!

Hi at all,

 

If I want to create a property with datatype Enum or Unknown I get an Error. The other datatypes are working.

 

 

The yellow marked datatypes are not working:

ChnPropCreate.png

 

 

 

 

I get this error:

Error.png

 

 

Diadem version I use:

Diademversion.png

 

 

 

 

Does anyone know if this is fixed in Diadem 2010?

 

Kind regards

Tanja

0 Kudos
Message 1 of 2
(3,518 Views)

Hi Tanja,

 

It looks like we need to improve DIAdem's documentation.  The errors you're getting are by design-- a VBScript is not permitted to create a property of type enumeration or unknown.  DIAdem itself creates a few properties of type enumeration, so you'll run into those, but you can't create them.  The unknown data type is just there for the case that DIAdem reads a property from a file but can't determine its data type from the info in the file (remember DIAdem reads hundreds of different file formats, many of them ASCII formats that aren't super-reliable).  No property is supposed to exist with the data type unknown, so DIAdem won't let you create one that way.

 

I understand the interest in creating an enumeration property, but it is simply not implemented at the moment for a user to crate enumerated properties.  You can create enumerated variables with the old VAS file approach, but I personally find that approach more trouble than the enumeration variable is worth, and there is no way to turn such an enumerated variable into a File/Group/Channel property, so that doesn't help you with your goal.  I'm afraid you either have to create an integer property or a string property (or both) as an alternative way to store the information you'd prefer to save as an enumeration property.

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 2 of 2
(3,504 Views)