<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic 回复： Automotive Engine Simulation Library for HIL in Components</title>
    <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1444878#M578</link>
    <description>&lt;P&gt;Excuse me, I've just downloaded the custom device lib of Automotive Engine simulation. I found it should support Veristand 2009 and I wonder whether it is still compatible&amp;nbsp;in Veristand 2010 or is there any methed that we might use the lib in Veristand 2010?&lt;/P&gt;</description>
    <pubDate>Wed, 09 Feb 2011 02:43:04 GMT</pubDate>
    <dc:creator>molezhou</dc:creator>
    <dc:date>2011-02-09T02:43:04Z</dc:date>
    <item>
      <title>Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1015707#M300</link>
      <description>&lt;P&gt;&lt;SPAN class="noindex"&gt;&lt;FONT face="Arial" size="2" color="#5f5f5f"&gt;Please provide feedback, comments, and questions on&amp;nbsp;the &lt;BR /&gt;&lt;A href="https://forums.ni.com/t5/Archive-TKB/Automotive-Engine-Simulation-AES-Library-for-HIL/ta-p/3493605" target="_self"&gt;Automotive Engine Simulation (AES) Library for HIL,&lt;/A&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;A href="https://forums.ni.com/t5/Example-Code/HIL-Automotive-Engine-Simulation-Reference-Example/ta-p/3996074" target="_self"&gt;HIL Automotive Engine Simulation Reference Example, &lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;and&lt;/FONT&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt; &lt;A href="https://forums.ni.com/t5/NI-VeriStand-Add-Ons-Documents/NI-VeriStand-Add-on-Engine-Simulation-Custom-Device/ta-p/3511370" target="_self"&gt;NI VeriStand Add-on - Automotive Engine Simulation&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;in this thread &lt;/FONT&gt;&lt;/P&gt;
&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Daryl E on &lt;/SPAN&gt;&lt;SPAN class="local-date"&gt; 11-03-2009&lt;/SPAN&gt;&lt;SPAN class="local-time"&gt; 02:24 PM&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Jul 2025 18:44:55 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1015707#M300</guid>
      <dc:creator>DarylE</dc:creator>
      <dc:date>2025-07-23T18:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1054381#M334</link>
      <description>&lt;P&gt;Hi, I'm starting to work with the AES Add-on for Veristand and I need to modify the custom device in order to use a different R Series model, the PXI-7851R. I've downloaded the reference example and I have compiled the FPGA VI to the new target. Now, I need some help on how to integrate this modification to the custom device with no problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help is appreciated&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andre Pereira&lt;/P&gt;&lt;P&gt;Field Sales&lt;/P&gt;&lt;P&gt;NI-Brazil&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2010 16:33:19 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1054381#M334</guid>
      <dc:creator>andrepereira</dc:creator>
      <dc:date>2010-01-15T16:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1054471#M335</link>
      <description>&lt;P&gt;Hi Andre,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The custom device was created with the idea
