VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

SimLink DLL, real time, and VeriStand

My co-worker has some SimLink model.  I read that I can get the SimLink coder to compile the model into DLL and use it with VeriStand.  I plan to run the model in a 10kHz timed loop. I have the following questions.

 

- Is it possible to use the DLL with the real time module without Veristand?  Can I archive 10kHz with that?

- Is buying the SimLink coder the only way to compile a SimLink model into DLL?  SimLink coder is pretty expensive, so I am trying to find another way.

-  How does VeriStand, Real time module, and DLL work together?

 

 

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 2
(5,389 Views)

Could you tell us what software versions you are working with? Also what hardware you are working with. Pharlap targets can work with DLLs, but VxWorks targets cannot. This KnowledgeBase should tell you which Real-Time OS your system is running. This KnowledgeBase can help you determine if your DLL is compatible with LabVIEW Real-Time. The rate is going to be dependent on what code you are executing within your DLL, I can't guarantee or deny that you will be able to run at 10 kHz. 

 

Your second question may be better addressed by The MathWorks, Inc. I found this article on their site (external link) which talks about creating a DLL using the coder. There is this National Instruments Developer Zone: Tutorial that discusses creating a simulation DLL and does not directly mention the coder, but the features described in the article may imply use of the coder.

 

Your final question is very broad, and could be answered a number of different ways. Do you have a particular part of the process you wanted to know more about, or is there a particular part that concerns you? 

 

Simulink®,is a registered trademark of The MathWorks, Inc.

Miles G.
National Instruments
Staff Applications Engineering Specialist
Message 2 of 2
(5,371 Views)