Visual Basic (Declaration) | |
---|---|
Public Sub SetParameter( _ ByVal hwType As InstrumentType, _ ByVal name As String, _ ByVal value As Object _ ) |
Parameters
- hwType
- Which type of hardware within the HardwareGroup this parameter should apply to.
- name
- The key name of the parameter.
- value
- The value to set the named parameter to.
Exception | Description |
---|---|
System.ArgumentOutOfRangeException | The hardware type is not InstrumentType.Adc (only Adc is currently supported). name is misspelled or not supported. |
Note: It is recommended to use the strongly typed methods and properties on sub-classes of this class instead of this method. See the specific Input Extension class for the hardware that is being used.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)