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: 

Python api for controlling simulink models

Hi, I am trying to use the veristand python API to control my simulink model which i uploaded on veristand 2018 SP1, and I'm unable to find any resources on this. I tried to follow the engine demo example and make my own script to control my model but I get unexpected results so I'm not sure if I'm doing anything wrong. The documentation does not have any specific examples. Thanks in advance.

0 Kudos
Message 1 of 2
(1,210 Views)

Hi,

here is a general article which might be useful. 
https://www.ni.com/en-us/innovations/white-papers/09/using-ni-veristand-with-other-software-environm...

 

Here is some information about how to use Python with NI Veristand:

https://www.ni.com/en-us/support/documentation/supplemental/16/python-resources-for-ni-hardware-and-...

There you can also find a link to this page:

http://pythonnet.sourceforge.net/readme.html

Hope this helps

 

0 Kudos
Message 2 of 2
(1,161 Views)