VeriStand .NET API Reference

DAQChannel.SetBooleanProperty Method

Sets the value of a property of type Boolean 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 SetBooleanProperty ( _
	propertyName As String, _
	value As Boolean _
)
C#
public void SetBooleanProperty(
	string propertyName,
	bool value
)
Visual C++
public:
void SetBooleanProperty(
	String^ propertyName, 
	bool value
)

Parameters

propertyName
Type: System.String
The name of the property.
value
Type: System.Boolean
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

Log in to get a better experience