that others may wish to extend it to use a variety of different FPGAs.
As you open the source code for the Engine Simulation Custom Device,
you'll find a Contros Virtual Folder under the &lt;SPAN style="font-style: italic"&gt;Engine Simulation Custom Device.lvlib&lt;/SPAN&gt;. Within this folder, you'll find a TypeDef for &lt;SPAN style="font-style: italic"&gt;FPGA Target.ctl&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/9267iED78965721801779/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="FPGA Target Enum.png" title="FPGA Target Enum.png" align="CENTER" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This
TypeDef is an Enum that allows you to select which FPGA target you wish
to run the custom device on. The first step will be to add an
additional item to this Enum for your FPGA Target (i.e. 7851R). At this
point, you'll be able to select the new FPGA target on the Main Page of
the custom device (&lt;EM&gt;Engine Simulation Main Page.vi&lt;/EM&gt;). &lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/9269iB6951E91ECAA6640/image-size/medium?v=mpbl-1&amp;amp;px=-1" border="0" alt="main page.png" title="main page.png" align="CENTER" /&gt; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you then open the &lt;SPAN style="font-style: italic"&gt;Engine Simulation RT Driver VI.v&lt;/SPAN&gt;, you'll see that the FPGA calls are all wrapped up in SubVIs (&lt;SPAN style="font-style: italic"&gt;Set FPGA Config&lt;/SPAN&gt;, &lt;SPAN style="font-style: italic"&gt;Run FPGA&lt;/SPAN&gt;, &lt;SPAN style="font-style: italic"&gt;Set FPGA Crank Cam Throttle&lt;/SPAN&gt;, &lt;SPAN style="font-style: italic"&gt;Set FPGA Outputs&lt;/SPAN&gt;, &lt;SPAN style="font-style: italic"&gt;Get FPGA Inputs&lt;/SPAN&gt;, and &lt;SPAN style="font-style: italic"&gt;Close FPGA&lt;/SPAN&gt;). In &lt;SPAN style="font-style: italic"&gt;Set FPGA Config.vi&lt;/SPAN&gt; you'll find that a case structure will execute the Open FPGA VI depending on which FPGA was selected in the &lt;SPAN style="font-style: italic"&gt;FPGA Target&lt;/SPAN&gt;
enum. At that point, the reference is written to a cluster that
contains an FPGA reference for every FPGA Target type that was included
in the &lt;SPAN style="font-style: italic"&gt;FPGA Target&lt;/SPAN&gt; enum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to adapt the custom device to your 7851, &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;You will have to add a case in &lt;SPAN style="font-style: italic"&gt;Set FPGA Config.vi&lt;/SPAN&gt; for the 7851. I suggest duplicating one of the pre-existing cases. &lt;/LI&gt;&lt;LI&gt;Then you can configure the &lt;SPAN style="font-style: italic"&gt;Open FPGA Reference&lt;/SPAN&gt; to use the bitfile created for your 7851. I suggest binding it to a TypeDef. &lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;Note
that there's a bug in #179896 LabVIEW 2009 that will cause the TypeDef
created by the Open FPGA Reference to be empty and unusable. In order
to work-around this issue, point the Open FPGA Reference node to an
already-existing .ctl that has a control on its front panel. It's
important that a control already exist within the .ctl file.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Then you will need to modify the &lt;SPAN style="font-style: italic"&gt;FPGA Ref Cluster.ctl&lt;/SPAN&gt; TypeDef to include the TypeDef for the 7851 Reference.&lt;/LI&gt;&lt;LI&gt;Within the &lt;SPAN style="font-style: italic"&gt;Set FPGA Config.vi&lt;/SPAN&gt;'s case for the 7851, make sure you connect the FPGA Reference to the new reference for the 7851 within the FPGA Ref Cluster.&lt;/LI&gt;&lt;LI&gt;Modify the &lt;SPAN style="font-style: italic"&gt;Run FPGA&lt;/SPAN&gt;, &lt;SPAN style="font-style: italic"&gt;Set FPGA Crank Cam Throttle&lt;/SPAN&gt;, &lt;SPAN style="font-style: italic"&gt;Set FPGA Outputs&lt;/SPAN&gt;, &lt;SPAN style="font-style: italic"&gt;Get FPGA Inputs&lt;/SPAN&gt;, and &lt;SPAN style="font-style: italic"&gt;Close FPGA&lt;/SPAN&gt; VIs to add cases for the 7851.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;IMG src="http://forums.ni.com/t5/image/serverpage/image-id/9272iE5E4B04A19AAA9FE/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="Set FPGA Config.png" title="Set FPGA Config.png" align="CENTER" /&gt;&lt;BR /&gt;
Figure: Set FPGA Config.vi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2010 18:39:54 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1054471#M335</guid>
      <dc:creator>griffindore</dc:creator>
      <dc:date>2010-01-15T18:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1054472#M336</link>
      <description>&lt;P&gt;I forgot to add one last final step:&lt;/P&gt;&lt;P&gt;You must then build the Configuration and Engine Build Spefications found in the project.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2010 18:41:31 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1054472#M336</guid>
      <dc:creator>griffindore</dc:creator>
      <dc:date>2010-01-15T18:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1198773#M474</link>
      <description>&lt;P&gt;I'm from PTTPLC. Could you give us any idea to simulate crank and cam in variable reluctance&amp;nbsp;form ?&lt;/P&gt;
