Solution
This error can be caused by trying to deploy to an operating system your model was not built for, errors in the nake of your model or errors in the path to your model.
If you are using the VeriStand Model Generation Support add-on for Simulink, this error occurs because you have compiled the model for a different operating system than you are trying to deploy to. For example, in the compile options you selected the toolchain for Windows, but are now trying to deploy to a NI Linux real-time target.
To resolve this issue ensure that the name of the LabVIEW VI and LabVIEW model dmodels contain any special characters.
- Open your VeriStand system definition file and check the operating system is set correctly for your target,
- Check the compilation settings for your model by going to Code Generation tab and ensure that Toolcahin is set correctly for your target operating system.
- Now go to the Hadware Implementation tab and ensure the Device Type is also set correctly to match your targets operating system.
The path of the LabVIEW VI and LabVIEW model can also be a factor. If you are using a model generated from a LabVIEW VI then try saving the model to a different location, such as the desktop. Then add the model from the new location.
If you are using VeriStand 2017, this is an issue that was fixed by the f1 patch. Install the f1 patch (see related links) on the host computer, then reinstall the NI VeriStand Engine on the RT Target you are deploying to. This should resolve the issue as long as the other considerations above are accounted for.
The source of this error might be the different version of LabVIEW that the model was built compared to the version of VeriStand used to deploy. The LabVIEW functionality in VeriStand always requires like-numbered versions.