Simulation X generated .dll file could not be imported by VeriStand

Updated Jul 23, 2019

Reported In

Software

  • VeriStand

Issue Details

I want to import the model created by simulation X into RT to run, my real-time system equipment is cRIO-9039. When loading the model, an error will be reported.

Solution

First, you need to specify the controller system in Veristand. Note that the system supported by Simulation X is Linux, pharlaps, or windows. Veristand will prompt an error when you choose the wrong system. The project generated by Simulation X needs to be recompiled in Visual Studio. Then proceed to the next step.
  1. Open the Visual Studio project generated by Simulation X with Visual Studio C++.
  2. Right click on properties in the project.
  3. Change the value of Runtime Library to Multi-threaded DLL (/MD) in Code Generation in C/C++ as shown in Figure 1.
  4. Select Release in the drop-down menu in the project's toolbar.
  5. Click Build Solution in Debug.
  6. Import the newly compiled .dll file into Veristand.
Figure 1

WAS THIS ARTICLE HELPFUL?

Not Helpful