From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Does solver-type matter when compiling a Simulink model to dll for NI Veristand?

Solved!
Go to solution

Greetings,

 

I need to generate a dll from a Simulink model, which will then be imported into Veristand. Does anyone happen to know what impact the solver-type has when compiling the Simulink model?

 

The instructions at the below link say to set the solver options to Fixed-Step with a discrete solver (no continuous states).

http://zone.ni.com/reference/en-XX/help/372846G-01/veristand/convert_model_to_dll/

 

However, these later instructions don't mention using a discrete solver:

http://zone.ni.com/reference/en-XX/help/372846M-01/veristand/convert_model_to_dll/

 

The current model I'm working with has some continuous states, so I can't use the discrete solver, but I'm wondering what influence the solver actually has on the dll that is generated.

 

Relevant Info:

Windows 7 64-bit

Veristand 2016

Matlab/Simulink 2016a

 

Thanks for any info,

 

-Rene-

0 Kudos
Message 1 of 3
(2,233 Views)
Solution
Accepted by topic author rcrete85

Hey Rene,

 

As long as the stop time is set to inf and the type is fixed-step, you can select any of the available solvers. The instructions from the VeriStand documentation is accurate.

 

Nice catch. It looks like we updated the VeriStand documentation but not the LabVIEW MIT information. I will file a Corrective Action Request to get it updated in a future release. 

 

Thanks,

Andy

Product Support Engineer

Message 2 of 3
(2,206 Views)

Excellent, thanks for the clarification!

 

-Rene-

Message 3 of 3
(2,199 Views)