GetEnumProperty Method

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

DAQChannel Class See Also


Gets the string and integer values of the Enum property specified by propertyName.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI

Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2017.0.0.0 (2017.0.0.128)

Syntax

Visual Basic (Declaration)
Public Sub GetEnumProperty ( _
	propertyName As String, _
	<OutAttribute> ByRef enumString As String, _
	<OutAttribute> ByRef enumValue As Integer _
)

C#
public void GetEnumProperty(
	string propertyName,
	out string enumString,
	out int enumValue
)

Visual C++
public:
void GetEnumProperty(
	String^ propertyName, 
	[OutAttribute] String^% enumString, 
	[OutAttribute] int% enumValue
)

Parameters

propertyName
Type: System.String
The name of the property.
enumString
Type: System.String %
The string value of the enum.
enumValue
Type: System.Int32 %
The integer value of the enum.

Remarks

To find valid propertyName values, refer to the list of DAQ channel properties.

This method throws an exception if the propertyName does not exist in the plug-in XML file that defines the measurement type of the channel.

See Also

Reference

DAQChannel Class

NationalInstruments.VeriStand.SystemDefinitionAPI Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful