VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

add model, Error 1136

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!

0 Kudos
Message 1 of 10
(8,263 Views)

Hi,

 

Thanks you for your posting on National Instruments Forum.

 

What Veristand version are you using?

Brice S.
National Instruments France

0 Kudos
Message 2 of 10
(8,257 Views)

I use VeriStand2011 and MatLab R2011b

0 Kudos
Message 3 of 10
(8,254 Views)

Ok thanks you,

 

Tries to hide already added items. Don't save on this page.

Brice S.
National Instruments France

0 Kudos
Message 4 of 10
(8,236 Views)

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

0 Kudos
Message 5 of 10
(8,231 Views)

Can you send me your model?

Brice S.
National Instruments France

0 Kudos
Message 6 of 10
(8,228 Views)

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.

0 Kudos
Message 7 of 10
(8,226 Views)

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!

0 Kudos
Message 8 of 10
(8,206 Views)

I have the same problem, however I created the model in Labview 2012.

 

veristand_fail1.JPG

 

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:

 

Supported LabVIEW Data Types

Ensure that front panel controls or indicators assigned to the VI connector pane have only the following data types:

  • Numerics
  • Booleans
  • 1D arrays of numerics
  • 1D arrays of Booleans
  • Clusters containing the previous 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?

0 Kudos
Message 9 of 10
(7,703 Views)

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

Stephen B
0 Kudos
Message 10 of 10
(7,693 Views)