Opened 10 years ago

Closed 10 years ago

#3002 closed defect (invalid)

Impossible to graphically connect array connectors in OM.

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: normal Milestone:
Component: OMEdit Version: trunk
Keywords: Cc:

Description (last modified by massimo ceraolo)

This is somewhat related to #3001.

Consider the following model:

model M
  Modelica.Blocks.Sources.BooleanStep step[3]
    annotation (Placement(transformation(extent={{-80,0},{-60,20}})));
  Modelica.Electrical.Analog.Ideal.IdealOpeningSwitch sw[3] annotation (
      Placement(transformation(
        extent={{-10,10},{10,-10}},
        rotation=-90,
        origin={-26,10})));
  annotation (uses(Modelica(version="3.2.1")), Diagram(coordinateSystem(
          preserveAspectRatio=false, extent={{-100,-100},{100,100}}), graphics));
end M;

It should be possible to graphically connect the output of "step" with the control signal of "sw". However this appears to be not possible with graphical actions in the OMEdit diagram view.
The expected connect equation to be generated should be:

connect(step.y, sw.control)

that should be correct because both signals are array having size 3.

Change History (2)

comment:1 by massimo ceraolo, 10 years ago

Description: modified (diff)

THIS TICKET IS NOW INVALID (Works in r24013).
Sorry but I cannot set it as invalid by myself (don't know why)

Last edited 10 years ago by massimo ceraolo (previous) (diff)

comment:2 by Martin Sjölund, 10 years ago

Milestone: 1.9.2
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.