NIRfsg(string, bool, bool, string)
- Updated2025-10-14
- 1 minute(s) read
Creates a new instrument driver session and sets the initial state of session properties.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsg
public NIRfsg(string resourceName, bool idQuery, bool reset, string optionString)
Remarks
For more information on the format of optionString, refer to the NI RF Signal Generators Help.
Parameters
| Name | Type | Description |
|---|---|---|
| resourceName | string | Specifies the name of the device in which the session is opened. |
| idQuery | bool | Specifies whether you want NI-RFSG to perform an ID query. true if NI-RFSG performs an ID query; otherwise false. |
| reset | bool | Specifies whether you want to reset the NI-RFSG device during the initialization procedure. true if the device is reset; otherwise false. |
| optionString | string | Sets the initial state of the following session properties: RangeCheck, QueryInstrumentStatus, Cache, Simulate, RecordCoercions. |