Sign Up

Communicable State Machine(CSM) by NEVSTOP-LAB - Toolkit for LabVIEW Download

LabVIEW Application Framework extended from JKI State Machine(JKISM)

D Discussion Watch * 9 ↓1,404
 screenshot
Version2024.11.28.152636
ReleasedNov 28, 2024
Publisher NEVSTOP-LAB
License MIT
LabVIEW VersionLabVIEW>=17.0
Operating System Windows, Mac, and Linux
Dependencies jki_lib_state_machine  
Used By nevstop_lib_csm_api_string_arguments_support   nevstop_lib_csm_massdata_parameter_support   nevstop_programming_palette   nevstop_lib_csm_mermaid_plugin   nevstop_lib_csm_continuous_meausrement_and_logging_example   nevstop_lib_csm_ini_static_variable_support  
Project links Homepage   Documentation   Repository   Discussion

Description

Communicable State Machine(CSM) is a LabVIEW application framework that builds upon JKI State Machine(JKISM). It follows the pattern of JKISM and extends the keywords to describe message communication between modules, including concepts such as Sync-Message, Async-Message, Subscription/Unsubscription of status - essential elements for creating reusable code modules.

Grammar:

// Local Message Example
DoSth: DoA >> Arguments
// Sync Call Example
API: xxxx >> Arguments -@ TargetModule
// Async Call Example
API: xxxx >> Arguments -> TargetModule
// Async Call without Reply Example
API: xxxx >> Arguments ->| TargetModule
// Broadcast normal status:
Status >> StatusArguments ->
// Broadcast Interrupt status:
Interrupt >> StatusArguments ->
// Register Source Module's status to Handler Module
Status@Source Module >> API@Handler Module ->
// Unregister Source Module's status
Status@Source Module >> API@Handler Module ->

Hightlights:

- Pure text process control makes documentation, scripting and testing easy.
- Easy to change program behavior even after application is built.
- Easy to build 1:1, 1:N and M:N communication.
- No need to directly invoke LabVIEW queues or user events.
- Parameters and data are passed through "encoding", "transmission" and "decoding" with arguments.
- User's code is highly concentrated; most visible code is user-generated.
- VIs serve as modules, and their Singleton/Cloneable behavior is defined by VI attributes.
- Detailed global log interface with multiple debugging tools built on it.
- Compatible with JKISM Editor.

For more information, please visit the CSM wiki: https://nevstop-lab.github.io/CSM-Wiki/
For instructions on JKI State Machine(JKISM), visit: http://jki.net/state-machine
For information on NEVSTOP-LAB, visit: https://github.com/NEVSTOP-LAB

Release Notes

2024.11.28.152636 (Nov 28, 2024)

[important] Peroidic States/Log will automatically be filtered in Template/DebugTools/Examples
[important] Change License to MIT, to enable more csm users

#Core
[update] #337 Show Responses in "CSM - Run Script.vi"

#Template
[update] Update template to use new State Debug Log VI, which will automatically filter period States in log

#Installer
[update] Remove the localization process to speed up the installation. You can use the CSM Tool to change the description language.

#Tool
[update] #285 Peroidic States/Log will automatically be filtered in DebugTools
[fix] minor fix #327

yao was a contributor to this release


Recent Posts

Enhancing Your Gaming Experience with Console Extenders
Console extenders are a game-changer for avid gamers looking to optimize their setups. These device…

by bakersopie2, 6 months, 3 weeks ago, 0 , 0
suggestion