VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to find model inputs and outputs on a simulink model

I am developing an auto connect tool using Python and a .NET framework that let's me use the c# commands within python. The tool will connect channels between Simulink models and IO cards once those two have been loaded into veristand via system definition file. I was able to find documentation on how to load my system definition containing the models and the IO but I can't find documentation on how to find the corresponding input and output channels in these models and IO. My question is, after having defined my system definition, having found my targets, having found my models, how do I find the imports and outports in the models. Thanks

0 Kudos
Message 1 of 2
(114 Views)

See Retrieve All VeriStand System Definition Channels Without Deploying as a reference to get the list of channels from the System Definition file using C#.

 

For Python, most likely you can combine GetModelList() and GetSystemNodeChannelList(name). Reference: Legacy API — niveristand-python 3.1.0 documentation

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 2
(90 Views)