PropertyObjectType.Representation
- Updated2024-10-09
- 1 minute(s) read
PropertyObjectType.Representation
Syntax
PropertyObjectType.Representation
Data Type
Use the following constants with this data type:
- PropertyRepresentation_Float64 –(Value: 1) Specifies double-precision, 64-bit floating-point representation.
- PropertyRepresentation_Int64 –(Value: 2) Specifies signed 64-bit integer representation.
- PropertyRepresentation_None –(Value: 0) This is the default representation for non-numeric property objects.
- PropertyRepresentation_UInt64 –(Value: 3) Specifies unsigned 64-bit integer representation.
Purpose
Specifies the representation of the PropertyObject . TestStand uses strict representation matching. Use the expression functions to convert the representation as needed.
Remarks
By default, TestStand sets the representation of non-numeric property objects to PropertyRepresentation_None .
TestStand number variables do not have separate numeric representations for 32-bit, 16-bit, and 8-bit integers. Historically, TestStand stored all numeric values, including integers, in a double-precision, floating-point format. However, for 64-bit integers, a double-precision, floating-point format is not sufficient because it cannot store all values of a 64-bit integer. Thus, TestStand now includes 64-bit integer representations. National Instruments recommends storing 32-bit, 16-bit, and 8-bit integer values using the double-precision representation because the double-precision format is sufficient for these data types, and most existing TestStand code expects numeric variables to use the double-precision representation.