VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a limit of NI VeriStand Inports and Outports that can be used in a simulink model?

I was trying to Add Simulation Model to my project. The model has 178 Inports and Outports inclusive (66 Inports and 112 Outports). I am referring to the NI Veristand Inport and Outport that can be added to the model from the Simulink Library.

 

When I add this model into the the project only 79 ports are added. 66 Inports and only 13 Outports. Is there a limit on number of inports and outports that Veristand can handle?

0 Kudos
Message 1 of 11
(7,562 Views)

Arunhcs,

 

I'm not sure what the limitation is on inports and outports that can be imported into VeriStand (hopefully someone posts this info), but I'm wondering if the reason your model has so many is due to the fact that your simulink model has vectors that are being flattened to scalers when imported into VeriStand.  VeriStand's default setting is to convert these vectors to scalers.  If this is the case then you might consider changing this setting in VeriStand when you import the model.  Here is a screenshot of how to do this:

 

Import model setting.jpg

0 Kudos
Message 2 of 11
(7,558 Views)

Thanks Todd.

I tried this out but it had the same result. Only 79 ports were added.

0 Kudos
Message 3 of 11
(7,552 Views)

There isn't a limit. Something must be going wrong...

 

Would it be possible for you to post your DLL and MDL? At a minimum.. the DLL.

Stephen B
0 Kudos
Message 4 of 11
(7,548 Views)

Hi Stephen,

 

Thank you very much for the reply. I would not be able to post the mdls here but I can send it to you over e-mail.

 

Regards,

Arun

0 Kudos
Message 5 of 11
(7,542 Views)

Arun,

 

Can you open a service request with our engineering team to do that? They will then have this request tracked through their support data base and can better handle it than I personally can (travel, etc).

 

www.ni.com/support

 

You can do phone or email

Stephen B
0 Kudos
Message 6 of 11
(7,539 Views)

I have the same problem, with NI veristand 2011, The model Simulink is composed by more 150 input and ouput, and each port (input and ouput) are not only 1 dimensions. if I delete some input in the model, Veristand can correctly import, but not with all inputs and outputs. Can you help 

0 Kudos
Message 7 of 11
(7,278 Views)

Greetings,

 

This happens becaue there is a limit on the total number of characters as a path string Veristand can import.

 

for eg if there are two inputs

/controller/My_model/First_variable

/controller/My_model/Second_variable then this would account as 35+36 = 71 characters.

 

There are three possible solutions that worked for me:

 

1. Convert the model into a s-function or dll and then import. All the varibles will get imported.

2. If making the model into s-function or dll isnt an option then you can split the model into smaller models and then import them

3. If that is not an option either then you would have to reduce the number of characters by shortening the variable name, sub system names, model names etc etc.

 

Hope this helps.

 

Cheers,

Arun

                                        

0 Kudos
Message 8 of 11
(7,275 Views)

ok thanks ,  do you know what  the limit is ?  I use a script to spilt some buses, and that will me more easier to find an ohter way if I know the limit .

thanks again for your help

 

0 Kudos
Message 9 of 11
(7,272 Views)