SetAttributeBool(string, int, bool)
- Updated2025-10-13
- 1 minute(s) read
Sets the value of a Bool attribute.
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int SetAttributeBool(string channelName, int attributeIdentifier, bool value)
Parameters
| Name | Type | Description |
|---|---|---|
| channelName | string | Specifies the selector string for the attribute being set. Refer to the Using a Selector String (.NET) topic in the NI-RFmx Instr Help for more information about configuring the selector string. |
| attributeIdentifier | int | Specifies the ID of an attribute. |
| value | bool | Specifies the value to which you want to set the attribute. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.