CVIParameterCategories
- Updated2025-07-21
- 3 minute(s) read
CVIParameterCategories
Use the following constants with the CVIParameter.Category property and the parameterCategory parameter of CVIParameters.New method to specify the group of data types to which the parameter belongs. When you get or set the category of the parameter, also get or set the data type with the CVIParameter.Type property or set the parameterType parameter of the CVIParameters.New method. Some categories do not have an associated data type. For these categories, the only valid value for CVIParameter.Type is ParamType_NotUsed .
- CVIParamCategory_CStruct –(Value: 5) Specifies that the parameter is a C-style struct. This category does not have any associated data types. However, you can use the CommonCParameter.StructType property to specify the name of the TestStand type the parameter represents.
- CVIParamCategory_CStructArray –(Value: 8) Specifies that the parameter is an array of C-style structs. This category does not have any associated data types. However, you can use the CommonCParameter.StructType property to specify the name of the TestStand type that the parameter represents.
- CVIParamCategory_Enum –(Value: 10) Specifies that the parameter is an enumeration data type. Valid data types for this category include CParamType_Float32 , CParamType_Float64 , CParamType_Int16 , CParamType_Int32 , CParamType_Int8 , CParamType_UInt16 , CParamType_UInt32 , CParamType_UInt8 , CParamType_UInt64 , and CParamType_Int64 . You can use the CommonCParameter.StructType property to specify the name of the TestStand type that the parameter represents.
- CVIParamCategory_EnumArray –(Value: 11) Specifies that the parameter is an array of C-style structs. Valid data types for this category include CParamType_Float32 , CParamType_Float64 , CParamType_Int16 , CParamType_Int32 , CParamType_Int8 , CParamType_UInt16 , CParamType_UInt32 , CParamType_UInt8 , CParamType_UInt64 , and CParamType_Int64 . You can use the CommonCParameter.StructType property to specify the name of the TestStand type that the parameter represents.
- CVIParamCategory_Numeric –(Value: 0) Specifies that the parameter is a numeric data type. Valid data types for this category include CParamType_Float32 , CParamType_Float64 , CParamType_Int16 , CParamType_Int32 , CParamType_Int8 , CParamType_UInt16 , CParamType_UInt32 , CParamType_UInt8 , CParamType_UInt64 , and CParamType_Int64 .
- CVIParamCategory_NumericArray –(Value: 1) Specifies that the parameter is an array of numbers. Valid data types for this category include CParamType_Float32 , CParamType_Float64 , CParamType_Int16 , CParamType_Int32 , CParamType_Int8 , CParamType_UInt16 , CParamType_UInt32 , CParamType_UInt8 , CParamType_UInt64 , and CParamType_Int64 .
- CVIParamCategory_Object –(Value: 4) Specifies that the parameter is an ActiveX object reference. Valid data types for this category include CParamType_CVIHandle , CParamType_IDispatch , and CParamType_IUnknown .
- CVIParamCategory_ObjectArray –(Value: 7) Specifies that the parameter is an array of ActiveX object references. Valid data types for this category include CParamType_CVIHandle , CParamType_IDispatch , and CParamType_IUnknown .
- CVIParamCategory_Pointer –(Value: 9)
- CVIParamCategory_String –(Value: 2) Specifies that the parameter is a string. Valid data types for this category include CParamType_CString , CParamType_CStringBuffer , CParamType_UnicodeString , and CParamType_UnicodeStringBuffer .
- CVIParamCategory_StringArray –(Value: 6) Specifies that the parameter is an array of strings. Valid data types for this category include CParamType_CString , CParamType_CStringBuffer , CParamType_UnicodeString , and CParamType_UnicodeStringBuffer .
- CVIParamCategory_TestData –(Value: 100) Specifies that the parameter is a legacy LabWindows/CVI tTestData struct. This category does not have any associated data types.
- CVIParamCategory_TestError –(Value: 101) Specifies that the parameter is a legacy LabWindows/CVI tTestError struct. This category does not have any associated data types.
- CVIParamCategory_Void –(Value: 3) Specifies that the parameter is a void parameter, meaning it has no value. This category applies only to return values.
See Also
CommonCParameter.SetArrayDimensionSizeExpr