VeriStand .NET API Reference

DAQChannel.GetEnumProperty Method

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: 2013.0.0.0 (2013.0.0.0)
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

Log in to get a better experience