NI-RFSG Write Script.Vi Error Code When Number of Loops in a Script Exceeds 47 Iteration

Updated Apr 15, 2019

Reported In


  • LabVIEW





Issue Details

I have a large piece of RF Tone generation LabVIEW code. When I run the code I get the following error (please see image below) when the number of loops in the script exceeds 47 iterations.

niRFSG Write<ERR>Error code could not be found
Status Code -201016



Firstly, Have you tried Force Reinstalling the NI - RFSG Driver?

Please see this knowledge based article: Force Reinstall Non-Working or Corrupt NI Software

Alternatively, removing the 'repeat 1' and 'end repeat' from the constant wired to the Format into String function in the block diagram (please see image below) solves the issue.


Additional Information

By including the 'repeat 1' and 'end repeat' in a large piece of LabVIEW code will require more Virtual Memory (the memory available to the process that is running) that LabVIEW is able to allocate, thus causing the error. The code will still repeat without the 'repeat 1' and 'end repeat'

Please see this knowledge based article: How Much Memory Can LabVIEW 32-bit or 64-bit Allocate?


Not Helpful