Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 7 additions & 6 deletions .github/workflows/Build_VIPM_Library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/Check_Broken_VIs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- '**.svg'
- '**.json'
- '**.yml'

push:
paths-ignore:
- '**.md'
Expand All @@ -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:
Expand Down
11 changes: 3 additions & 8 deletions CSM API String Arguments Support.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-08-12 17:59:50" Modified_Date="2026-01-06 14:27:18" Creator="yaoli" Comments="" ID="364b0482be4befe0feaff83d08f77cef">
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2026-02-04 16:35:51" Creator="yaoli" Comments="" ID="d8950b676948dd4d9ec1365d1bf944dc">
<Library_General_Settings>
<Package_File_Name>NEVSTOP_lib_CSM_API_String_Arguments_Support</Package_File_Name>
<Library_Version>2025.11.0.1</Library_Version>
<Library_Version>2026.1.0.1</Library_Version>
<Auto_Increment_Version>false</Auto_Increment_Version>
<Library_Source_Folder>.</Library_Source_Folder>
<Library_Output_Folder>vip</Library_Output_Folder>
Expand Down Expand Up @@ -52,12 +52,7 @@ More information for the supported datatype format, please visit: https://github
<Copyright/>
<Packager>NEVSTOP</Packager>
<URL>https://github.com/NEVSTOP-LAB/CSM-API-String-Arugments-Support</URL>
<Release_Notes>[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</Release_Notes>
<Release_Notes>[fix] #105 Numeric format of "100B" error</Release_Notes>
</Description>
<Destinations>
<Toolkit_VIs>
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down Expand Up @@ -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.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,15 @@
<Property Name="NI.LibItem.Scope" Type="Int">3</Property>
</Item>
<Item Name="testcases" Type="Folder">
<Item Name="test - Numeric.vi" Type="VI" URL="../testcases/test - Numeric.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">&amp;Q#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!&amp;!!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$R!=!!?!!!F)X2F=X2D98.F,6.V=("P=H2F:#V%982B&gt;(FQ:3ZM&gt;G.M98.T!!R5:8.U1W&amp;T:3"P&gt;81!!#"!5!!$!!!!!1!#%W6S=G^S)'FO)#BO&lt;S"F=H*P=CE!/E"Q!"Y!!#5D&gt;'6T&gt;'.B=W5N5X6Q='^S&gt;'6E,52B&gt;'&amp;U?8"F,GRW9WRB=X-!#V2F=X2$98.F)'FO!'%!]!!-!!-!"!!%!!5!"!!%!!1!"!!'!!1!"!!(!Q!!?!!!$1A!!!!!!!!!!!!!$1M!!!!!!!!!!!!!!!!!!!!!!!!+!!!!!!!!!!!!!!!3!!!.!!!!$!!!!!!!!!!!!!!"!!A!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">16777216</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">true</Property>
<Property Name="NI.ClassItem.MethodScope" Type="UInt">1</Property>
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1342972432</Property>
</Item>
<Item Name="test - float.vi" Type="VI" URL="../testcases/test - float.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">&amp;Q#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!&amp;!!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$R!=!!?!!!F)X2F=X2D98.F,6.V=("P=H2F:#V%982B&gt;(FQ:3ZM&gt;G.M98.T!!R5:8.U1W&amp;T:3"P&gt;81!!#"!5!!$!!!!!1!#%W6S=G^S)'FO)#BO&lt;S"F=H*P=CE!/E"Q!"Y!!#5D&gt;'6T&gt;'.B=W5N5X6Q='^S&gt;'6E,52B&gt;'&amp;U?8"F,GRW9WRB=X-!#V2F=X2$98.F)'FO!'%!]!!-!!-!"!!%!!5!"!!%!!1!"!!'!!1!"!!(!Q!!?!!!$1A!!!!!!!!!!!!!$1M!!!!!!!!!!!!!!!!!!!!!!!!+!!!!!!!!!!!!!!!3!!!.!!!!$!!!!!!!!!!!!!!"!!A!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
Expand Down
Binary file modified testcases/testcase-Supported-Datatype/testcases/test - #86.vi
Binary file not shown.
Binary file modified testcases/testcase-Supported-Datatype/testcases/test - #98.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified testcases/testcase-Supported-Datatype/testcases/test - Cluster.vi
Binary file not shown.
Binary file modified testcases/testcase-Supported-Datatype/testcases/test - Complex.vi
Binary file not shown.
Binary file modified testcases/testcase-Supported-Datatype/testcases/test - Enum.vi
Binary file not shown.
Binary file not shown.
Binary file modified testcases/testcase-Supported-Datatype/testcases/test - Refnum.vi
Binary file not shown.
Binary file modified testcases/testcase-Supported-Datatype/testcases/test - float.vi
Binary file not shown.