diff --git a/.github/workflows/Build_VIPM_Library.yml b/.github/workflows/Build_VIPM_Library.yml index d473f51..2554202 100644 --- a/.github/workflows/Build_VIPM_Library.yml +++ b/.github/workflows/Build_VIPM_Library.yml @@ -48,12 +48,13 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - name: vipm-InstallPackage - uses: NEVSTOP-LAB/vipm-InstallPackage@main - with: - LabVIEW_Version: 2017 - # Package could be PackageName/PacakgeWithVersion/vipFilePath - Package: "Epoch Date & Time" + #不再依赖 Epoch Date & Time 包 + # - name: vipm-InstallPackage + # uses: NEVSTOP-LAB/vipm-InstallPackage@main + # with: + # LabVIEW_Version: 2017 + # # Package could be PackageName/PacakgeWithVersion/vipFilePath + # Package: "Epoch Date & Time" - uses: NEVSTOP-LAB/InstallNevstopPackage@main with: diff --git a/.github/workflows/Check_Broken_VIs.yml b/.github/workflows/Check_Broken_VIs.yml index bda379f..db61b08 100644 --- a/.github/workflows/Check_Broken_VIs.yml +++ b/.github/workflows/Check_Broken_VIs.yml @@ -18,7 +18,7 @@ on: - '**.svg' - '**.json' - '**.yml' - + push: paths-ignore: - '**.md' @@ -42,12 +42,13 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - - name: vipm-InstallPackage - uses: NEVSTOP-LAB/vipm-InstallPackage@main - with: - LabVIEW_Version: 2017 - # Package could be PackageName/PacakgeWithVersion/vipFilePath - Package: "Epoch Date & Time" + #不再依赖 Epoch Date & Time 包 + # - name: vipm-InstallPackage + # uses: NEVSTOP-LAB/vipm-InstallPackage@main + # with: + # LabVIEW_Version: 2017 + # # Package could be PackageName/PacakgeWithVersion/vipFilePath + # Package: "Epoch Date & Time" - uses: NEVSTOP-LAB/InstallNevstopPackage@main with: diff --git a/CSM API String Arguments Support.vipb b/CSM API String Arguments Support.vipb index 10cfe2b..7cb526d 100644 --- a/CSM API String Arguments Support.vipb +++ b/CSM API String Arguments Support.vipb @@ -1,7 +1,7 @@ - + NEVSTOP_lib_CSM_API_String_Arguments_Support - 2025.11.0.1 + 2026.1.0.1 false . vip @@ -52,12 +52,7 @@ More information for the supported datatype format, please visit: https://github NEVSTOP https://github.com/NEVSTOP-LAB/CSM-API-String-Arugments-Support - [feature] #95 support lvlibp -[update] #99 support leaf name searching in Query Data as API String Arguments.vim -[fix] #98 Do not check (), to avoid bugs -[fix] #100 for enum type, empty string should be converted to the reference enum value. -[fix] #102 for cluster type, all elements will be used in no-tag mode in Data To API String Arguments.vi -[fix] #104 Throw up error if API String does'nt match any enum option + [fix] #105 Numeric format of "100B" error diff --git a/README.md b/README.md index e05bff9..2bacc48 100644 --- a/README.md +++ b/README.md @@ -4,12 +4,11 @@ [![Installs](https://www.vipm.io/package/nevstop_lib_csm_api_string_arguments_support/badge.svg?metric=installs)](https://www.vipm.io/package/nevstop_lib_csm_api_string_arguments_support/) [![Stars](https://www.vipm.io/package/nevstop_lib_csm_api_string_arguments_support/badge.svg?metric=stars)](https://www.vipm.io/package/nevstop_lib_csm_api_string_arguments_support/) -[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GitHub Downloads](https://img.shields.io/github/downloads/NEVSTOP-LAB/CSM-API-String-Arguments-Support/total)](https://github.com/NEVSTOP-LAB/CSM-API-String-Arguments-Support/releases) -This library enhances the API parameters for the Communicable State Machine (CSM) framework by enabling the inclusion of various data types in plain text format and is specially optimized for manual input experience. +This library enhances the API parameters for the Communicable State Machine (CSM) framework by enabling the inclusion of various data types in plain text format. -The library also provides two additional templates that include "Data: Get Configuration" and "Data: Set Configuration" states. These templates serve as a starting point for building CSM modules with the ability to access data stored in the '>> internal data >>' shift register. +The library also provides two additional templates that include "Data: Get Configuration", "Data: Set Configuration", and "Data: Get Internal Data" states. These templates serve as a starting point for building CSM modules with the ability to access data stored in the '>> internal data >>' shift register. ![example](.github/doc.png) @@ -310,4 +309,4 @@ In Non-Tag mode, the input string consists only of data values separated by semi ### Other Data Types -Other data types are first converted to variants and then transformed using CSM-HexStr. +Other data types are treated as variants and transformed using CSM-HexStr. diff --git a/addons/API-String-Arugments-Support/_Support/String To Number(I64)_csm.vi b/addons/API-String-Arugments-Support/_Support/String To Number(I64)_csm.vi index f7d2b86..b2a23ab 100644 Binary files a/addons/API-String-Arugments-Support/_Support/String To Number(I64)_csm.vi and b/addons/API-String-Arugments-Support/_Support/String To Number(I64)_csm.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcase-Supported-Datatype.lvclass b/testcases/testcase-Supported-Datatype/testcase-Supported-Datatype.lvclass index 8f255f1..f3ea21c 100644 --- a/testcases/testcase-Supported-Datatype/testcase-Supported-Datatype.lvclass +++ b/testcases/testcase-Supported-Datatype/testcase-Supported-Datatype.lvclass @@ -46,6 +46,15 @@ 3 + + &Q#!!!!!!!)!"1!&!!!-!%!!!@````]!!!!"!!%!!!&!!!!!#1!-1#%'=X2B>(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&!!!Q!!!!%!!AFF=H*P=C"P>81!"!!!!$R!=!!?!!!F)X2F=X2D98.F,6.V=("P=H2F:#V%982B>(FQ:3ZM>G.M98.T!!R5:8.U1W&T:3"P>81!!#"!5!!$!!!!!1!#%W6S=G^S)'FO)#BO<S"F=H*P=CE!/E"Q!"Y!!#5D>'6T>'.B=W5N5X6Q='^S>'6E,52B>'&U?8"F,GRW9WRB=X-!#V2F=X2$98.F)'FO!'%!]!!-!!-!"!!%!!5!"!!%!!1!"!!'!!1!"!!(!Q!!?!!!$1A!!!!!!!!!!!!!$1M!!!!!!!!!!!!!!!!!!!!!!!!+!!!!!!!!!!!!!!!3!!!.!!!!$!!!!!!!!!!!!!!"!!A!!!!! + -1 + 16777216 + true + 1 + 1 + 1342972432 + &Q#!!!!!!!)!"1!&!!!-!%!!!@````]!!!!"!!%!!!&!!!!!#1!-1#%'=X2B>(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&!!!Q!!!!%!!AFF=H*P=C"P>81!"!!!!$R!=!!?!!!F)X2F=X2D98.F,6.V=("P=H2F:#V%982B>(FQ:3ZM>G.M98.T!!R5:8.U1W&T:3"P>81!!#"!5!!$!!!!!1!#%W6S=G^S)'FO)#BO<S"F=H*P=CE!/E"Q!"Y!!#5D>'6T>'.B=W5N5X6Q='^S>'6E,52B>'&U?8"F,GRW9WRB=X-!#V2F=X2$98.F)'FO!'%!]!!-!!-!"!!%!!5!"!!%!!1!"!!'!!1!"!!(!Q!!?!!!$1A!!!!!!!!!!!!!$1M!!!!!!!!!!!!!!!!!!!!!!!!+!!!!!!!!!!!!!!!3!!!.!!!!$!!!!!!!!!!!!!!"!!A!!!!! -1 diff --git a/testcases/testcase-Supported-Datatype/testcases/test - #86.vi b/testcases/testcase-Supported-Datatype/testcases/test - #86.vi index a2e10c7..2911383 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - #86.vi and b/testcases/testcase-Supported-Datatype/testcases/test - #86.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - #98.vi b/testcases/testcase-Supported-Datatype/testcases/test - #98.vi index a29a344..0a546cd 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - #98.vi and b/testcases/testcase-Supported-Datatype/testcases/test - #98.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - Arguments or Respsone.vi b/testcases/testcase-Supported-Datatype/testcases/test - Arguments or Respsone.vi index 65f71bd..d81f1f7 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - Arguments or Respsone.vi and b/testcases/testcase-Supported-Datatype/testcases/test - Arguments or Respsone.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - Cluster Changed Value as Arguments.vi b/testcases/testcase-Supported-Datatype/testcases/test - Cluster Changed Value as Arguments.vi index 826d909..1b96230 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - Cluster Changed Value as Arguments.vi and b/testcases/testcase-Supported-Datatype/testcases/test - Cluster Changed Value as Arguments.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - Cluster Changed with Leaf Element Name.vi b/testcases/testcase-Supported-Datatype/testcases/test - Cluster Changed with Leaf Element Name.vi index ca47beb..d1d3630 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - Cluster Changed with Leaf Element Name.vi and b/testcases/testcase-Supported-Datatype/testcases/test - Cluster Changed with Leaf Element Name.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - Cluster mixed with Array.vi b/testcases/testcase-Supported-Datatype/testcases/test - Cluster mixed with Array.vi index 12d254e..074fc86 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - Cluster mixed with Array.vi and b/testcases/testcase-Supported-Datatype/testcases/test - Cluster mixed with Array.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - Cluster.vi b/testcases/testcase-Supported-Datatype/testcases/test - Cluster.vi index 7c026bd..27d0c1b 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - Cluster.vi and b/testcases/testcase-Supported-Datatype/testcases/test - Cluster.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - Complex.vi b/testcases/testcase-Supported-Datatype/testcases/test - Complex.vi index 8ea686f..1e5cd15 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - Complex.vi and b/testcases/testcase-Supported-Datatype/testcases/test - Complex.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - Enum.vi b/testcases/testcase-Supported-Datatype/testcases/test - Enum.vi index 42d5f1e..00db706 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - Enum.vi and b/testcases/testcase-Supported-Datatype/testcases/test - Enum.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - Numeric.vi b/testcases/testcase-Supported-Datatype/testcases/test - Numeric.vi new file mode 100644 index 0000000..7cdd125 Binary files /dev/null and b/testcases/testcase-Supported-Datatype/testcases/test - Numeric.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - Refnum.vi b/testcases/testcase-Supported-Datatype/testcases/test - Refnum.vi index d9a0388..82e3f5a 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - Refnum.vi and b/testcases/testcase-Supported-Datatype/testcases/test - Refnum.vi differ diff --git a/testcases/testcase-Supported-Datatype/testcases/test - float.vi b/testcases/testcase-Supported-Datatype/testcases/test - float.vi index e827676..5401add 100644 Binary files a/testcases/testcase-Supported-Datatype/testcases/test - float.vi and b/testcases/testcase-Supported-Datatype/testcases/test - float.vi differ