You can enable or disable NI-RFSA Soft Front Panel (SFP) session access with one of two functions.
Note   Breakpoints in LabWindows/CVI or C code pause all threads in the attached process, including the session for which SFP session access is enabled. If your code includes breakpoints, configure SFP Session Access using the NI-RFSA Soft Front Panel.
Note   NI-RFSA does not support NI-TClk when driver session debugging is enabled.

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.

Note   NI-RFSA returns an error if you attempting to call the niRFSA_EnableSessionAccess function after disabling SFP session access using the niRFSA_InitWithOptions function.