Error -2206 When Deploying VeriStand Project to a Real-Time Controller

Updated Mar 1, 2019

Reported In

Software

  • VeriStand

Issue Details

I am deploying my NI VeriStand project to a Real-Time controller. During deployment, I get the following error in the deployment log:

The VeriStand Gateway encountered an error while deploying the System Definition file.

Details:
Error -2206 occurred at Project Window.lvlib:Project Window.vi >> Project Window.lvlib:Command Loop.vi >> Project Window.lvlib:Connect to System.vi

Possible reason(s):

LabVIEW:  RT FIFO does not exist.

Solution

This error could be caused by a few different factors:
  • If you are using a custom device in your VeriStand project, try disabling or removing the custom device from the System Definition File and redeploy the project. If the error goes away, then there is likely some problem in how the custom device utilizes RT FIFOs in the LabVIEW code. In that case, you can try running the custom device code directly from LabVIEW to see if it functions correctly. 
  • If you are using a custom model, try deploying the project without your custom model. If the original project deploys successfully without the model, try deploying the model in a new VeriStand project with a fresh System Definition file. 
    • If the new project deploys successfully with the model, it's possible there was corruption in the original project's System Definition file. Remove the model and re-add it to your original System Definition file and redeploy your project. If you are still getting an error, try creating a completely new System Definition file in the original project to deploy. 
    • If the new project does not deploy with the model, there may be an issue with the model you built. Try another model to see if the issue is with loading all models, or that specific custom model.

Additional Information

Error -2206 generally occurs when an RT FIFO write or read occurs when the reference to the RT FIFO has been closed.