📄 readme.html
字号:
<li><strong>Multi-rate Simulations</strong>—SIT 3.0 supports preemptive multi-rate execution on NI FPGA devices and CAN interfaces.</li>
</ul>
<h2><a name="rt support"></a>Support for Real-Time Targets</h2>
<p class="Body">The LabVIEW Simulation Interface Toolkit supports running a simulation on the following types of National Instruments RT Series Hardware.</p>
<ul>
<li><strong>PXI/PCI</strong>
<ul>
<li>NI PXI-8145</li>
<li>NI PXI-8146</li>
<li>NI PXI-8156B</li>
<li>NI PXI-8170</li>
<li>NI PXI-8175</li>
<li>NI PXI-8176</li>
<li>NI PXI-8184</li>
<li>NI PXI-8186</li>
<li>NI PXI-8187</li>
<li>NI PXI-8196</li>
<li>NI PCI-7041. Refer to the <em>Known Issues</em> section of this document for information about using the PCI-7041 in a real-time simulation.</li>
</ul></li>
<li><strong>FieldPoint</strong>
<ul>
<li>NI FP-2010</li>
<li>NI FP-2015</li>
<li>NI cFP-2010</li>
<li>NI cFP-2020</li>
</ul></li>
<li><strong>CompactRIO</strong>
<ul>
<li>NI cRIO-9961</li>
</ul></li>
</ul>
<p class="Body">The Simulation Interface Toolkit 3.0 ships with FPGA VIs for the following FPGA devices:</p>
<ul>
<li>NI PCI-7811R</li>
<li>NI PXI-7811R</li>
<li>NI PCI-7813R</li>
<li>NI PXI-7813R</li>
<li>NI PCI-7831R</li>
<li>NI PXI-7831R</li>
<li>NI PCI-7833R</li>
<li>NI PXI-7833R</li>
<li>NI cRIO-9103</li>
</ul>
<h2><a name="help"></a>Accessing the Help and Examples</h2>
<p class="Body">Access the <em>Simulation Interface Toolkit Help</em> by launching LabVIEW and selecting <strong>Help»Simulation Interface Toolkit Help</strong> from the pull-down menu. This help file contains concepts, procedures, and VI reference information to help you use the Simulation Interface Toolkit.</p>
<p class="Body">The LabVIEW Simulation Interface Toolkit examples are located in the <span id="Monospace">labview\examples\Simulation Interface\</span> directory.</p>
<h2><a name="upnotes"></a>Upgrading from SIT 2.0.x</h2>
<p class="Body">Compared to SIT 2.0.<em>x</em>, SIT 3.0 represents an improvement in the process of configuring and running a simulation. For example, you now build driver VIs using the <strong>SIT Connection Manager</strong> dialog box, not the MATLAB application software. National Instruments recommends you refer to the tutorials in the <em>Simulation Interface Toolkit How-To</em> book of the <em>Simulation Interface Toolkit Help</em> before using SIT 3.0.</p>
<ul>
<li>If you load a host VI saved in SIT 2.0.<em>x</em> and launch the <strong>SIT Connection Manager</strong> dialog box, SIT 3.0 prompts you to convert the host VI from 2.0.<em>x</em> format to 3.0 format. The conversion process preserves control/indicator mappings and all block diagram code SIT 2.0.<em>x</em> did not generate. The conversion process does not preserve any edits you made to the block diagram code SIT 2.0.<em>x</em> generated. If the path to the model is invalid, SIT 3.0 prompts you to specify a valid path.</li>
<li>SIT 3.0 does not convert driver VIs that SIT 2.0.<em>x</em> generated. You must rebuild driver VIs for use in real-time simulations.</li>
<li>The Simulation Interface Toolkit 3.0 deprecates the following VIs: SIT Start Server, SIT Step Model, SIT Stop Server, SIT Wait for Run Command, SIT Finalize Model (No Server), SIT Initialize Model (No Server), SIT Map Model Parameters, SIT Set Model Parameters (No Server), SIT Get Error, SIT Register, SIT Unregister, and SIT Write to RT.</li>
<li>The Simulation Interface Toolkit 3.0 relies heavily upon the <strong>SIT Connection Manager</strong> dialog box. National Instruments recommends you use this dialog box to create host VIs and driver VIs.</li>
</ul>
<h2><a name="installation"></a>Installation/Upgrading Instructions</h2>
<p class="Body">Complete the following steps to install the LabVIEW Simulation Interface Toolkit 3.0.</p>
<ol>
<li>Insert the LabVIEW Simulation Interface Toolkit 3.0 CD.</li>
<li>Run the <span id="Monospace">setup.exe</span> program.</li>
<li>Follow the instructions that appear on the screen.</li>
</ol>
<h2><a name="notes"></a>Development Tips</h2>
<ul>
<li>If you installed the LabVIEW 7.1.1 maintenance release, you must mass compile the following:
<ul>
<li><span id="Monospace">labview\project\sitwiz.llb</span></li>
<li><span id="Monospace">The labview\vi.lib\addons\Simulation Interface\</span> directory</li>
</ul></li>
<li>By default, DAQmx scripted code assumes measurements are differential. To change to reference single-ended (RSE) measurements, find the DAQmx Create Virtual Channel VI, which is called as a subVI from the driver VI, and select <strong>RSE</strong> for the <strong>input terminal configuration</strong> control.</li>
<li>Driver VIs running on FPGA devices use the hardware settings for channel measurements.</li>
<li>For all supported NI FPGA devices, driver VIs assume pulse-width modulation (PWM) input channels have a period greater than 1 KHz. <strong>Workaround:</strong> Change the default values of the <strong>_timeout</strong> controls of the FPGA VI and recompile the FPGA VI. The new value is (40 MHz / <em>w</em>), where <em>w</em> is the actual frequency of the PWM input channel. The FPGA VIs are located in the <span id="Monospace">labview\vi.lib\addons\Simulation Interface\_IOTypes\NI FPGA\FPGA IO VIs\</span>directory.</li>
<li>For real-time simulations using LabVIEW 7.1.1, complete the following steps to improve Ethernet performance on a closed/private network using crossover cables.
<ol>
<li>Open an FTP connection to the RT target and download the <span class="Monospace">c:\ni-rt.ini</span> file to the host.</li>
<li>Edit the <span id="Monospace">ni-rt.ini</span> file and add <span id="Monospace">SendBufferSize = 65535</span> under the <span id="Monospace">[lvrt]</span> section. This number equates to a 64KB buffer size. You may experiment using other buffer sizes with a minimum of <span id="Monospace">1024</span> and a maximum of <span id="Monospace">65535</span>.</li>
<li>Upload the edited <span id="Monospace">ni-rt.ini</span> file back to the RT target and reboot the controller.</li>
<li><strong>Built-in Ethernet Port:</strong> If using the built in ethernet port of a PXI or CVS real-time controller, then you must set the controller to use half-duplex mode for communication.
<ol>
<li>Launch National Instruments Measurement & Automation Explorer (MAX).</li>
<li>Expand the <b>Remote Systems</b> category.</li>
<li>Select the RT Target.</li>
<li>Select <b>Advanced Ethernet Settings</b>.</li>
<li>Set <b>Duplex</b> to <b>Half</b>.</li>
</ol>If you are using LabVIEW 7.1, you only can set the controller to use half-duplex mode for communication.</li></li></ol>
<li>To create a driver VI using PCI FPGA devices inside the host computer, you manually must execute <span id="Monospace">NIVisaServer.exe</span>. To execute this program, launch MAX, right-click the <strong>NIVisaServer.exe</strong> item from the <strong>My System»Software»NI-VISA</strong> tree, and select <strong>Launch NIVisaServer.exe</strong> from the shortcut menu. After you execute this program, PCI FPGA devices appear in the <strong>Configure FPGA Devices</strong> dialog box when you create a driver VI.</li></ul>
<h2><a name="known"></a>Known Issues</h2>
<p class="Body"><strong>Installation</strong></p>
<ul>
<li>If you are using the MATLAB® application software release 13.0, SIT 3.0 might not install the necessary support files. <strong>Workaround:</strong> Run the SIT 3.0 installer again, choose to install MATLAB Support and the MATLAB application software release 13 support, and specify the path on your hard drive to the MATLAB application software release 13.</li>
<li>If you installed the MATLAB application software files as read-only, the SIT Server does not start automatically and you cannot place a SignalProbe block in the Simulink window. You must modify the <span id="monospace">startup.m</span> file in order to make these changes. Refer to the <em>Communicating with the SIT Server</em> topic in the <em>Simulation Interface Toolkit Help</em> for information about making these changes.</li>
</ul>
<p class="Body"><strong>General</strong></p>
<ul>
<li>If you select custom signals to log in the <strong>Datalogging Settings</strong> dialog box and then close the dialog box, the signals tree does not automatically highlight the signals you selected. This same issue occurs if you map more than one model signal to a host VI indicator.</li>
<li>You cannot build an executable from the host VI.</li>
<li>The target model of a model reference block cannot contain a SignalProbe block. Placing a SignalProbe block in a target model prevents the simulation from running.</li>
<li>If you do not specify any signals to probe, SIT 3.0 does not return the current simulation time in the <strong>Simulation Details</strong> dialog box.</li>
<li>SIT 3.0 returns error <span id="Monospace-Bold">–14103</span> if you use non-English regional settings or if you use a comma as the decimal separator when specifying a double-precision number. <strong>Workaround:</strong> Launch the Windows Control Panel and double-click the <strong>Regional and Language Options</strong> icon. On the <strong>Regional Options</strong> page, select <strong>English (United States)</strong> from the pull-down list in the <strong>Standards and formats</strong> section.</li>
<li>Waveform charts might scroll incorrectly to a slightly different time than the end time of the simulation. For example, the chart might display <span id="Monospace-Bold">299.90</span> instead of <span id="Monospace-Bold">300.00</span>. This is an issue with the LabVIEW chart. <strong>Workaround:</strong> Enter the correct end time into the scale of the chart to show the appropriate data.</li>
<li>Using more than one XY graph on the front panel of the host VI causes unexpected results.</li>
<li>If you run a simulation more than once, an XY graph does not clear between runs.</li>
<li>LabVIEW 7.1.<em>x</em> contains a known issue that affects host VIs. If you minimize a host VI window that contains a chart, the chart might display erroneous lines after you restore the host VI window.</li>
</ul>
<p class="Body"><strong>Real-Time Simulations</strong></p>
<ul>
<li>The sub VIs of the driver VI are reentrant. If you directly are running a driver VI while LabVIEW is targeted to RT, you must abort the driver VI to stop the driver VI. The stop button for the driver VI is on the base rate loop subVI. However, because that VI is reentrant, you cannot press the stop button. <strong>Workaround:</strong>Make the base rate loop subVI non-reentrant for debugging purposes.</li>
<li>SIT 3.0 cannot probe signals from top-level model inputs with spaces in the names.</li>
<li>If you create mappings between a model DLL and only AI or only AO channels on a DAQ device, the driver VI returns error <span id="Monospace-Bold">–200429</span>.</li>
<li>The NI PCI-7041 does not have a separate IP address. To connect a host VI with the SIT Server running on a NI PCI-7041, you must start the driver VI on the NI PCI-7041 using either of the methods described in the <em>Building a Driver VI Startup Application</em> or <em>Downloading the Driver VI using the LabVIEW Real-Time Module</em> topics of the <em>Simulation Interface Toolkit Help</em>. Using the RT Proxy Watcher utility, you must determine the port to which the NI PCI-7041 virtual FTP port is mapped on the host computer. Refer to the NI Developer Zone, located at <a href="http://www.ni.com/zone">ni.com/zone</a>, for information about the RT Proxy Watcher. Enter <span id="Monospace">Obtaining LabVIEW Real-time Proxy Port Mappings</span> in the <strong>Search</strong> field to search for information about the RT Proxy Watcher.</li>
<li>If you are using the NI cRIO-9103 FPGA device and you have only one customized FPGA VI in the appropriate directory, you cannot select that FPGA VI from the <strong>Add FPGA Device</strong> dialog box. <strong>Workaround:</strong> Copy the shipping cRIO-9103 FPGA VI out of the directory, and copy the custom FPGA VI into that directory.</li>
</ul>
<hr>
<p class="Body">© 2002–2006 National Instruments Corporation. All rights reserved.</p>
<p class="Body">MATLAB®, Real-Time Workshop®, and Simulink® are the registered trademarks of The MathWorks, Inc. Further, other product and
company names mentioned herein are trademarks, registered trademarks, or trade names of their respective companies.</p>
<p class="Body">LabVIEW™, National Instruments™, NI™, ni.com™, NI-CAN™, NI-RIO™, and NI-DAQmx™ are trademarks of National Instruments Corporation. For patents covering National Instruments products, refer to the appropriate location: <strong>Help»Patents</strong> in the software, the <span id="monospace">patents.txt</span> file on your CD, or <span id="monospace">ni.com/patents</span>. You are only permitted to use this product in accordance with the accompanying license agreement. All rights not expressly granted to you in the license agreement accompanying the product are reserved to NI. Further, and without limiting the forgoing, no license or any right of any kind (whether by express license, implied license, the doctrine of exhaustion or otherwise) is granted under any NI patents or other intellectual property right of NI with respect to any other product(s) of NI or of anyone else (including without limitation, the Simulink and the Real-Time Workshop products of The MathWorks, Inc.), including without limitation, the right to use any of these other products.</p>
<p class="Body">Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software only to reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -