Software projectsRequest access ↗
AV Tools
JHERB LABS / LOGICSTRY / USER GUIDE

Logicstry.
From first project to export.

Offline Crestron logic generation, reference simulation, and editable SIMPL+ module exports.

Windows x64 · 1.0.0Updated November 19, 2026
01 / Logicstry

Quick Build

  1. On the landing page, describe a supported task and choose Interpret. You can also search or select a template directly. The offline recognizer suggests a template and extracts supported settings. The fields below the template determine what gets generated.
  2. Edit the configuration and select Review configuration. Use Logic Overview, Inputs & Outputs, Wiring Guide, and Validation to inspect the draft. Editing a field invalidates that review.
  3. Select Generate module to open the generated code. Save the module to preserve its editable configuration. Reopening a Quick Build project restores the form. The existing Module Builder tools can edit the generated module independently. Reviewing and generating again creates a new module from the form.
  4. Use Export → Export package for the SIMPL+ source, editable project, signal map CSV, wiring guide, logic flow SVG, structured specification, reference test specification, and static validation report.
PatternConfiguration and behavior
Exclusive source selectorSet 2–8 sources and whether to provide a power-off reset. The module exposes one select input and maintained active output per source, plus an analog index. Startup and optional reset clear the selection to zero.
Power sequencingSet the delay between two maintained startup outputs. Power off cancels a pending second stage and drops both outputs in reverse order.
Press versus press-and-holdSet threshold and pulse width in 10 ms steps. A release before threshold emits the short pulse. At or after threshold, the module emits the long pulse once per press.
InterlockChoose active-high or active-low inhibit. Permitted follows a maintained Request only while Inhibit is inactive.
Analog scalingSet unsigned input and output endpoints from 0 to 65,535. Input min must be below input max. Output endpoints may be equal. Values outside the input range clamp to the corresponding output endpoint. Interior values use integer arithmetic rounded down.
Timed shutdownSet a 10–600,000 ms delay in 10 ms steps. Power_On asserts enable and cancels a pending countdown. Start_Shutdown arms the countdown, and Cancel_Shutdown clears it. Repeated starts keep the original deadline while a countdown is pending.

Try Interlock with active-low inhibit, Scale an analog input from 1,000–4,000 to 10–100, or Timed shutdown after 1.5 minutes. The offline interpreter supports spelled numbers for common durations and explicit unsigned range pairs. When a prompt omits an option, confirm the draft fields before generating.

Quick Build test specs describe expected transitions in the reference model. Editing the generated logic can require a manual test plan. A reference trace and a successful compile are separate from verification on hardware.

02 / Logicstry

Room Builder

  1. Open Room Builder → Equipment and enter a room name and processor model. Switcher, touchpanel, audio DSP, and other equipment are optional entries in the wiring guide.
  2. In Sources & displays, enter 1–8 sources and 1–4 displays, one per line. The list order sets the source indices and the display startup order.
  3. In Behavior, name the module and set the display spacing. Use 0 for immediate enables or 10–60,000 ms in 10 ms steps for staggered startup. Choose whether Power Off should clear the selected route.
  4. Select Review room, inspect Logic Overview, Inputs & Outputs, and Wiring Guide, then Generate room module. Save the project to reopen the form with the same settings. Export → Export package writes the same eight deliverables as Quick Build, including the room inventory and wiring instructions.

Each source has a select input and an active output. The analog route index starts at zero and is updated on source selection. Sources can be preselected while displays are off. Power On enables the first display immediately and spaces subsequent enables by the configured interval. Power Off cancels pending enables and clears display requests in reverse order without a shutdown delay. Connect the display enable outputs to your existing device-driver logic. These outputs express desired power. Use the driver's feedback for confirmed power and readiness.

Room projects use schema v6 and retain the .logicforge.json extension. Older projects keep their original v1–v5 formats. Equipment names document the installation. Choose the processor family in the SIMPL+ Editor when compiling.

03 / Logicstry

Logic Simulator

  1. Generate or reopen a Quick Build or Room Builder module. Open Simulator from the sidebar.
  2. In Signals, select a digital input and use Press and Release, or enter a value in an analog-scaling project and choose Set analog. The table shows current inputs and outputs.
  3. Enter an elapsed duration and select Advance ms, or use Next timer to jump to the next pending event. The virtual clock uses 10 ms steps. Timers due at an input's timestamp run first. Event history lists startup, input edges, output transitions, and timer scheduling, cancellation, and firing.
  4. In Timing tests, select a built-in case and run it from startup, or Save run as test to record the current inputs, observation time, and expected transitions in a separate JSON file. Use Open timing test to load a saved case for the same module, then run it. A mismatch identifies the first differing transition. Reset run starts a fresh simulation. Leaving the Simulator ends the current session.

The simulator covers generated Quick Build and Room Builder behavior, including source routing, staggered power, press duration, interlock, analog scaling, and timed shutdown. Hand-edited logic, arbitrary diagrams, protocol behavior, and actual Crestron runtime timing are outside its scope. Runs and test files are separate from saved projects.

