Cancel
Showing results for 
Search instead for 
Did you mean: 

SimTalk

Creator
Creator

Hi everyone,

   I encountered a very strange problem and I hope everyone can help me. See the annex for details.

捕获.PNG捕获1.PNG

7 REPLIES

Betreff: SimTalk

Phenom
Phenom

please post , on which object the triggering mu (@) is located

 

eg

.

.

print @.location

@.stopped:=true 

.

.

 

Betreff: SimTalk

Creator
Creator

Hi PHENOM,

 thank you.I don't understand what you mean. Can you explain the details?

Betreff: SimTalk

Creator
Creator

The strange thing is that no MU passes this sensor, but the function on this sensor is triggered.

Betreff: SimTalk

Phenom
Phenom

it looks like the mu is not on a length orientated object any more

 

With print @.location ( output is the console) I want to find out where the triggering mu is located.

 

 

@ The strange thing is that no MU passes this sensor, but the function on this sensor is triggered.

 

I don't think so

Betreff: SimTalk

Creator
Creator

Hello

The result of the print is:

.Models.Frame.jj3
Error in method '..Models.Frame.TwoLaneTrack2111.OnSensor5' in line 16: You can only stop/continue on a length-oriented object.
..Models.Frame.EventController: Events processed = 26139, Real-time factor = 621.4, CPU Time = 0.78s, Events/CPU second = 33511.32

捕获.PNG

Betreff: SimTalk

Phenom
Phenom
ok

and from what kind of class object was jj3 inherited ? ( what kind of object is it )

Betreff: SimTalk

Creator
Creator

it's Assembly.

thanks.