EnableSessionAccess(bool)
- Updated2025-10-14
- 1 minute(s) read
Enables or disables the Soft Front Panel (SFP) session access for the instrument specified by this NIRfsa session.
Syntax
Namespace: NationalInstruments.ModularInstruments.NIRfsa
public void EnableSessionAccess(bool enable)
Remarks
true if the SFP session access is enabled; otherwise, false.
SFP session access allows the NI-RFSA SFP to access a device with an existing open session and can help you debug your code.
For more information about SFP session access, refer to the Configuring SFP Session Access in LabWindows/CVI or C topic in the NI RF Vector Signal Analyzers Help.
Supported Devices: NI 5600/5601/5603/5605/5606 (external digitizer mode), NI 5644R/5645R/5646R, NI 5661/5663/5663E/5665/5667/5668R, NI 5693/5694
Parameters
| Name | Type | Description |
|---|---|---|
| enable | bool | Specifies whether to enable or disable the SFP session access for the specified device. |
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The EnableSessionAccess method was accessed after the associated NIRfsa object was disposed. |