&lt;P&gt;Or do you have any plan to develop them to your libraries ? Our engine have 36-2 crank and n+1 cam&lt;/P&gt;
&lt;P&gt;(4 piston then 5 cam) as in attached. Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Shinapat Rhienprayoon&lt;/P&gt;
&lt;P&gt;PTTPLC&lt;/P&gt;
&lt;P&gt;&lt;A href="mailto:shinapat.r@pttplc.com" rel="nofollow" target="_blank"&gt;shinapat.r@pttplc.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jul 2010 07:38:50 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1198773#M474</guid>
      <dc:creator>zazamee</dc:creator>
      <dc:date>2010-07-29T07:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1211329#M475</link>
      <description>&lt;DIV style="color: #333333; font-family: Arial; font-size: 13px; background-color: #ffffff; line-height: 15px; font-weight: normal; background-image: none; background-attachment: initial; background-origin: initial; background-clip: initial; background-repeat: no-repeat no-repeat; padding: 5px; margin: 0px;"&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;Hi Shinapat,&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;I do have plans to develop variable reluctance simulation for crank. Unfortunately I do not have anything currently ready.&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;I can certainly help with some ideas though. This solution isn't flexible in a general use case which is the reason why I haven't implemented it yet, but you could create look-up tables (LUT 1D) from those waveforms captured in your screenshot and then cycle through the look-up tables according to the crank angle (0-360) for crank simulation and adjusted crank angle (0-720) for cam simulation.&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;I'd like to do something similar to the above suggestion, except just have one waveform that I cycle through for each tooth. This is much more complex because I'd have to keep track of where my teeth are in relation to the crank angle and then correspond the tooth to a waveform instead of corresponding the entire crank or cam to a waveform.&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;My understanding is that most people typically only care about the 0V crossing between peak and valley so you could also rig up the current implementation of Hall-Effect sensor simulation to output between a positive and negative voltage. A VR Sensor also crosses 0V at the middle of a tooth, so the Hall-Effect output would also need to be phase shifted to account for this difference. Of course this won't provide the nice sinusoidal looking output, but it ultimately depends on what the ECU is actually checking.&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;If you'd like to discuss this in more detail, feel free to email me at mike.lyons@ni.com.&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 0px; margin: 0px;"&gt;Regards,&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Aug 2010 16:55:52 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1211329#M475</guid>
      <dc:creator>griffindore</dc:creator>
      <dc:date>2010-08-10T16:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1254956#M499</link>
      <description>&lt;P&gt;I have a litte Problem with the behaviour of the example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I used it as it is, but removed everything but the cam/crk generation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As soon I press the start button it is deployed and visually&amp;nbsp;running, but at the output of the 9401 nothing happens.&lt;/P&gt;
