Cancel
Showing results for 
Search instead for 
Did you mean: 

Display current speed of a transporter

Creator
Creator

Goodmorning all,

 

I want to use a Display to show the current speed of a particular transporter that is created upon the start of the simulation, on resetting the simulation, all MUs will be deleted.

Now, if I set up this Display before starting the simulation, it cannot display the transporters current speed because the transporter is not yet created and gives an error (VOID), when resetting the simulation, the error appears again because the transporter is deleted.

I want the display to show the current speed of the transporter only if this transporter exists? I can create a method for this but with the context help of plant simulation it is not clear how to let the display display the current speed of a transporter.

 

Thank you in advance!

 

Kind regards,

 

Niek

4 REPLIES

Re: Display current speed of a transporter

Phenom
Phenom

Through the transporter constructor / destructor controls you can set the

 

transporter current speed attribute in the display

 

or

 

switch the panel on /off

 

as soon as the transporter is inherited / deleted

Re: Display current speed of a transporter

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

here is an example with an init method

 

 

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Display current speed of a transporter

Creator
Creator

Thanks!

Re: Display current speed of a transporter

Creator
Creator
Thanks!