DAQChannel.SetI32Property Method
- 更新时间2023-02-21
- 阅读时长2分钟
Sets the value of a property of type I32 specified by propertyName.
Namespace:
NationalInstruments.VeriStand.SystemDefinitionAPIAssembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
| Visual Basic (Declaration) |
|---|
Public Sub SetI32Property ( _ propertyName As String, _ value As Integer _ ) |
| C# |
|---|
public void SetI32Property( string propertyName, int value ) |
| Visual C++ |
|---|
public: void SetI32Property( String^ propertyName, int value ) |
Parameters
- propertyName
- Type: System.String
The name of the property.
- value
- Type: System.Int32
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.