DAQChannel.GetI16Property Method
- 已更新2023-02-21
- 閱讀時間為 2 分鐘
Gets the value of the I16 property 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 GetI16Property ( _ propertyName As String, _ <OutAttribute> ByRef value As Short _ ) |
| C# |
|---|
public void GetI16Property( string propertyName, out short value ) |
| Visual C++ |
|---|
public: void GetI16Property( String^ propertyName, [OutAttribute] short% value ) |
Parameters
- propertyName
- Type: System.String
The name of the property.
- value
- Type:
System.Int16
%
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.