Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
5c2629e
init Dev202412
nevstop Nov 29, 2024
2c24d8d
test action-runner
nevstop Nov 29, 2024
fef5b4d
[update] update control palette for CSM
nevstop Nov 29, 2024
6592737
[update] update control palette for CSM
nevstop Nov 29, 2024
7d6cadf
TEST-BUILDMACHINE
nevstop Nov 30, 2024
3d698c9
[fix] minor fix #347
Dec 1, 2024
16e7c46
[fix] #323 fix grammar of unregister, to make it more friendly for ne…
nevstop Dec 1, 2024
f2802da
update doc #323
nevstop Dec 2, 2024
6bf97c5
add Match Asterisk Pattern.vi
nevstop Dec 3, 2024
e7f5b11
[fix] #348 fix unreadable description issue. Thanks @drjdpowell
nevstop Dec 19, 2024
42a643c
[update] Update utility VI icons
nevstop Dec 19, 2024
efe4b67
make template looks simple
Dec 20, 2024
c094198
[update] #349 make template looks simple. Thanks @drjdpowell
Dec 20, 2024
71b572e
add Global Log History Cacher.vi
Dec 20, 2024
60f6c54
[add] add Global Log History Cacher.vi and quick drop snippet of Glob…
Dec 20, 2024
ffa0dd1
fix https://github.com/NEVSTOP-LAB/Communicable-State-Machine/actions…
Dec 20, 2024
5b4deac
update csm-intro.png
Dec 21, 2024
29b731f
update example
Dec 21, 2024
d726c88
Change wire labels
Dec 21, 2024
b6b3de4
[update] #297 Internal Status registration will be automatically remo…
Dec 24, 2024
7492cce
add a testcase for #348
Dec 24, 2024
5cdb3bd
[update] #344 show parameter in filtered periodic log in debug tools
Dec 24, 2024
f1dbf8b
[add] add a new example VI to compare the templates of JKISM and CSM
Dec 25, 2024
5dbf444
change wire label from "From CSM" to "Msg/Rep's CSM"
Dec 25, 2024
1b4306b
update JKISM vs CSM.vi
Dec 25, 2024
ae7bf18
[update] Add "Skip in Runtime(T)" option for CSM - Internal State Deb…
Dec 25, 2024
6e26f32
update Global Log History Cacher.vi
Dec 26, 2024
aa4a0db
[add] add "Enum to String_csm.vim" utility
Dec 27, 2024
016d1f6
remove vim
Dec 27, 2024
aa441e8
add lvlibp build spec
Dec 27, 2024
2d5b595
improve tools performance
Dec 27, 2024
a8abb67
fix typo
Dec 27, 2024
b1c57ce
fix with vi analyzer
nevstop Dec 28, 2024
d41b50b
[update] improve csm tools performance
nevstop Dec 28, 2024
66593c8
update CSM - Global Log Monitoring Loop.vi
Dec 29, 2024
950d066
plan to release
Dec 30, 2024
65f8180
mass compile all
Dec 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .doc/_img/csm-intro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 42 additions & 1 deletion Communicable State Machine(CSM).lvproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
<Item Name="testcase-csm-file-logger.lvclass" Type="LVClass" URL="../testcases/testcase-csm-file-logger/testcase-csm-file-logger.lvclass"/>
<Item Name="testcase-Broadcast Registry.lvclass" Type="LVClass" URL="../testcases/testcase-Broadcast Registry/testcase-Broadcast Registry.lvclass"/>
<Item Name="testcase-Basic-Function.lvclass" Type="LVClass" URL="../testcases/testcase-Basic-Function/testcase-Basic-Function.lvclass"/>
<Item Name="testcase-documentation.lvclass" Type="LVClass" URL="../testcases/testcase-documentation/testcase-documentation.lvclass"/>
</Item>
<Item Name="API Tree.vi" Type="VI" URL="../src/API Tree.vi"/>
<Item Name="Communicable State Machine(CSM).vipb" Type="Document" URL="../Communicable State Machine(CSM).vipb"/>
Expand Down Expand Up @@ -494,6 +495,46 @@
<Item Name="Checkmark Status.ctl" Type="VI" URL="/&lt;resource&gt;/plugins/PopupMenus/support/Checkmark Status.ctl"/>
<Item Name="Enabled Menu Item Status.ctl" Type="VI" URL="/&lt;resource&gt;/plugins/PopupMenus/support/Enabled Menu Item Status.ctl"/>
</Item>
<Item Name="Build Specifications" Type="Build"/>
<Item Name="Build Specifications" Type="Build">
<Item Name="Communicable State Machine.lvlibp" Type="Packed Library">
<Property Name="Bld_buildCacheID" Type="Str">{E6766B2B-D468-4793-BDC2-B658A6B7F582}</Property>
<Property Name="Bld_buildSpecName" Type="Str">Communicable State Machine.lvlibp</Property>
<Property Name="Bld_excludeLibraryItems" Type="Bool">true</Property>
<Property Name="Bld_excludePolymorphicVIs" Type="Bool">true</Property>
<Property Name="Bld_localDestDir" Type="Path">../builds/NI_AB_PROJECTNAME/Communicable State Machine.lvlibp</Property>
<Property Name="Bld_localDestDirType" Type="Str">relativeToCommon</Property>
<Property Name="Bld_modifyLibraryFile" Type="Bool">true</Property>
<Property Name="Bld_previewCacheID" Type="Str">{10AFC524-DE75-48D3-9EA6-4A2C13DE721C}</Property>
<Property Name="Bld_version.build" Type="Int">2</Property>
<Property Name="Bld_version.major" Type="Int">2024</Property>
<Property Name="Bld_version.minor" Type="Int">12</Property>
<Property Name="Destination[0].destName" Type="Str">Communicable State Machine.lvlibp</Property>
<Property Name="Destination[0].path" Type="Path">../builds/NI_AB_PROJECTNAME/Communicable State Machine.lvlibp/Communicable State Machine.lvlibp</Property>
<Property Name="Destination[0].preserveHierarchy" Type="Bool">true</Property>
<Property Name="Destination[0].type" Type="Str">App</Property>
<Property Name="Destination[1].destName" Type="Str">Support Directory</Property>
<Property Name="Destination[1].path" Type="Path">../builds/NI_AB_PROJECTNAME/Communicable State Machine.lvlibp</Property>
<Property Name="DestinationCount" Type="Int">2</Property>
<Property Name="PackedLib_callersAdapt" Type="Bool">true</Property>
<Property Name="Source[0].itemID" Type="Str">{39CD7CBB-08C4-4F97-AECB-862BA054B79A}</Property>
<Property Name="Source[0].type" Type="Str">Container</Property>
<Property Name="Source[1].destinationIndex" Type="Int">0</Property>
<Property Name="Source[1].itemID" Type="Ref">/My Computer/user.lib/_NEVSTOP/Communicable State Machine(CSM)/Communicable State Machine.lvlib</Property>
<Property Name="Source[1].Library.allowMissingMembers" Type="Bool">true</Property>
<Property Name="Source[1].Library.atomicCopy" Type="Bool">true</Property>
<Property Name="Source[1].Library.LVLIBPtopLevel" Type="Bool">true</Property>
<Property Name="Source[1].preventRename" Type="Bool">true</Property>
<Property Name="Source[1].sourceInclusion" Type="Str">TopLevel</Property>
<Property Name="Source[1].type" Type="Str">Library</Property>
<Property Name="SourceCount" Type="Int">2</Property>
<Property Name="TgtF_fileDescription" Type="Str">Communicable State Machine.lvlibp</Property>
<Property Name="TgtF_internalName" Type="Str">Communicable State Machine.lvlibp</Property>
<Property Name="TgtF_legalCopyright" Type="Str">Copyright ?2024 </Property>
<Property Name="TgtF_productName" Type="Str">Communicable State Machine.lvlibp</Property>
<Property Name="TgtF_targetfileGUID" Type="Str">{AEC2982C-A144-46EC-BABE-851C50D1612D}</Property>
<Property Name="TgtF_targetfileName" Type="Str">Communicable State Machine.lvlibp</Property>
<Property Name="TgtF_versionIndependent" Type="Bool">true</Property>
</Item>
</Item>
</Item>
</Project>
38 changes: 23 additions & 15 deletions Communicable State Machine(CSM).vipb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-07-01 11:20:47" Modified_Date="2024-11-25 18:34:43" Creator="liyao" Comments="" ID="56662b33a87bbad7dae5bc80b1f65906">
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-07-01 11:20:47" Modified_Date="2024-12-28 20:44:28" Creator="liyao" Comments="" ID="e796fd95bba5bceb4fe882896544e264">
<Library_General_Settings>
<Package_File_Name>NEVSTOP_lib_Communicable_State_Machine</Package_File_Name>
<Library_Version>2024.11.0.3</Library_Version>
<Library_Version>2024.12.0.3</Library_Version>
<Auto_Increment_Version>false</Auto_Increment_Version>
<Library_Source_Folder>src</Library_Source_Folder>
<Library_Output_Folder>vip</Library_Output_Folder>
Expand Down Expand Up @@ -70,21 +70,29 @@ For information on NEVSTOP-LAB, visit: &lt;color=blue&gt;&lt;u&gt;&lt;i&gt;https
<Copyright/>
<Packager>NEVSTOP</Packager>
<URL>https://github.com/NEVSTOP-LAB</URL>
<Release_Notes>[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
<Release_Notes>#Core
[fix] #323 fix grammar of unregister, to make it more friendly for new CSM user
[update] #297 Internal Status registration will be automatically removed after csm exits.

#Installer
[update] Remove the localization process to speed up the installation. You can use the CSM Tool to change the description language.
#API
[update] update ctrl palette for CSM
[fix] minor fix #347

#Tool
[update] #285 Peroidic States/Log will automatically be filtered in DebugTools
[fix] minor fix #327</Release_Notes>
#Template
[update] #349 make template looks simple. Thanks @drjdpowell

#Tool
[update] improve csm tools performance

#Documentation
[add] add a new example VI to compare the teamplates of JKISM and CSM
[fix] #348 fix unreadable description issue. Thanks @drjdpowell
[update] Update utility VI icons

#utility
[add] add Global Log History Cacher.vi and quick drop snippet of Global Log monitoring loop
[update] #344 show argument in filted periodic log in debug tools
[update] Add "Skip in Runtime(T)" option for CSM - Internal State Debug Log History.vi</Release_Notes>
</Description>
<Destinations>
<Toolkit_VIs>
Expand Down
1 change: 0 additions & 1 deletion README(zh-cn).md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ CSM API 介绍:

// 取消注册源模块的状态
Status@Source Module >> API@Handler Module -><unregister>
Status@Source Module >> Handler Module -><unregister> // API Name可以缺省

#CSM 注释
// 要添加注释,请使用 "//",右边的所有文本将被忽略。
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ In this scenario, inter-module communication solely relies on message string que

// Unregister Source Module's status
Status@Source Module >> API@Handler Module -><unregister>
Status@Source Module >> Handler Module -><unregister> // API Name could not be specified.

#CSM Commenting
To add a comment use "//" and all text to the right will be ignored
Expand Down
Binary file modified src/API Tree.vi
Binary file not shown.
Binary file not shown.
Binary file added src/Example/0. Base Concepts/JKISM vs CSM.vi
Binary file not shown.
Binary file modified src/Example/1. Create a reuse Module/CSM Reuse Module.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified src/Example/Addons - Logger/CSM Application Running Log Example.vi
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ This VI is used to build CSM message strings and operation strings.
> - Build Unregister Status Message.vi
> - CSM - Replace Substitution Marks in Messages.vi

#### Build Message with Arguments (Auto Check).vi
#### Build Message with Arguments(Auto Check).vi

Concatenates a CSM message string, and the message type symbol will be automatically detected based on the input <b>State with Arguments</b>.

Expand Down Expand Up @@ -304,7 +304,7 @@ Incorporates CSM message strings into the CSM message queue. Provides TRUE/FALSE
> - add State(s) to Queue By BOOL (Array Right).vi
> - add State(s) to Queue By BOOL (Array All).vi

#### Add State(s) to Queue By BOOL (Element).vi
#### Add State(s) to Queue By BOOL(Element).vi

Incorporates CSM message strings into the CSM message queue. Provides TRUE/FALSE state string options to avoid using conditional structures, improving code readability and programming efficiency.

Expand All @@ -320,7 +320,7 @@ Incorporates CSM message strings into the CSM message queue. Provides TRUE/FALSE
<b>Indicators</b>
- <b>Remaining States</b>: All concatenated states and parameters.

#### Add State(s) to Queue By BOOL (Array Left).vi
#### Add State(s) to Queue By BOOL(Array Left).vi

Incorporates CSM message strings into the CSM message queue. Provides TRUE/FALSE state string options to avoid using conditional structures, improving code readability and programming efficiency.

Expand All @@ -336,7 +336,7 @@ Incorporates CSM message strings into the CSM message queue. Provides TRUE/FALSE
<b>Indicators</b>
- <b>Remaining States</b>: All concatenated states and parameters.

#### Add State(s) to Queue By BOOL (Array Right).vi
#### Add State(s) to Queue By BOOL(Array Right).vi

Incorporates CSM message strings into the CSM message queue. Provides TRUE/FALSE state string options to avoid using conditional structures, improving code readability and programming efficiency.

Expand All @@ -352,7 +352,7 @@ Incorporates CSM message strings into the CSM message queue. Provides TRUE/FALSE
<b>Indicators</b>
- <b>Remaining States</b>: All concatenated states and parameters.

#### Add State(s) to Queue By BOOL (Array All).vi
#### Add State(s) to Queue By BOOL(Array All).vi

Based on high priority and Bool input, this VI generates TRUE/False and remaining states concatenated states.
The High Priority input determines whether to concatenate the TRUE or FALSE string before or after the remaining states.
Expand Down
Loading
Loading