&lt;P&gt;Then I press stop, and start it again ... nice, it is running an generating a nice crk/cam Signal.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I disconnect it from the power line, it is redeployed and again needs 2 times to start it up,&lt;/P&gt;
&lt;P&gt;from then its working without any problem until the next power off/on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Why this strange behaviour?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I added a 2sec delay to the fpga to give the cam-fifo a little mit more time to fill, but sadly this didn`t help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks a lot&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;</description>
      <pubDate>Tue, 21 Sep 2010 10:15:02 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1254956#M499</guid>
      <dc:creator>marty102</dc:creator>
      <dc:date>2010-09-21T10:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1297196#M530</link>
      <description>&lt;P&gt;Hi Martin,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I apologize for the delayed reply. It's possible that you're needing to re-deploy twice after the power cycle because the FPGA is not having its reference closed properly. I would recommend properly stopping the application and restarting it without a power on/off to see if you still get the same behavior. I did not experience anything like this in my testing. This sounds like an issue with LabVIEW FPGA/Real-Time and not specific to the reference example code so I would recommend contacting your local support resource.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would strongly recommend against the 2 sec delay you added to the cam FIFO loop. This could cause problematic behavior since the crank will be running for those 2 seconds. The code was designed to prime the FIFO before running the FPGA. Also the FIFO will be in the read state until it receives all the expected cam angles.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2010 16:36:54 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1297196#M530</guid>
      <dc:creator>griffindore</dc:creator>
      <dc:date>2010-11-01T16:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1297202#M531</link>
      <description>&lt;P&gt;This is a notification that the device connections for the NI 9474 module for both the reference example and the NI VeriStand custom device were incorrect. Pin 4 is actually populated with Cam4Out and pins 5-7 are populated with 12VPWMOut1-3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2010 16:38:15 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1297202#M531</guid>
      <dc:creator>griffindore</dc:creator>
      <dc:date>2010-11-01T16:38:15Z</dc:date>
    </item>
    <item>
      <title>回复： Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1444878#M578</link>
      <description>&lt;P&gt;Excuse me, I've just downloaded the custom device lib of Automotive Engine simulation. I found it should support Veristand 2009 and I wonder whether it is still compatible&amp;nbsp;in Veristand 2010 or is there any methed that we might use the lib in Veristand 2010?&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2011 02:43:04 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1444878#M578</guid>
      <dc:creator>molezhou</dc:creator>
      <dc:date>2011-02-09T02:43:04Z</dc:date>
    </item>
    <item>
      <title>回复： Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1444946#M579</link>
      <description>&lt;P&gt;The version posted is for NI VeriStand 2009. Each version of NI VeriStand is bound to the corresponding version of LabVIEW. Therefore, if you'd like to upgrade it to VeriStand 2010, you can open the source code in LabVIEW 2010 and rebuild the source distributions. NI VeriStand 2010 will mutate the XML. When opening the source code, you will notice that the FPGA references that are bound to type defs use absolute paths so those will need to be updated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You're in luck because the custom device was very recently upgraded to NI VeriStand 2010 and is currently available at &lt;A href="ftp://ftp.ni.com/outgoing/Engine Simulation.zip" target="_self" rel="nofollow"&gt;ftp://ftp.ni.com/outgoing/Engine Simulation.zip&lt;/A&gt;. This file will only be available on the FTP for a very short time (few days). I will not be posting it online because I am currently working on a new paradigm for the Engine Simulation Custom Device for NI VeriStand 2010 and beyond. I am hoping to provide a beta version of the new custom device to interested customers within the next week or two. If you email me at &lt;A href="mailto:mike.lyons@ni.com" target="_self" rel="nofollow"&gt;mike.lyons@ni.com&lt;/A&gt;&amp;nbsp;I can provide this to you when it's available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regads,&lt;/P&gt;</description>
      <pubDate>Wed, 09 Feb 2011 04:17:29 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1444946#M579</guid>
      <dc:creator>griffindore</dc:creator>
      <dc:date>2011-02-09T04:17:29Z</dc:date>
    </item>
    <item>
      <title>回复： Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1502184#M589</link>
      <description>&lt;P&gt;Hi everybody,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm working with Engine Simulation Cutom Device but I'm using 2010 version of Veristand so I've done the rebuild for source code. It seems to work but when I try deployng the project to my PXI System this error appears:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="_mcePaste"&gt;Error 1003 occurred at Project Window.lvlib:Project Window.vi &amp;gt;&amp;gt; NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;Possible reason(s):&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;LabVIEW: &amp;nbsp;The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File&amp;gt;&amp;gt;Open to open the VI and then verify that you are able to run it.&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;=========================&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;NI VeriStand: &amp;nbsp;Open VI Reference in NI VeriStand Engine.lvlib:Open Custom Device Driver VI Reference.vi-&amp;gt;NI VeriStand Engine.lvlib:Launch Asynchronous Custom Device.vi-&amp;gt;NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi-&amp;gt;NI VeriStand Engine.lvlib:VeriStand Engine.vi-&amp;gt;NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi&amp;lt;APPEND&amp;gt;&lt;/DIV&gt;
&lt;DIV id="_mcePaste"&gt;VI Path: c:\ni-rt\VeriStand\Custom Devices\Engine Simulation\Engine Simulation Engine.llb\Engine Simulation RT Driver VI.vi&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Error 1003 occurred at Project Window.lvlib:Project Window.vi &amp;gt;&amp;gt; NI_VS Workspace ExecutionAPI.lvlib:NI VeriStand - Connect to System.vi&lt;BR /&gt;Possible reason(s):&lt;BR /&gt;LabVIEW: &amp;nbsp;The VI is not executable. Most likely the VI is broken or one of its subVIs cannot be located. Select File&amp;gt;&amp;gt;Open to open the VI and then verify that you are able to run it.=========================NI VeriStand: &amp;nbsp;Open VI Reference in NI VeriStand Engine.lvlib:Open Custom Device Driver VI Reference.vi-&amp;gt;NI VeriStand Engine.lvlib:Launch Asynchronous Custom Device.vi-&amp;gt;NI VeriStand Engine.lvlib:VeriStand Engine State Machine.vi-&amp;gt;NI VeriStand Engine.lvlib:VeriStand Engine.vi-&amp;gt;NI VeriStand Engine.lvlib:VeriStand Engine Wrapper (RT).vi&amp;lt;APPEND&amp;gt;VI Path: c:\ni-rt\VeriStand\Custom Devices\Engine Simulation\Engine Simulation Engine.llb\Engine Simulation RT Driver VI.vi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I opened the indicated library&amp;nbsp;&lt;EM&gt;Engine Simulation Engine.llb &lt;/EM&gt;&amp;nbsp;and I've found this error in the VI&amp;nbsp;&lt;EM&gt;Set FPGA Config.vi &lt;/EM&gt;which is inside the VI indicated as broken &lt;EM&gt;Engine&amp;nbsp;Simulation RT Driver VI.vi&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;Maybe the problem is about the VI refernce path but it seems to me it's correct.&lt;/P&gt;
&lt;P&gt;Can anybody help me???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2011 16:00:33 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1502184#M589</guid>
      <dc:creator>Elvio</dc:creator>
      <dc:date>2011-03-28T16:00:33Z</dc:date>
    </item>
    <item>
      <title>回复： Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1502200#M590</link>
      <description>&lt;P&gt;I would expect the problem to be caused by the TypeDefs corresponding to the FPGA References. LabVIEW has some weird pathing problems with that, and I think they are saved as absolute paths. You can update it in the Open FPGA Reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I strongly recommend against using the old version of the Engine Simulation Custom Device with NI VeriStand 2010 or newer. You can find a completely revamped and new custom device for Engine Simulation at&amp;nbsp;&lt;A href="http://decibel.ni.com/content/groups/engine-simulation-2010-beta" rel="nofollow" target="_blank"&gt;http://decibel.ni.com/content/groups/engine-simulation-2010-beta&lt;/A&gt;. You'll need to request to join the group before getting access to the new custom device.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2011 16:07:08 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1502200#M590</guid>
      <dc:creator>griffindore</dc:creator>
      <dc:date>2011-03-28T16:07:08Z</dc:date>
    </item>
    <item>
      <title>回复： Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1502286#M591</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Request done.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Mar 2011 16:35:50 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1502286#M591</guid>
      <dc:creator>Elvio</dc:creator>
      <dc:date>2011-03-28T16:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1741694#M753</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to use an engine model built in MATLAB along with the AES library for interfacing to build an EMS HIL system. I have tried to use simulink interface toolkit to establish the connection. However I am aiming at running the engine model on the RT controller of PXI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am unable to integrate the SIT generated code to my AES library in a way to run both on the same RT controller. Has any one tried this. Or any one knows how to connect the MATLAB model to the AES library in a better way.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2011 08:22:05 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1741694#M753</guid>
      <dc:creator>aksgoel</dc:creator>
      <dc:date>2011-10-17T08:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1846473#M770</link>
      <description>&lt;P&gt;aksgoel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that is possible and one of the primary goals of this library. However it takes a lot of programming and experience to accomplish this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;instead, I recommend using NI VeriStand with the engine simulation custom device.&amp;nbsp;&lt;A href="https://forums.ni.com/t5/NI-VeriStand-Add-Ons-Documents/NI-VeriStand-Add-on-Engine-Simulation-Custom-Device/ta-p/3511370" target="_blank" rel="noopener"&gt;https://forums.ni.com/t5/NI-VeriStand-Add-Ons-Documents/NI-VeriStand-Add-on-Engine-Simulation-Custom-Device/ta-p/3511370&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;that will implement all the model running and fpga interfacing rt code for you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2025 18:45:44 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1846473#M770</guid>
      <dc:creator>StephenB</dc:creator>
      <dc:date>2025-07-23T18:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1847121#M771</link>
      <description>Hi Stephen,</description>
      <pubDate>Mon, 23 Jan 2012 10:26:15 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1847121#M771</guid>
      <dc:creator>Gaurav_Singla</dc:creator>
      <dc:date>2012-01-23T10:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1847159#M772</link>
      <description>&lt;P&gt;Hi Stephen,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm Gaurav.&amp;nbsp; I and Vijay have taken over the work started by Akshay Goel. We deployed the Custom Device of Engine Simulation library you had given us and we are able to view the Injecor and ignition start angles in veristand GUI, but we are&amp;nbsp; not able to understand&lt;/P&gt;
&lt;P&gt;what is the reference for these angles – is it power TDC or exhaust TDC and whether it is before or after TDC and whether the rotation is clockwise or anticlockwise. For eg , we gave the following inputs-&lt;/P&gt;
&lt;P&gt;We entered the injector start angle in our controller to be 378 deg before power TDC.So it generates the injector pulses accordingly, but the output which we are&lt;/P&gt;
&lt;P&gt;getting in veristand is 500 deg and 140 deg( it keeps switching between&lt;/P&gt;
&lt;P&gt;these values).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;We would like to know what is the reference for these angles&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1.Before or After Power TDC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.Before or After Exhaust TDC.&lt;/P&gt;
&lt;P&gt;Does the Crank wheel rotate clockwise or Anti-clockwise?&lt;/P&gt;
&lt;P&gt;Following are the inputs to Custom Device GUI&lt;/P&gt;
&lt;P&gt;no of teeth :36&lt;/P&gt;
&lt;P&gt;no of missing teeth: 2&lt;/P&gt;
&lt;P&gt;Pos of missing teeth after TDC : 225( The crank sensor in our engine is situated in such a way that, it detects Power TDC of 1&lt;SUP&gt;st&lt;/SUP&gt; cylinder 135 degrees after it detects the missing teeth when the crank is rotating in anticlockwise direction. Therefore the offset for the next Missing Pulse after TDC when it is rotating in the same direction is 225 degrees.).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also in the labview model it expects 2 values&lt;/P&gt;
&lt;P&gt;&amp;nbsp; a.Nteeth.crank.Missingteeth.Offset&lt;/P&gt;
&lt;P&gt;&amp;nbsp; b.Nteeth.crank.TDC.Offset&lt;/P&gt;
&lt;P&gt;but through veristand we are entering only the offset between missing teeth and&lt;/P&gt;
&lt;P&gt;TDC. Will it calculate both these values with the one value we enter in the GUI.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Gaurav&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2012 11:03:22 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1847159#M772</guid>
      <dc:creator>Gaurav_Singla</dc:creator>
      <dc:date>2012-01-23T11:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1847655#M773</link>
      <description>&lt;P&gt;Hi Gaurav,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to hear you have been making progress and you can see data inside NI VeriStand. I'll try to answer you questions here, but if I don't answer them clearly... please let me know so we can be sure to resolve this as much as possible.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Angle reference "is it power TDC or exhaust TDC"&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;The simulation doesn't make a distinction between "power" and "exhaust". It simply simulates the waveforms and captures event inputs... if the waveform is supposed to be "power" or "exhaust" in your application is up to you.&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Angle reference "whether it is before or after TDC"&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;The angles are in reference to angle 0 of the crank/cam... and this custom device considers angle 0 as TDC. So if the pulse is seen from angle 212 to angle 215 your start angle is 212, end angle is 215 and angle duration is 3.&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI&gt;Angle reference "whether the rotation is clockwise or anticlockwise"&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;The angle simulation starts at 0 and increases to 720 or 360 before rolling over back to 0. The angle simulation is done by the Angle Processing Unit (APU) and the 0-360 degree value is output with the name "APU.Cycle Angle" and the 0-720 value is output with the name "APU.Crank Angle". Wether this is clockwise or anticlockwise is up to you in your application. Just define the teeth with whatever your perspective is. (General note, the 0-720 and 0-360 values are named crank and cam just because that is the general use case.... but you can use these values however you want)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My questions/comments to you:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Check the waveforms with an oscilliscope and make sure they are OK. I've seen issues before where a pull up/down resistor was needed depending on the NI IO used and the ECU.&lt;/LI&gt;
&lt;LI&gt;Check the injector signals with an oscilliscope and make sure they aren't noisy. If they are noisy... use the "# of cycles to filter" input on the event subVI in your FPGA code. The units are "cycles" of the FPGA loop... which goes at 40 MHz so this will be a large value if you want to enable filtering.&lt;/LI&gt;
&lt;LI&gt;I assume you are using the Fully Custom Teeth with the 0-720 degree signal (Default name: Cam) as the reference for your ECUs injectors? I say this because you state your controller is setup to inject at 378 degrees before power TDC. Are you sure this is wired correctly?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 23 Jan 2012 17:27:01 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1847655#M773</guid>
      <dc:creator>StephenB</dc:creator>
      <dc:date>2012-01-23T17:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automotive Engine Simulation Library for HIL</title>
      <link>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1847679#M774</link>
      <description>&lt;P&gt;Correction, I had my nouns backward:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;"APU.Cycle Angle" is 0 - 720&lt;/LI&gt;
&lt;LI&gt;"APU.Crank Angle" is 0 - 360&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 23 Jan 2012 17:42:54 GMT</pubDate>
      <guid>https://forums.ni.com/t5/Components/Automotive-Engine-Simulation-Library-for-HIL/m-p/1847679#M774</guid>
      <dc:creator>StephenB</dc:creator>
      <dc:date>2012-01-23T17:42:54Z</dc:date>
    </item>
  </channel>
</rss>

