-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* init Dev202410 * 修改文档相关的VI * backup src/help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * update src/help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * #325 * remove .vianalyzer 配置 * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * update csmdoc VIs * 更新 help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * 更新 help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * 更新导入 document 的 VI * fix https://github.com/NEVSTOP-LAB/Communicable-State-Machine/actions/runs/11315326789 * backup help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * 刷新 help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * 更新 arguments API 说明 * 更新 help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * update src/help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * 更新文档 * 更新部分文档 * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * 更新 help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * fix typos * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * 移动位置 * 更新 csmdoc.lvlib api * 更新 help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * 更新 help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * Backup code * backup change to _csmdoc/ * 备份修改 * backup code * 更新 help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * 更新doc * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(EN) * update src/help/NEVSTOP/Communicable State Machine(CSM)/VI Description(EN) * update doc * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(EN).md * update VI * 更新文档 * fix broken VIs * update help/NEVSTOP/Communicable State Machine(CSM)/VI Description(EN).md * add Utility/System Language.vi * update vi description * backup 修改 * new CSM - Switch Language Tool.vi * update FixJKIHelper.vi * update FixJKIHelper.vi * [add] #330 Automatically localize VI description after installation. * update FixJKIHelper.vi * [fix] #328 fix bug that CSM Status Change Event is not working. * [fix] minor fix & update #326 * BACKUP tool update code * [update] Updated Command Debug Tool, commands listed automatically when switching CSM module. * 备份修改 --------- Co-authored-by: NEVSTOP <nevstop>
- Loading branch information
Showing
392 changed files
with
7,121 additions
and
1,860 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"MD033": false, | ||
"MD013": false, | ||
"MD032": false | ||
"MD032": false, | ||
"MD028": false | ||
} |
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Cacher", | ||
"csmdoc", | ||
"csmlog", | ||
"CSMLS", | ||
"CSMP", | ||
"CSMQ", | ||
"Evnt", | ||
"Gevt", | ||
"HEXSTR", | ||
"lvclass", | ||
"ogtk", | ||
"Refnum", | ||
"Splite", | ||
"Struct", | ||
"usecase" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
src/Example/0. Base Concepts/Arguments - Complex Data As Arguments.vi
Binary file not shown.
Binary file modified
BIN
+40 Bytes
(100%)
src/Example/2. Caller is CSM Scenario/CSM Example - Caller is a CSM.vi
Binary file not shown.
File renamed without changes.
840 changes: 0 additions & 840 deletions
840
src/help/NEVSTOP/Communicable State Machine(CSM)/VI Description(CN).md
This file was deleted.
Oops, something went wrong.
866 changes: 46 additions & 820 deletions
866
src/help/NEVSTOP/Communicable State Machine(CSM)/VI Description(EN).md
Large diffs are not rendered by default.
Oops, something went wrong.
117 changes: 117 additions & 0 deletions
117
...ble State Machine(CSM)/VI Description(en)/VI Description(en) - 01. Templates.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
# CSM API | ||
|
||
## Templates | ||
|
||
> [!NOTE] CSM Name Rules | ||
> - The CSM module name must be unique to avoid entering the "Critical Error" state. | ||
> - If the input is "", a UUID will be used as the module name. This module will operate in independent mode and will not be listed in the module list. | ||
> - If the input ends with '#', the module will run in work mode. Modules with the same name will share the same message queue. External messages will be handled by the idle module. | ||
> [!NOTE] CSM Initialization State | ||
> - The default value is "Macro: Initialize", consistent with the JKISM state machine. | ||
> - This state is typically not modified and is provided to facilitate external programmatic changes to the initialization state. | ||
### CSM Module Template.vi | ||
|
||
Creates a template for a CSM module without a user interface. | ||
|
||
> Ref: CSM Name Rules | ||
> Ref: CSM Initialization State | ||
-- <b>Controls</b> -- | ||
- <b>Name("" to use uuid)</b>: CSM Module Name | ||
- <b>Init State("Macro: Initialize")</b>: Initialization State, default is "Macro: Initialize" | ||
|
||
### CSM User Interface(UI) Module Template.vi | ||
|
||
Creates a template for a CSM module with a user interface, including a user event structure to respond to user actions. | ||
|
||
> Ref: CSM Name Rules | ||
> Ref: CSM Initialization State | ||
-- <b>Controls</b> -- | ||
- <b>Name("" to use uuid)</b>: CSM Module Name | ||
- <b>Init State("Macro: Initialize")</b>: Initialization State, default is "Macro: Initialize" | ||
|
||
### CSM Module Template - Tiny.vi | ||
|
||
Creates a compact template for a CSM module without a user interface. | ||
|
||
> Ref: CSM Name Rules | ||
> Ref: CSM Initialization State | ||
-- <b>Controls</b> -- | ||
- <b>Name("" to use uuid)</b>: CSM Module Name | ||
- <b>Init State("Macro: Initialize")</b>: Initialization State, default is "Macro: Initialize" | ||
|
||
### CSM User Interface(UI) Module Template - Tiny.vi | ||
|
||
Creates a compact template for a CSM module with a user interface, including a user event structure to respond to user actions. | ||
|
||
> Ref: CSM Name Rules | ||
> Ref: CSM Initialization State | ||
-- <b>Controls</b> -- | ||
- <b>Name("" to use uuid)</b>: CSM Module Name | ||
- <b>Init State("Macro: Initialize")</b>: Initialization State, default is "Macro: Initialize" | ||
|
||
### Template Support VIs | ||
|
||
#### CSM - Get New State Notifier Event.vi | ||
|
||
Obtains the user event handle for CSM modules with an event structure. This event interrupts the wait in the event structure when a new message is received, allowing execution to continue. | ||
|
||
-- <b>Controls</b> -- | ||
- <b>Name("" to use uuid) in</b>: CSM Module Name | ||
|
||
-- <b>Indicators</b> -- | ||
- <b>New State Notifier Event</b>: User event handle to interrupt the wait in the event structure when a message is received | ||
|
||
#### Timeout Selector.vi | ||
|
||
Used in templates with a user event structure. | ||
|
||
-- <b>Controls</b> -- | ||
- <b>Timeout Expected</b>: Expected timeout setting | ||
- <b>Remaining States</b>: Outputs 0 if there are remaining states; otherwise, outputs the expected value | ||
|
||
-- <b>Indicators</b> -- | ||
- <b>Timeout</b>: Timeout setting after arbitration | ||
|
||
#### Error Handler for Templates | ||
|
||
##### CSM Critical Error.vi | ||
|
||
Generates a critical error message for the CSM module, usually due to a duplicate module name. | ||
|
||
-- <b>Controls</b> -- | ||
- <b>Arguments(as Reason)</b>: Reason for the error | ||
- <b>CSM Name</b>: CSM Module Name | ||
|
||
##### CSM No Target Error.vi | ||
|
||
Generates a target module not found error message for the CSM module when a CSM Module Name is required but an empty string is input. | ||
|
||
##### CSM Target Error.vi | ||
|
||
Generates a target module not found error message for the CSM module. | ||
|
||
-- <b>Controls</b> -- | ||
- <b>Arguments(as CSM Name)</b>: Connection parameters, passing the target module name | ||
|
||
##### CSM Target Timeout Error.vi | ||
|
||
Generates a timeout error message for the target module of the CSM. | ||
|
||
-- <b>Controls</b> -- | ||
- <b>Arguments(as CSM Name)</b>: Connection parameters, passing the target module name | ||
|
||
##### CSM Unhandled State Error.vi | ||
|
||
Generates an unhandled state error message for the CSM module. Possible scenarios: | ||
- An error occurs when an undefined state is used in the internal message rotation (consistent with JKISM behavior). | ||
- An error occurs when an undefined state is received from an external source. | ||
|
||
-- <b>Controls</b> -- | ||
- <b>Undefined State</b>: Undefined State | ||
- <b>CSM Name</b>: CSM Module Name |
Oops, something went wrong.