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.
Halt Limit

Sets the Halt Limit property to a value.

Example:

 Set End Point 1.Halt Limit = 1000

To turn off the Halt Limit, set the value to -1.

Example:

Set End Point 1.Halt Limit = -1

When 1000 items have entered the End Point the simulation will stop.

Image

Sets the image used for the End Point to any image located in the Graphics, Images menu option.

Example

 Set End Point 1.Image = "BlueB"

Where BlueB exists as an image. Note the Inverted Commas around the name of the image.

Index

Sets the Index number of the End Point to a value other than the default value.

Example

 Set End Point 1.Index = 5

Name

Allows the name of the End Point to be changed or accessed.

Example

 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.

Other Cost

This property can be utilised to add further cost details to your income statement.

Example

 Set End 1. Other Costs = ss_Cost[2,3]: sets an additional cost of the End Point to the Internal Spreadsheet cell
 into the Finance Report.

Other Revenue

This property can be utilised to add further revenue details to your income statement for an End Point.

Example

 Set End 1. Other Revenue = 6000: sets an additional revenue of 6000 at the time of execution to the Finance Report.

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

Example:

Set End Point 1.Results Collection Mode = 1

Selected

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.

Count Contents

Returns the number of items that have entered the End Point and hence exited the simulation.

Example:

 Set Var1 = End Point 1.Count Contents

In Count

Returns the number of incoming routes to the End Point.

Example:

 Set Var1 = End Point 1.In Count: Sets Var1 to the number routes that are connected to the End Point

Out Count

Returns the number of Outgoing routes from the End Point.

Example:

 Set Var1 = WorkComplete1.Out Count: Sets Var1 to the number routes that are connected from the End Point.

Lost Count

Returns the number of Work Items that have attempted entry but that were not able to enter.

Example:

 Set Var1 = End Point1.LostCount

Unique ID

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.

See Also