Search found 362 matches

by HarryBunnik
Friday 04 June, 2021 - 15:52
Forum: Enterprise Dynamics 4DScript
Topic: reading content in queue every minute
Replies: 2
Views: 11290

Re: reading content in queue every minute

Hi Isa, There are a few options to do create a trigger every 60 seconds. The first one is to create a small model Source - Sink to the side where the source is releasing every 60 seconds a product and to use the entry trigger of the Sink to execute the command. The second one, which is a more advanc...
by HarryBunnik
Tuesday 12 January, 2021 - 08:35
Forum: Modeling in Enterprise Dynamics
Topic: Customer orders to take products from a warehouse
Replies: 3
Views: 12772

Re: Customer orders to take products from a warehouse

Hi Sebastian, I think that you don't need something special to deal with the products in the warehouse, outside an indicator which product belongs to which order (for instance by assigning a label to the product). Then in the Queue strategy of the Warehouse, you'll have to sort the products in the w...
by HarryBunnik
Monday 07 December, 2020 - 13:42
Forum: Modeling in Enterprise Dynamics
Topic: 2 transporters dependent on 1 operator
Replies: 3
Views: 12452

Re: 2 transporters dependent on 1 operator

Hi Michael, We've been struggling a bit with your question, hence the long response time, since this is not one of the things that is easily doable with the standard atoms (as you already concluded yourself). Network with Advanced Transporter.mod In the added model (with thanks to Marlies), when a p...
by HarryBunnik
Tuesday 01 December, 2020 - 09:43
Forum: Modeling in Enterprise Dynamics
Topic: 2 transporters dependent on 1 operator
Replies: 3
Views: 12452

Re: 2 transporters dependent on 1 operator

Hi Michael,

We have seen your question, but as you already wrote, this is not something that is standard possible. We are trying to find of a way, while using standard atoms, to make this work, but this takes a bit longer.

Gr, Harry
by HarryBunnik
Wednesday 25 November, 2020 - 13:23
Forum: Enterprise Dynamics 4DScript
Topic: Check if Queue is empty
Replies: 2
Views: 11980

Re: Check if Queue is empty

Hi David, To see how many products are in a queue (or regardless what atom), you can request the content. So Content(c) will return the number of products in the c urrent atom (c). But when I read your goal, I'm wondering if the MultiService atom is not more what you want to use (Library tree => Pro...
by HarryBunnik
Tuesday 24 November, 2020 - 10:18
Forum: Enterprise Dynamics 4DScript
Topic: Automating experiments on different models
Replies: 4
Views: 13162

Re: Automating experiments on different models

Hi Creator0822, To see an overview of the attributes defined either have a look in the atom editor (Ribbon: Tools, 5th icon from the left). This will show a more advanced overview of the library and the model tree. Here there is a tab named attributes, which gives per atom an overview of all attribu...
by HarryBunnik
Monday 23 November, 2020 - 08:38
Forum: Enterprise Dynamics 4DScript
Topic: Automating experiments on different models
Replies: 4
Views: 13162

Re: Automating experiments on different models

Hi Creator0822, Yes, that is possible. You can get the current run that the experiment wizard is in, using the following line of code: Att([CurRun], refExperimentSupport) So by checking in which run you are, you can multiply the inter-arrival time: Do( var([valBasicTime], vbValue, 10), valBasicTime ...
by HarryBunnik
Friday 20 November, 2020 - 16:31
Forum: Enterprise Dynamics 4DScript
Topic: How to define global variables?
Replies: 2
Views: 12021

Re: How to define global variables?

Hi Creator0822, You can define global variables using Dim and local variables using Var . So in code that would be something like: Do( Dim([valinterArrivalTime], vbValue, 10), .... ) And I would locate them on an initialize atom (Library => Tools => Initialize). That way you can be sure that it is a...
by HarryBunnik
Friday 25 September, 2020 - 16:56
Forum: Enterprise Dynamics Atoms
Topic: A Movie Creator
Replies: 22
Views: 87955

Re: A Movie Creator

The size of the videos produced by codecs Xvid MPEG-4 and x264vfw are much lower than the current approach (10 minute movie with a frame rate of 30fps, inter frame time of 0.1 sec. and a resolution of 1600 × 900 pixels: Codec: Microsoft Video 1: 2900 MB x264vfw : 13 MB Lagarith lossless : 1800 MB Xv...
by HarryBunnik
Thursday 24 September, 2020 - 17:44
Forum: Enterprise Dynamics Atoms
Topic: A Movie Creator
Replies: 22
Views: 87955

Re: A Movie Creator

Already since some time the movie creator is part of the standard library of Enterprise Dynamics and has shown it use. Unfortunately, the standard codecs that are provided by Windows are outdated. In the past we always advised to record in uncompressed frames, which however results in very large fil...