04 / Logicstry

Logic Explorer

  1. Select Logic Explorer → Add files to inspect one or more .logicforge.json projects and .usp files. Select a row in Modules to scope the results to that file. All modules removes the scope. Clear inventory empties only the session's inventory.
  2. In Signals, search by name, type, direction, module, or description. Search terms can be combined, for example display output. Select Map selected signal to show that signal's direct relationships within the selected file.
  3. In Dependencies, inspect the origin, relationship, target, and location. Project rows identify saved actions, graph wires, protocol mappings, or press gestures. Source rows identify line numbers for supported event triggers, signal references, local routine calls, and library directives.

Explorer leaves the working project and inspected files unchanged. Source results are lexical inferences from the visible source. Conditional compilation, macro expansion, library resolution, and native SIMPL Windows program wiring are outside this analysis. The source reader supports UTF-8, BOM-marked UTF-16, and Windows-1252 fallback, with a 4 MiB file limit and a 200,000-token source limit. Crestron SIMPL+ module structure

05 / Logicstry

Create a module in Module Builder

  1. Choose Module Builder or start with New. In Logic Library, search by template name or category, preview source, and choose Use template. Quick Build library entries open the configuration form. The four original module templates open as editable projects.
  2. In Module Builder, give the module an identifier. In Signals, add digital, analog, or string inputs and outputs. Set a byte capacity for string inputs and string parameters.
  3. In Parameters, add integer or string parameters. Configure their values on the module instance in SIMPL Windows.
  4. Set up behavior in Logic diagram, Event actions, RS-232, or TCP/IP. Give each diagram and protocol output a single owner.
  5. Review Generated SIMPL+ and Validation & export. Save a .logicforge.json project, then use Export source to create a unique folder with .usp, project JSON, and validation.txt. The Signals page also exports CSV.

Built-in templates

TemplateInterface and use
Power toggleConnect a momentary button to Power_Tap and use the maintained Power_State feedback.
Press and holdConnect Hold_Button. Held asserts after 0.50 seconds, then clears on release. Edit the duration on the delayed action.
Exclusive source selectionWire two digital selection buttons and use Selected_Source as the analog route selection. Set PC_Source and Bar_Source on the SIMPL symbol, for example to 1 and 2.
Serial relayWire Serial_In, Serial_Out, and Enable for gated forwarding. Configure Command_Text on the symbol and pulse Send to transmit it on Serial_Out. Wire the device transport separately in SIMPL.

Build a logic diagram

  1. Declare signals and parameters on their own pages. In Logic diagram, choose a node type and select Add node. Use Properties → Apply to bind signal and parameter nodes or change a numeric setting.
  2. Drag cards to arrange them. Click a node’s right port, then a matching left port. Port labels show the type. Scroll the canvas when the destination is offscreen. Press Esc to cancel a pending connection. Select a wire and use Remove to disconnect it. Removing a node also removes its attached wires.
  3. For an interlocked request, bind two Signal input nodes to digital signals and connect them to Request and Inhibit on an Interlock node. Connect its output to a Signal output node bound to a digital output. The generated program asserts the output while the request is high and inhibit is low.
  4. Save the project to preserve node positions, bindings, settings, and wires. Logicstry opens existing .logicforge.json projects and preserves their formats. Original Quick Build templates use v5, Room Builder uses v6, and the three v0.9 Quick Build templates use v7.
NodeBehavior
Signal input, Parameter, Signal outputRoute a declared digital, analog, or string value. Integer parameters use analog ports.
AND, OR, NOT, InterlockCompute digital logic. Interlock passes a request while inhibit is low.
Analog ≥, Scale analogCompare unsigned analog values, or scale 0–65,535 to 0–the configured maximum using integer division.
Select digital, Select analog, Select stringRoute True or False based on a digital condition.
Toggle, Pulse, DelayDrive a digital output directly. Toggle latches on a rising edge. Pulse drives a timed assertion on a rising edge. Delay asserts after the input stays high for the configured time, and cancels or clears when the input falls. Timing is in hundredths of a second.

Graph outputs reevaluate when a connected input changes. Digital and analog outputs also evaluate at startup, so an initially high trigger can start a timed node or latch a toggle. A string output with input dependencies emits on those input events, including updates to inactive branches of a selector. A parameter-only string route emits at startup. Graph feedback cycles are rejected. When both editors respond to the same trigger, event-table actions are emitted first.

Configure event actions

Use PUSH or RELEASE with a digital input, CHANGE with an analog or string input, or STARTUP without an input. For Copy, choose a compatible signal or parameter. For Set or Delayed set, enter a literal. String values support \r, \n, \t, \xNN, and \\. Set pulse and delay durations in hundredths of a second. An optional digital condition gates the action at event time. Actions sharing a trigger run in table order. Delayed assignments are scheduled through SIMPL+ Wait.

