Skip to content
Jim Kring edited this page Dec 6, 2018 · 8 revisions

What's New in JKI State Machine 2018

JKI State Machine 2018 adds significant performance improvements, an updated visual design, some minor new feature additions to the JKI State Machine built-in states/frames, the JKI State Machine Explorer window, and a host of LabVIEW right-click menu editor extensions (see below).

Download JKI State Machine 2018 today!

JKI State Machine

Editor Integration

Explorer Window

  • Launch the JKI State Machine Explorer window by Ctrl+ >> Ctrl+J (assuming you have a JKI State Machine on the block diagra)
  • Launch the JKI State Machine Explorer window by right-clicking on the JKI State Machine and choosing _JKI State Machine
  • Select an item in the tree to make that frame visible
  • Click back and forward to navigate the history
  • Drag and drop frames to reorganize the order
  • Right-click on items in the tree-view to rename, duplicate, delete, etc.
  • Right-click on a state string and choose Goto State Frame to jump to that frame of the JKI SM.
  • Right click on a state string or frame and choose Find Callers to find all callers of a state
  • Right-click on a bundle or unbundle by name and choose Find Data Accessors to find all accessors of the data. Explorer..._

Right-click directly on the JKI State Machine for Context Menu

  • Right-click on State Strings to Goto State, Find Callers, Explore States, etc.
  • Right-click on Unbundle By Name and Bundle By Name and choose Find Data Accessors to find Readers and Writers of cluster data
  • Add Dynamic Events
  • Much more.

Cosmetic Improvements

Support VIs and Palette icons

The support VIs have a new visual design that's a little easier on the eyes 2017-06-09_16-55-07

JKI State Machine

2017-06-09_15-20-46

  • Changed While Loop Label to JKI State Machine (4.0.0)

Performance Improvements

  • Major performance improvements to Support VIs ("Parse State Queue", "Add State(s) to Queue", and "Build State String with Arguments")
  • Parse State Queue is nearly 2x faster in basic testing
  • Support VIs are now configured for "Inline SubVIs into Calling VIs" and "Subroutine" priority to reduce memory footprint and execution time

Some Details on Improvements

  • Replaced instances of Trim Whitespace with direct calls to Match Pattern (effectively inlining Trim Whitespace)
  • Reduced the number of instances of Match Pattern called for certain operations
  • Testing for Empty String on inputs and avoiding calling code when not necessary (e.g. calls to Trim Whitespace on strings that are already known to be empty)

JKI State Machine Changes

  • Replaced deprecated FP.Open property with FP.State
  • Added new arguments to "UI: Front Panel State" (Open, Standard, Close, Closed, Hidden, Hide, Maximize, Maximized, Minimize, Minimized)

JKI State Machine Editor (LabVIEW IDE Integration)

Quick Tutorial Video

JKI State Machine Editor - Quick Tutorial

Usage

Key Features:

IMPORTANT: Right-click Menu Only Works for LabVIEW 2015 or newer, when the Shortcut Menu Plugins feature was first introduced to LabVIEW.

  • Select an item in the tree to make that frame visible in the Case/Event Structure of the JKI SM
  • Navigating the frames in the JKI State Machine will select that item in the Editor's tree view
  • Click the Back and Forward buttons to navigate the history (and Clear History button to clear)
  • Drag and drop frames in the tree to reorder them (drag a category devider to move the whole category)
  • Right-click on items in the tree-view to rename, duplicate, delete, etc.
    • Note that renaming a frame will rename all instances of it in the JKI State Machine.
  • Right-click on a state string and choose Goto State Frame to jump to that frame of the JKI SM.
  • Navigate the JKI State Machine frames by right-clicking on a state string. 2017-05-05_18-13-05
  • Right-click on Unbundle and Bundle by Name nodes and choose Find Data Accessors to show a dialog listing all frames that read or write to the cluster data element you right-clicked on.

Launching the JKI SM Editor UI

Launch it via the right-click:

  1. Inside of a JKI State Machine, right-click on a State String, Case Structure, or Event Structure and select JKI State Machine Editor...

Launch it via QuickDrop:

  1. Select a Case Structure or Event Structure
  2. Press Control+Space then Control+J

Acknowledgements

Download JKI State Machine 2018 today!