If you run the simulation with just this Visual Logic code it will behave as it did without Work center 4 because the label will always be 1 (= go to destination 1).Ĭlick the right mouse button again (in the Visual Logic code window) and add an IF line. We are now back in the formula editor but this time we want a value. Now click the double click right hand side of the SET dialog. We want to set ROUTE TO TAKE - so double click it and then click OK. You can set Labels, Global data (variables) and other changeable data here. The first thing to do is set the Label to the default value (1 = go to Queue for Work Center 2).Ĭhoose SET… from the menu when you click RIGHT. This Visual Logic will be obeyed whenever a Work Item finishes its work at Work Center 1.Īs the window says, click the RIGHT mouse button (in the window) to start adding Visual Logic. Now we have a blank window into where we can enter Visual Logic. Now we have to add the Visual Logic code to set the Label to either: 1 (go to the first destination in the above list) or 2 (go to the second destination in the above list).Ĭlick the On Work Complete button (you may need to click on the more button). In the Label dialog click NEW to create a new label and type in its nameĬlick OK several times to get back to the main screen.Ĭlick on Work Center 1 and change its routing out to “Label” and set the required label to “Route to take” in the DETAIL button. Go to the Data & Rules tab and enter the detail dialog for Labels.Īdd a label and call it “Route to take” - we are going to use “Label Routing out” of Work Center 1. Specifically, if there are less than 3 items waiting for Work Center 3, and there is a queue at Work Center 2, then we will send work to Work Center 4 instead of 2. We are going to send work to Work Center 4 from Work Center 1 when there is not much work waiting at the important Work Center (3) but only if Work Center 2 is getting a behind with its work (there is a queue of work at it). Work Center 3 is very expensive and so needs to be highly utilized so Work Center 2 will be supplemented with additional help but we will only use this when it would be useful to do so.Ĭopy Work Center 2 and its Storage Bin (drag a box around the bin and the Work Center, then drag the box while holding down the control key on the keyboard).
The example is a process where a standard facility is supplemented by a back up facility at busy times.Īnd change the processing time at Work Center 2 to 11 minutes.
It gives detailed instructions about how to input and edit Visual Logic.
(If you need Visual Logic, you can download it by clicking on ) Note: If you happen to have a USB thumb drive, you can save both the Visual Logic executable and your VLSig file on the thumb drive and then you can run Visual Logic directly from the thumb drive. When you run Visual Logic, you will be asked to browse to your VLSig file. What do I do with it?Ĭapital Fm Brain Game Question. What's wrong? You may have to rebuild the VB.NET solution before it will execute on a.NET Framework machine. When exporting my Visual Logic program to Visual Basic.