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 * 11 ↓2,781
 screenshot
Version2025.6.3.105520
ReleasedJun 03, 2025
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_tcp_router_example   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.

CSM Syntax

// 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

Please visit this link for more syntax information:
https://github.com/NEVSTOP-LAB/Communicable-State-Machine/tree/main/.doc/Syntax.md

CSM 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

2025.6.3.105520 (Jun 03, 2025)

##Core
[update] #459 Default DequeueTMO is changed from 0ms to 1ms, which will improve debugging performance if any related errors. Thanks @ZhaoLi-an

##API
[update] #450 Enhance "CSM - List module" Behavior. Now system level module could be included.
[update] Add a "" prefix in "CSM - Convert Data to HexStr.vi" to identify the argument type.
[update] Add waiting time for CSM to be alive in CSM Status/Exit Event API

##GlobalLog
[add] #448 #453 #454 #455 #456 #457 Now global event support queue operation.
[add] #454 New snippet for using Global Event Queue.
[update] #455 use event source timestamp instead of handling timestamp.

##Example
[add] add a new example "4. Advance Examples\Global Log Handling Capability" to demostrate the improved global log handling capibility.

##Tools
[update] Debug Console add message handling speed indicator.
[update] #460 Debug Console use queue based global log API.
[update] #456 CSM File Logger use Queue based global log API.

yao was a contributor to this release


Recent Posts

Best Effluent Treatment Plant Manufacturers in Delhi – High-Tech STP Systems
Netsol Water is one of the best Effluent Treatment Plant Manufacturers in Delhi, offering high-tech…

by Sewage Treatment Plants, 2 months, 3 weeks ago, 0 , 0
suggestion
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, 1 year ago, 0 , 0
suggestion

Forum Posts

LOAN PraJeev App CUSTOMER CARE HELPLINE NUMBER (91)∆O❼❾⓿❹❾❻❹❺❻❷///7904964562@)\x{Call Now
LOAN PraJeev App CUSTOMER CARE HELPLINE NUMBER (91)∆O❼❾⓿❹❾❻❹❺❻❷///7904964562@)\x{Call NowLOAN Pra…

 
How to recover wrongly transferred money in PhonePe?
Phone Pe for a wrong transaction, you should immediately contact PhonePe's customer support: 0846…

 
How do I complain to Anjani Courier Service?
To get a refund from Anjani Courier, you can contact their customer support team by: Calling 0997…