Search found 12 matches

by Thor
Tuesday 01 April, 2014 - 15:22
Forum: Enterprise Dynamics Atoms
Topic: Advanced Transporter Operations Time
Replies: 7
Views: 7154

Re: Advanced Transporter Operations Time

Hi Nick, thanks for your reply. However, I'm not sure if the linked information is of any use for me as I do not use the experiment wizard. After a given time period, I write my data (tables) to excel via activeX. Then the simulation is restarted (via 4Dscript). I use the function TimeForStatus. In ...
by Thor
Monday 31 March, 2014 - 09:33
Forum: Enterprise Dynamics Atoms
Topic: Advanced Transporter Operations Time
Replies: 7
Views: 7154

Re: Advanced Transporter Operations Time

Ok, question 1 is solved. Concerning the memory. How can I make ED consume less memory? It appears that ED slows down significantly over time. After completion of a simulation (10 years of simulation time), I export the results into excel and then reset and start another run (different seed value) -...
by Thor
Thursday 27 March, 2014 - 09:31
Forum: Enterprise Dynamics Atoms
Topic: Advanced Transporter Operations Time
Replies: 7
Views: 7154

Re: Advanced Transporter Operations Time

Hi Nick, using the TimeForStatus function I experience difficulties: 1) Error: "Do" Invalid pointer operation: OnEntered at "Do": Read beyond End of File (Time For Status) 2) Error: Out of Memory Questions: - Does the history use a lot of memory and therefore I get this error? (M...
by Thor
Thursday 20 March, 2014 - 13:07
Forum: Enterprise Dynamics Atoms
Topic: Advanced Transporter Operations Time
Replies: 7
Views: 7154

Re: Advanced Transporter Operations Time

Thanks Nick! That'll work.
by Thor
Wednesday 12 March, 2014 - 17:07
Forum: Enterprise Dynamics Atoms
Topic: Advanced Transporter Operations Time
Replies: 7
Views: 7154

Advanced Transporter Operations Time

Hello, I want to keep record of the operations time of an advanced transporter that I control manually (i.e. auto load/unload is off and I only use the commands advancedtransporter_pickatom, ..._placeatom and ...setdestination). I cannot figure out how to obtain the time that the transporter is doin...
by Thor
Wednesday 12 March, 2014 - 16:42
Forum: Enterprise Dynamics 4DScript
Topic: AdvancedTransporter_PickAtom , picking up several atoms
Replies: 3
Views: 4499

Re: AdvancedTransporter_PickAtom , picking up several atoms

Hi Mikko, I believe the loopuntil will crash the program as it keeps calling the advanced transporter requesting pick-up of the product(s). What I did to solve a similar problem is to check for more products to load in the on entry trigger of the AD or on exit of the atom that contains your product....
by Thor
Monday 27 January, 2014 - 15:51
Forum: Enterprise Dynamics Atoms
Topic: Composition Container
Replies: 5
Views: 6860

Re: Composition Container

Hi Marlies, I want to place some code in the OnCreation Event handler of a composition container that I have created and imported to the library. The purpose is to set atom names and labels of (and within) the composition conatiner whenever I drag a composition container into the model. However, upo...
by Thor
Thursday 23 January, 2014 - 13:16
Forum: Modeling in Enterprise Dynamics
Topic: Event OnMessage
Replies: 4
Views: 4048

Re: Event OnMessage

Hi Marlies, thanks for the detailed explanation! I now understand a bit more about the different implications of OnEvent and OnMessage. The reason for the connections via channels and not with global functions is that I will duplicate (or better centuple) the complete setup within the model. Control...
by Thor
Wednesday 22 January, 2014 - 18:09
Forum: Modeling in Enterprise Dynamics
Topic: Event OnMessage
Replies: 4
Views: 4048

Re: Event OnMessage

Hi Marlies, many thanks for your quick reply! I believe I need to get acustomed to the debugger. Going through step by step I saw what you pointed out. If I see it correctly, the problem is the order of code execution after Unpack39. The product leaving channel 2 triggers the decrease of the value i...
by Thor
Wednesday 22 January, 2014 - 17:06
Forum: Enterprise Dynamics Atoms
Topic: Composition Container
Replies: 5
Views: 6860

Re: Composition Container

Hi Marlis,

Thanks for your reply! I retried the procedure and this time it worked properly. I don't exactly know what I did differently last time but the important thing is that it now works...

Best regards
Thorsten