You’re offline. This is a read only version of the page.
Skip to main content
Toggle navigation
Sign in
Home
Knowledge Base
Article
Article
Witness 27.0 Release Notes (all releases)
What’s new
Debugger:
Added resizable panes to allow resize of code, watch and local panes.
Single click in code pane margin to toggle breakpoints.
Added the up/down sort arrows to the watch expression and local panes and persist the sort order between debug sessions.
Labels for parameters in the locals window now appear in bold font.
Add watch expressions direct from the code window selected text with an add watch context menu item.
Watch expressions can now be edited in the watch panel using the standard second mouse click to ‘in place’ edit the expression.
Step Out jumps to the next statement in the calling action of the action block currently visible.
Added the accelerators for the debugger:
F5 continues executing the model in the current execution mode.
Use same Color Editor, Tab Size and Font settings in code window as Actions Editor.
Shift+F5 stops execution of the model.
Ctrl+Shift+F5 terminates the model run.
F9 toggles the breakpoint on the selected line of code (if one is selected).
F10 steps over the current line of code.
F11 steps into the current line of code.
Shift+F11 steps out of the current action block.
Stop & Detail stops the current debug session and jumps directly to the actions shown in the code window.
Distribute Horizontally / Vertically is now available alongside Align for graphics objects.
The version field in Model/Title now displays the version number the model was created in.
The Creation Date field on Model/Title has been renamed to Modified Date.
DTDeleteRow
deletes one or more data table rows.
DTSort
sorts a specified data table column in ascending or descending order.
Update Model Options to control the generation of journey logs.
Added Vehicle journey logs.
Added Path and Pseudo Path journey logs.
Used Report can be run for Actions.
Used Report shows Set for Functions and Actions that change elements.
Feature Improvements
Updated Experimenter so that it can reliably upload and download files of at least 20gb when running in the cloud (Witness io).
Functions
DTFindNum
,
DTFindStr
,
DTFindName
will not produce run-time errors when the data table is empty; instead, they will return 0 to indicate that the value was not found therefore removing the requirement to code that check in actions.
Functions
DTFindNum
,
DTMin
,
DTMax
,
DTMean
,
DTMode
and
DTStdDev
will not require data table instance number to be typed in for single-instance data tables.
Functions
AtState
,
FPUtil
,
FSUtil
,
PUtil
,
SUtil
will no longer report an error when invalid state is queried. This is to allow collection of data in
for
loops without the need of handling each element type differently.
Display item drawing mode (individual or grouped) button will indicate the current mode even if mode change is not permitted.
COM naming has been modified to be consistent.
27.0d
Highlight linked IF ELSE and FOR NEXT statement in Actions editor.
Update menus and keyboard shortcuts
Add keyboard shortcuts for Add Walk and Slow Motion Speed controls
Fixes
Used report references "Actions on Join" for Actions on Join in a Conveyor.
Used Report: Invoke the direct jump to actions.
Change Detail Properties order for Machine and Processor Start Actions to represent order of execution.
Element Tree/Model Assistant Ctrl-I shortcut works.
Vehicle explode reports did not show the full hierarchy in the Destination field.
Vehicle explode reports did not show the descriptive name in the Destination field.
Vehicle explode reports for Vehicle demand lists did not show the full hierarchy for the last entry in the Vehicle search at field.
Backdrop Icon has 3D Option.
Intellisense in text fields is disabled.
In actions/property edit mode, Ctrl-Click on the Element Tree inserts element name at the current cursor position and retains the focus in the action/property.
Display Properties popup editor commits droplist change.
Fluid Rules are Cloned with Machines.
Fix crash when setting diagonal queue offset to integer.
Prevent Experimenter from stopping when running replications on multiple cores and the license share count is less than the number of physical cores.
The property grid and GetXPosn and GetYPosn functions now return the location of the rear node on the first segment for a Path rather than the paths base position.
Align reverted to use first selected item as the position to align to.
Stop changing Layer losing the graphical selection outline.
The German Detail Properties toolbar button now displays a tooltip.
The Spanish Detail Properties toolbar button now displays a tooltip.
The Polish Descriptive Name toolbar button now displays a tooltip.
Update the Polish startup model so that Polish characters are displayed correctly in the interact box.
Speed up functions when called from Immediate Actions.
Stop Element properties from being changed while running.
Allow Labor to be set back to "Always available".
Fix Labor attach attribute explode report.
Tutorial Workbooks One and Two updated in line with Display and Detail Properties.
Display expressions now have correct context when validating, previously using element in a module failed.
Stop Designer Elements with modules duplicating themselves.
Fix issue with Witness Experimenter API (advanced mode), no longer fails adding parameters for non-English versions.
Use relative file paths in modules created from designer Elements modules.
27.0a
Stop crash when calling the PathLength() function with invalid parameter
WXM Files load correctly for continuous Conveyor sensors
Enabling either Path Logging or Pseudo-Path Logging won’t enable both
Fixed event scheduling for continuous conveyors with sensors when joined in a loop
Fixed ELEMENT not returning the member number for pipes and processors when used in rules and actions.
Fixed labor rules not being able to be saved
.
27.0b
Fixed issues with CreateFromDesigner causing crash when designer element will create more functions.
Stop Input rule with comments crashing Witness when used in multi-cycle machine.
Display full element path name in detail properties window.
Crash on file open with PUSH to Machine002(N)
NPARTS(Module01) includes parts on a child path
NPARTS(Module01) includes parts on a pseudo path between two child elements
An expression that calculates to a negative value for a cycle time at run time in a processor retains its value.
Fixed migration to version 25 where buffer input option is set to ‘By Attribute’ but the attribute is undefined: the option is changed to ‘Rear’ or ‘Front’ depending on the original sort order
27.0c
Fix an issue with flow through tanks with mixture rates causing a rounding error. This could cause the model to lock up in flow allocation.
Fix an issue where corruption of the string would occur in the prompt dialog.
27.0d
Fix tree multi selection when shift key is held during second selection, now selects those in between selection and shift clicked item.
Fix input and output rule comments occasionally moving to the first cycle in a multi-cycle machine. Now, comments added to the input and output rules for a multi-cycle machine will appropriately appear in the same cycle where they were added.
Fix input and output rule comments not moving up or down with the appropriate cycle when the ‘Move up’ or ’Move down’ buttons are used for the selected cycles. Now, moving a cycle up or down will appropriately move all the contents of the input and output rules, including the comments.
A comment that has been deleted from a machine input or output rule will successfully be deleted; it will no longer save to the model file and will not reappear upon loading the model file.
Added retry mechanism to Experimenter when running experiments with Witness io in the cloud. If a failure occurs while Experimenter is interacting with Witness io then the API call will be retried up to 5 times, with gaps of 5, 10, 15, 20 and 25 seconds between the retry attempts.
To provide context while debugging actions, when the execution is paused – after a step is executed or a breakpoint has been reached – and the next line of code is not fully visible, the debugger window will scroll:
placing the current line as close to the middle of the window as possible (if there are enough lines to fill the second part of the window), or
placing the current line in the lower part of the window, so the last line will appear at the bottom of the window reducing wasted space below. Please note that actions always contain a single empty line at the end.
Log status code when there’s a failure interacting with Witness io.
Fix issue when a statistics report on a data table with one million rows caused a crash.
Fix issue when a model with a large number of parts would crash.
Fix snapping behaviour for paths, tracks, and other elements with curved edges, to correctly snap to where the cursor was placed in the view when dragging from Designer Elements or when cloning an element. The curved edges of the path are ignored, allowing the path to be snapped perfectly into position.
Fix issue on Japanese Witness where protected modules could not be unlocked with the correct password.
Changed tree behaviour to not scroll away from last selected element when using the check box selection.
Fixed pasting element name into an active edit box when the element is clicked on the Element Tree. It was preventing the element from being copied by drag&drop mechanism.
Fixed reacting to Control key being pressed/released while dragging elements in Element Tree.
Fixed pipe contents occasionally not displayed, was length specific.
Fixed pipe outline display drawing incorrectly, sometimes gaps would appear in outline.
Fixed issue with detailed statistics for multi cycle machine logging block time against wrong cycle.
Fixed updating Selected Element/Recently Detailed box after an element is selected.
Fixed Selected Element/Recently Detailed box to display member number for individually displayed items.
Fixed issues with inserting a distribution via Insert with prompt option.
Improve the error logging for SETINFO when used with Witness Experimenter.
Support
See All Items
Post your comment: