SetU16Property Method

NI VeriStand 2018 Help

Edition Date: May 2018

Part Number: 372846M-01

»View Product Info
Download Help (Windows Only)

DAQChannel Class See Also


Sets the value of a property of type U16 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 SetU16Property ( _
	propertyName As String, _
	value As UShort _
)

C#
public void SetU16Property(
	string propertyName,
	ushort value
)

Visual C++
public:
void SetU16Property(
	String^ propertyName, 
	unsigned short value
)

Parameters

propertyName
Type: System.String
The name of the property.
value
Type: System.UInt16
The value of the property.

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