12-20-2011 07:20 AM
Hi,
if I try to add my MatLab model to Veristand, after "OK" in dialog "Add Simulation Model", I get this error:
"
Error 1136 occurred at Nœud de propriété (arg 1) dans Tree.lvlib:Highlight Item.vi->Tree.lvlib:Add Items to System Framework Tree.vi->System Explorer Framework.lvlib:Communication_UserEvent.vi->System Explorer.lvlib:System Explorer.vi->System Explorer.lvlib:System Explorer Wrapper.vi->System Explorer.lvlib:System Explorer Wrapper.vi.ProxyCaller
Possible reason(s):
LabVIEW: Vous avez transmis un tag d'élément non valide à une propriété ou une méthode d'une commande arbre.
"
I dont realy understand why, can someone help me to resolve this?
thx!
12-20-2011 07:57 AM
Hi,
Thanks you for your posting on National Instruments Forum.
What Veristand version are you using?
Brice S.
National Instruments France
12-20-2011 08:00 AM
I use VeriStand2011 and MatLab R2011b
12-20-2011 09:21 AM
Ok thanks you,
Tries to hide already added items. Don't save on this page.
Brice S.
National Instruments France
12-20-2011 10:15 AM
Thank you for answer!
I created new project and try just to add model, there arent other items.
after adding model with file dialog, I click OK in "add simulation model" window and after that the error appears.
sorry i cant attach images
12-20-2011 10:35 AM
Can you send me your model?
Brice S.
National Instruments France
12-20-2011 10:47 AM
I'm afraid it is not possible to send you this model.
The model works fine in Matlab/Simulink, I will try to add other model to look if I will receive same error.
12-21-2011 06:44 AM
I think I know the source of error.
My model has as entries bus signals and some of them have dimension 1000 (it works fine for simulink), if I reduce dimension to 100 the error doesnt appear.
What would be best solution for this?
thenk you!
07-26-2013 07:36 AM
I have the same problem, however I created the model in Labview 2012.
The model has one 1D Array of Double Outport and one 1D Array of Double Inport. When I remove these ports, the model is accepted without problems.
But in VeriStand's Help is written that it is possible to use models with arrays of numbers:
Ensure that front panel controls or indicators assigned to the VI connector pane have only the following data types:
If you use an unsupported data type, LabVIEW returns an error when you try to convert the VI to a compiled .lvmodel. Note controls and indicators not assigned to the connector pane can have other data types because these objects are not part of the compiled model.
The dll is generated without problems but is not supported by VeriStand 2012.
And now, someone could help me?
07-26-2013 10:49 AM
You must set the size of the arrays by initializing their data to some size and then right clicking them and selectiong Data Operations -> Make Current Value Default