04-16-2011 01:35 PM
I am trying to compile an OUT file for my Simulink model using "nidll_vxworks" and run it using the Simulation Interface Toolkit for a cRIO 9073 . I am able to compile the DLL file using "nidll" and succesfully run the simulation using my PC as the host.
I already downloaded the "gccdist" and "vxworks61gccdist" folders and copied them to "c:" When I build the model in Sumulink I get the following error at the end of the process (at the same time windows tells me that "sh.exe" has stopped working). If it matters I am running Windows 7 64bits, but using Matlab 2009b 32bits and LabView 2010 32 bits. ANY HELP WILL BE APPRECIATED. "QofV" is the name of my Simulink model and I changed to "XXX" parts of the file path.
### Linking ...rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o nidll_main.o rt_sim.o ode8.o | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c
abnormal program termination
C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]make: *** [QofV.out] Error 1 ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.>>
### Linking ...rm -f "QofV.out" ctdt.c;nmppc QofV.o QofV_data.o rtGetInf.o rtGetNaN.o rt_logging.o rt_look.o rt_look1d.o rt_nonfinite.o nidll_main.o rt_sim.o ode8.o | tclsh c:/gccdist/WindRiver/vxworks-6.3/host/resource/hutils/tcl/munch.tcl -c ppc > ctdt.c abnormal program termination C:\Users\XXX\AppData\Local\Temp\make426012.sh: fork failed: no child processes [1]make: *** [QofV.out] Error 1 ### Real-Time Workshop build procedure for model: 'QofV' aborted due to an error.>>
Solved! Go to Solution.
04-16-2011 08:39 PM
In addition. I manage to create the QofV.OUT file sometimes. It looks very random to me. With the same Simulink model I get the error most of the time, but once every 100 compilations it works. I am thinking there is another process that makes the sh.exe crash.
04-18-2011 09:08 AM
GCC 6.1 is only suported on Windows XP. It is almost noted in the readme_sit_vxworks.txt that can be found in C:\SimulationInterfaceToolkit\xxxx\VxWorks (where xxxx is the version of SIT). It says:
*Known Issues --------------------------- - The WindRiver GNU Toolchain 6.3 and 6.1 do not work on Windows Vista.
To be more explicit it should be "Vista and later".
Carl L
National Instruments
04-18-2011 10:23 AM
Ok. Thanks.
Do I have an option if I want to use my Win 7 machine?
Thank you again for your reply!
04-19-2011 08:39 AM
Hello jarcTec,
I am not sure right now if you can do it, but this tutorial might help, also everything was made in Winddows 7 in this one.
http://zone.ni.com/devzone/cda/tut/p/id/11654
Take a quick look and let me know if it works!!!
04-19-2011 10:06 AM
Hello Luis.
I was actually using that tutorial when I ran into the problem described above. It may not be an issue with Windows 7 but with Windows 64 bits in general.
I managed to get an XP 32bits machine and compile the out files there without a problem.
Regards,