End Point Properties
The End Point properties that are available through the Visual Logic Set Value editor are listed below.
Read and Write Properties
These are properties that can have their values read as well as you being able to assign new values to them.
Sets the Halt Limit property to a value.
Set End Point 1.Halt Limit = 1000
When 1000 items have entered the End Point the simulation will stop.
Sets the image used for the End Point to any image located in the Graphics, Images menu option.
Set End Point 1.Image = "BlueB"
Where BlueB exists as an image. Note the Inverted Commas around the name of the image.
Sets the Index number of the End Point to a value other than the default value.
Set End Point 1.Index = 5
Allows the name of the End Point to be changed or accessed.
Set End Point 1.Name = "Change the Name"
Changes the name to whatever is inside the inverted commas
Set Var1 = End Point 1.Name: sets a text Global Data Item to contain the name of the End Point.
Results Collection Mode:
The object property Results Collection Mode allows control over the collection of results for specific object through Visual Logic.
1 = Results Collection on
0 = Results Collection off
Set End Point 1.Results Collection Mode = 1
Sets whether the End Point is selected onscreen or not.
1 = Selected
0 = Not selected
Set End Point 1.Selected = 0
Read Only Properties
These are properties that you can only read the value of, you cannot change their value.
Returns the number of items that have entered the End Point and hence exited the simulation.
Set Var1 = End Point 1.Count Contents
Returns the number of incoming routes to the End Point.
Set Var1 = End Point 1.In Count: Sets Var1 to the number routes that are connected to the End Point
Returns the number of Outgoing routes from the End Point.
Set Var1 = WorkComplete1.Out Count: Sets Var1 to the number routes that are connected from the End Point.
Returns the number of Work Items that have attempted entry but that were not able to enter.
Set Var1 = End Point1.LostCount
Gets Simul8's internal Unique Number that identifies every object - you can be sure it is different for all objects. It never changes once an object is in a simulation.