Opened 12 years ago

Closed 12 years ago

#1965 closed defect (fixed)

TriggeredSampler model doesn't switch properly

Reported by: Peter Junglas Owned by: Willi Braun
Priority: high Milestone: 1.9.0
Component: Backend Version: trunk
Keywords: Cc:

Description

In the model TestTriggeredSampler1 a TriggeredSampler is triggered when the Clock reaches the (integer) value 2, i.e. at time 1.5. But its output doesn't change.

The model TestTriggeredSampler2 uses an integer step instead of the clock - this works.

I'm using MSL 3.2.1 and OpenModelica1.9.0 Beta2 (r14139)

Attachments (2)

TestTriggeredSampler1.mo (2.3 KB ) - added by Peter Junglas 12 years ago.
TestTriggeredSampler2.mo (2.1 KB ) - added by Peter Junglas 12 years ago.

Download all attachments as: .zip

Change History (4)

by Peter Junglas, 12 years ago

Attachment: TestTriggeredSampler1.mo added

by Peter Junglas, 12 years ago

Attachment: TestTriggeredSampler2.mo added

comment:1 by Willi Braun, 12 years ago

Owner: changed from probably noone to Willi Braun
Status: newassigned

Is raised by the same issue as #1959.

Last edited 12 years ago by Willi Braun (previous) (diff)

comment:2 by Willi Braun, 12 years ago

Resolution: fixed
Status: assignedclosed

fixed in r14235.

Note: See TracTickets for help on using tickets.