LabVIEW Simulation Interface Toolkit Support for VxWorks-based Targets ------------------------------------------------------------------------ This file contains information about enabling support for VxWorks-based LabVIEW Real-Time targets, such as the cRIO-901x/907x. *Known Issues --------------------------- - The WindRiver GNU Toolchain 6.3 and 6.1 do not work on Windows Vista. *Installing Files --------------------------- Add the following three files to support SIT on VxWorks. - X:\SimulationInterfaceToolkit\5.0\ModelInterface\tmw\R13\nidll_vxworks.tlc - X:\SimulationInterfaceToolkit\5.0\ModelInterface\tmw\R14\nidll_vxworks.tlc - X:\SimulationInterfaceToolkit\5.0\ModelInterface\tmw\R2007b\nidll_vxworks.tlc To add the files, copy the folder X:\SimulationInterfaceToolkit\5.0\VxWorks\ModelInterface to X:\SimulationInterfaceToolkit\5.0\ModelInterface, where X: is the drive letter where you installed SIT. *Setup of GNU Toolchain ---------------------------- To compile models for VxWorks-based targets, you need the WindRiver GNU Toolchain. Refer to the document "Developing Shared Libraries for the cRIO-901x and Other VxWorks Targets" at http://zone.ni.com/devzone/cda/tut/p/id/5694 for information about how to get the toolchain. The nidll_vxworks.tmf files assume that setup-gcc.bat is located in the folder c:\gccdist\supp\. If you have downloaded the GNU Toolchain in a different folder, follow these steps: 1. Open the file X:\SimulationInterfaceToolkit\5.0\ModelInterface\tmw\Rxx\nidll_vxworks.tmf, where X: is the drive letter where you installed SIT. 2. Locate the line MAKECMD = c:\gccdist\supp\setup-gcc.bat && make 3. Edit the path to setup-gcc.bat and save the file. 4. Repeat these steps for each subfolder in X:\SimulationInterfaceToolkit\5.0\ModelInterface\tmw\ *Using the SIT Connection Manager --------------------------------- The SIT Connection Manager does not support the use of VxWorks .out files directly. However you can still use the SIT Connection Manager if you have Microsoft Visual C available to compile a DLL. 1. Compile the Windows DLL file using NI Real-Time Target (nidll.tlc). 2. Compile the VxWorks OUT file using NI Real-Time VxWorks Target (nidll_vxworks.tlc). 3. In the SIT Connection Manager, pick the DLL as the Model DLL. Tip: The Host VI will automatically ftp the VxWorks OUT file, if either: a) the OUT file is in the same folder as the DLL file b) a common parent folder contains ..\_nidll_rtw\.dll and ..\_nidll_vxworks_rtw\.out where is the name of the simulation model. This is the default if the same working directory is used when generating the OUT file and the DLL file. If the OUT file can not be found, you need to FTP the OUT file manually to /ni-rt/system on the VxWorks Real-Time target. © 2008 National Instruments Corporation. All rights reserved. MATLAB® is a registered trademark of The MathWorks, Inc. LabVIEW is a trademark of National Instruments. Other product and company names are trademarks or trade names of their respective companies.