01-13-2012 07:40 AM
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?
01-13-2012 09:47 AM
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:
01-13-2012 10:59 AM
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.
01-13-2012 01:04 PM
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.
01-13-2012 01:10 PM
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).
You can do phone or email
08-10-2012 08:40 AM
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
08-10-2012 08:52 AM
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/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.
08-10-2012 09:25 AM - edited 08-10-2012 09:29 AM
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