I have created a .lvmodel file from a VI using the VeriStand Model Framework and the Generate Model from VI tool in LabVIEW. I want to load and run my model using the LabVIEW Model Interface Toolkit. When I run the VI that is loading my model in the LabVIEW development environment, it loads and runs correctly. However, if I build that VI into a standalone application (EXE) and run it, the application throws the following error:Error -383200 occurred at xxx. <Additional Message> Model Interface Toolkit: Failed to load file model xxx.Possible reason(s):Model Interface Toolkit: Cannot load model. Ensure the Model Library Path is valid and the model conforms to the NI VeriStand Model Framework header file (ni_modelframework.h). If you are deploying to a VxWorks target, you must FTP your .out file to the ni-rt/ or ni-rt/system/ directory.
You could also address this issue by adding the two files mentioned above to your project files as shown below:
You can then add these files in the Source Files section of the Build Specifications, as shown below, so that they are always included in the data folder of the application when it is built.
This behavior should only affect LabVIEW models built for Windows targets. Building Real-Time executables for deployment on PharLap or Linux RT systems should not have this problem
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.