Configuring SFP Session Access Using LabWindows/CVI or C
- Updated2025-10-20
- 1 minute(s) read
Using the niRFSA_InitWithOptions Function
To enable SFP session access using the niRFSA_InitWithOptions function, create a new device session for your device and pass the following string into the optionString parameter:
DriverSetup=SFPSessionAccess:1
Disabling SFP session access prevents users from altering the execution of critical test code. To disable SFP session access, pass the following string into the optionString parameter:
DriverSetup=SFPSessionAccess:0
Refer to Driver Setup Options for more information about using the option string parameter.
Using the niRFSA_EnableSessionAccess Function
To enable SFP session access using the niRFSA_EnableSessionAccess function, specify a resourceName and pass VI_TRUE to the enabled parameter.
To disable SFP session access, specify a resourceName and pass VI_FALSE to the enabled parameter.