Build an RS-232 module

  1. Use RS-232 → Port setup to bind a string output for TX and a string input for RX. Create missing serial pins adds and binds the missing pins. TX-only and RX-only modules can use a single existing pin. The RX declaration becomes a SIMPL+ BUFFER_INPUT. Change its capacity in Signals if needed. The Create button defaults RX to 1,024 bytes and the builder accepts up to 4,096 bytes.
  2. Choose independent TX and RX terminators. Use CR, LF, CRLF, or Hex with 1–16 bytes. None is available for TX. RX needs a nonempty delimiter.
  3. Add digital command triggers in Signals. In RS-232 → Commands, map each trigger to one payload and choose whether to append the TX terminator. ASCII accepts literal text, \r, \n, \t, \xNN, and \\. Hex accepts complete pairs such as 02 00 FF 03 or 0200FF03. The editor previews the configured byte count and first 32 bytes. A transmission can carry up to 255 bytes including its terminator.
  4. Add digital or string feedback outputs in Signals. In RS-232 → Feedback, enter an Exact or Prefix match in ASCII or Hex, without the terminator. Rules run in table order and the first match wins. Use Set high and Set low for maintained digital feedback, Capture frame for the full payload, or Capture suffix for the bytes after a matched prefix. Put specific rules before more general ones. A pattern can be up to 255 bytes.
  5. Export the module. In SIMPL Windows, connect its TX output to the COM symbol’s transmit input and connect the COM symbol’s received data output to the module’s RX input. Set baud, parity, data bits, stop bits, and flow control on the COM symbol according to the device documentation.

For a practice module, use a digital input named Power_On, a digital output named Power_Fb, and the default serial pins. Map Power_On to the ASCII command POWER ON with a CR appended. Add the exact ASCII feedback rule PWR=ON with Set high on Power_Fb. Both strings are examples. Replace them with the device’s documented bytes before connecting hardware.

The receiver waits for a complete delimiter, drains complete frames in order, and ignores empty or unmatched frames. It processes up to 1,024 payload bytes per frame, subject to the RX buffer size. If the buffer fills, the generated parser drops the suspect data through the next complete delimiter it sees. This is intended for delimiter-framed protocols. Length fields, checksums, request queues, and retries are outside this release. Crestron SIMPL+ Programming Guide

Build a TCP/IP module

  1. Open TCP/IP → Connection and enter the device's IPv4 address or DNS hostname and destination port. Create status pins adds and binds TCP_Connected and TCP_Status. You can bind your own digital Connected output and optional analog Socket status output instead.
  2. For an always-on client, leave Enable input blank. For SIMPL-controlled operation, bind a digital input and hold it high while the connection is needed. Releasing it disconnects the socket. Set a retry interval from 1 to 300 seconds. The module checks on that interval and retries failed or disconnected states. Set 0 for an initial attempt only, plus attempts on subsequent enable presses when an Enable input is bound.
  3. In Framing, set independent TX and RX delimiters. In Commands, bind each ASCII or hex payload to a digital trigger. In Feedback, map exact or prefix matches to digital state or string capture. The byte syntax, rule ordering, and frame limits are the same as for RS-232. The TCP buffer holds up to 4,096 bytes. A partial frame is discarded before a new connection.
  4. Export and compile for your processor in the SIMPL+ Editor. Add the symbol to your SIMPL program and wire its triggers and feedback. The module owns its TCP socket and opens it on the processor. Commands triggered while offline are dropped. There is no command replay.

The Connected output is high for socket state 2. The optional analog status reports Crestron socket states, with 0 for no connection or disabled, 1 for waiting, 2 for connected, 3 for connect failure, 4 for remote disconnect, 5 for local disconnect, and 6–8 for DNS lookup, failure, and resolution. An immediate connection API error is reported as 3. The editor validates configuration locally. Connection status and retries execute in generated SIMPL+ on the processor. This builder supports plain TCP with delimiter-framed feedback. TLS, IPv6, heartbeat detection, connection timeouts beyond the underlying socket, and command queues are outside this release. Crestron SIMPL+ module structure

06 / Logicstry

Open an export in Crestron tools

  1. Place the exported .usp in the user SIMPL+ directory configured under Options → Preferences → Directories in SIMPL Windows, or in the applicable project directory.
  2. Open the file in the SIMPL+ Editor. Select the target for your processor and use Save and Compile. Crestron generates the module header and compiled artifacts.
  3. In SIMPL Windows, add the compiled user SIMPL+ symbol to your program, connect signals, and set its parameter values. Compile the full SIMPL program and verify runtime behavior on the intended processor.

The generated source uses Crestron’s documented declarations, events, functions, and named waits. The exported .usp uses ASCII with Windows line endings. SIMPL+ Programming Guide · Language Reference · Crestron SIMPL release notes

Before sharing a project

  • Save and reopen an editable project copy.
  • Review validation and exported signal mappings.
  • Test a small, fictional example first.
  • Verify behavior with the intended Crestron tools and hardware; preview or reference simulation alone is not deployment verification.

Both Windows applications are unsigned. Back up projects before upgrading and confirm any unexpected installer warning with JHerb Labs.

Questions or feedback?

Include the version, steps, and a fictional sample that reproduces the issue.

Email Jason ↗