09-30-2015 01:03 PM
Hi,
I'm trying to run the NI "EMI_Integrator.vi" example on a NI cRIO-9024 (and a myRIO).
I moved the "EMI_Integrator.so" file to the "/ni-rt/system" on the cRIO and added .so file to the target under the LabVIEW project. I can't browse to the .so file directly so I specified the .so path manually, but the VI is not able to run and reports a -2366 "relink model" error.
You can find the original version of the VI in the NI Example Finder", but I've included my modified version that has a LabVIEW project and targets already loaded.
Thanks,
Mitch
Solved! Go to Solution.
10-02-2015 10:07 AM
Hello Mitch,
If you want to use the External Model Node on a 9024, you need to copy the appropriate VxWorks library file (.out) to the target's /ni-rt/system folder. The .out file is located in LabVIEW\Examples\Control and Simulation\Simulation\External Model Interface\EMI_Integrator\RT-Lib\vxworks.
In LabVIEW, have the External Model Node reference the appropriate library file for your operating systems. In my case, I use a .dll for Windows located in the EMI_Integrator folder, above.
When I run the VI on the cRIO Target, referencing the library on my host computer, it will automatically search the /ni-rt/system folder for a file with the same name, with .out.
Regards,
10-07-2015 10:09 AM
Thanks Thomas - that fixed it!
The issue may have occured because I placed all three RT-based ouput files (i.e. *.out, *.so, and *.dll) on the target. When I had just the .out file is correctly picked it out when ran on the cRIO.
Mitch
10-08-2015 10:23 AM
Sounds great!