Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

NewDataType Method

NI TestStand™ 4.1 Help
May 2008

NI Part Number:
370052G-01

»View NI TestStand Product Info

Syntax

Engine.NewDataType ( ValueType, asArray, typeNameParam, options)

Return Value

PropertyObject

The newly created data type.

Purpose

Creates and returns a new TestStand data type.

Remarks

This method creates a PropertyObject object that is a data type. Once you create a data type, you can use the Engine.NewPropertyObject method to create an instance of the type. You can add the type to a TypeUsageList to associate the type with a particular PropertyObjectFile.

Parameters

ValueType As PropertyValueTypes

[In] Pass the type of value you want instances of the type to contain.

asArray As Boolean

[In] Pass True if you want the type to be an array.

typeNameParam As String

[In] If you pass PropValType_NamedType for the ValueType, pass the name of the type for this parameter. Otherwise, pass an empty string. If you pass a type name, the type must not already be in memory. Refer to NamedPropertyTypes for a list of built-in name types.

options As Long

[In] Pass 0 to specify the default behavior, or pass one or more PropertyOptions constants. Use the bitwise-OR operator to specify multiple options.


See Also

NamedPropertyTypes

NewPropertyObject

PropertyObjectFile

PropertyOptions

TypeUsageList


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit