01-25-2017 10:03 AM
All the documenation that I can find shows using a discrete solver. Is this the only Simulink solver that is supported by NI VeriStand? (Note: I'm currently using 2013 SP1) This seems surprising to me considering that it is not unlikely to actually be rocket science.
I have actually found some models that we use that are using ODE and they appear to be running.
01-26-2017
06:05 PM
- last edited on
01-07-2025
12:30 PM
by
Content Cleaner
Hi NathanJD,
The steps for creating a Simulink model can be found here: http://www.ni.com/tutorial/13066/en/
You can also look in the manual: https://www.ni.com/docs/en-US/bundle/veristand/page/use-models-simulink.html
It doesn't seem to require a discrete solver but looking through older versions of the manual, it may be an issue for 2013: https://www.ni.com/docs/en-US/bundle/labview-model-interface-toolkit-api-ref/page/vsmithelp/mit_conv...
You can also check out this forum post which covers the topic in more detail:
https://forums.ni.com/t5/LabVIEW/Connecting-Simulink-Circuit-to-LABview-Controller/m-p/3313296
01-30-2017
09:29 AM
- last edited on
01-07-2025
12:33 PM
by
Content Cleaner
Thanks for the links. I eventually found where it actually says what is supported:
In the Simulink software, you can convert models that use only a fixed step-size ordinary differential equation (ODE) solver into compiled models. Additionally, you must turn off data logging in the Simulink application software. Refer to the Simulink documentation for information about using the Simulink application software to change the ODE solver of a model and turn off data logging.
I guess I found it strange that the official example explicitly says to use the discrete solver instead of something like "discrete or ODE solver" or "a supported solver as stated here".