Skip to content
Closed
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
36 changes: 36 additions & 0 deletions .github/workflows/Run Testcases.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This is a basic workflow to help you get started with Actions

name: Run Testcases

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
paths-ignore:
- '**.md'
- '**.txt'
- '**.drawio'
- '**.vipb'
- '**.png'
- '**.json'
- '**.yml'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
Run-Testcases:
# The type of runner that the job will run on
runs-on: [self-hosted, lv2017]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- name: Run lvCICD Test cases with VITester
id: StartVITester
uses: NEVSTOP-LAB/lvCICD@main
with:
LabVIEW_Version: 2017
Operation: StartVITester
Parameter1: ${{ github.workspace }}\CSM API String Arguments Support.lvproj
10 changes: 10 additions & 0 deletions API-String-Arugments-Support/API String Arguments Support.lvlib
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@
<Item Name="CSM - Broadcast Data As API String.vim" Type="VI" URL="../CSM - Broadcast Data As API String.vim"/>
</Item>
<Item Name="Support" Type="Folder">
<Item Name="StringAnalyze" Type="Folder">
<Item Name="bracket code.vi" Type="VI" URL="../_Support/StringAnalyze/bracket code.vi"/>
<Item Name="check if brackets Matched 2.vi" Type="VI" URL="../_Support/StringAnalyze/check if brackets Matched 2.vi"/>
<Item Name="check if brackets Matched.vi" Type="VI" URL="../_Support/StringAnalyze/check if brackets Matched.vi"/>
<Item Name="Get content in brackets.vi" Type="VI" URL="../_Support/StringAnalyze/Get content in brackets.vi"/>
<Item Name="String to 1D Array 2.vi" Type="VI" URL="../_Support/StringAnalyze/String to 1D Array 2.vi"/>
<Item Name="Strip brackets with Option.vi" Type="VI" URL="../_Support/StringAnalyze/Strip brackets with Option.vi"/>
<Item Name="Strip brackets.vi" Type="VI" URL="../_Support/StringAnalyze/Strip brackets.vi"/>
</Item>
<Item Name="API String to 1D Array.vi" Type="VI" URL="../_Support/API String to 1D Array.vi"/>
<Item Name="Convert API String Arguments to Data(variant).vi" Type="VI" URL="../_Support/Convert API String Arguments to Data(variant).vi"/>
<Item Name="Data To API String Arguments.vi" Type="VI" URL="../_Support/Data To API String Arguments.vi"/>
<Item Name="Query Data as API String Arguments(variant).vi" Type="VI" URL="../_Support/Query Data as API String Arguments(variant).vi"/>
Expand Down
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.
10 changes: 8 additions & 2 deletions CSM API String Arguments Support.vipb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2024-08-27 16:22:36" Creator="yaoli" Comments="" ID="e8a97bbf1f668b4e0fbcce54ffae0d17">
<VI_Package_Builder_Settings Version="2020.1" Created_Date="2023-08-12 17:59:50" Modified_Date="2024-09-10 14:11:05" Creator="yaoli" Comments="" ID="678069bf7aeb5a3513bf9b9605ccbdc5">
<Library_General_Settings>
<Package_File_Name>NEVSTOP_lib_CSM_API_String_Arguments_Support</Package_File_Name>
<Library_Version>2024.8.0.15</Library_Version>
Expand Down Expand Up @@ -59,7 +59,10 @@ More information for the supported datatype format, please visit: https://github
<Packager>NEVSTOP</Packager>
<URL>https://github.com/NEVSTOP-LAB/CSM-API-String-Arugments-Support</URL>
<Release_Notes>[update] add "VI Reference" case in template.
[update] #56 update error handling in template</Release_Notes>
[update] #56 update error handling in template
[fix] #58 Fix issue with nested array. Thanks @hautale for reporting this issue.
[fix] #2 Fix issue with 2d array in cluster, which is a known issue before.
[fix] Fix issue with cluster array/ 2D Cluster Array, which is a known issue before.</Release_Notes>
</Description>
<Destinations>
<Toolkit_VIs>
Expand Down Expand Up @@ -183,6 +186,9 @@ More information for the supported datatype format, please visit: https://github
<Exclusions>
<Path>LICENSE</Path>
</Exclusions>
<Exclusions>
<Path>testcases</Path>
</Exclusions>
<Place_Folder_Contents>
<Path/>
</Place_Folder_Contents>
Expand Down
Binary file not shown.
Binary file removed Example/Get Module Configuration Example/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.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,3 @@ In this mode, the input string is a single value. The first element of the clust
#### Other DataType

Other Datatype will be treated as variant and use CSM-HexStr for data transformation.

## Know Issue

1. **Cluster in Array is not fully supported. Need to improve.**
2. **2D array in cluster is not supported now. Need to improve.**
Binary file modified Template/CSM Module Template(+Configuration).vi
Binary file not shown.
Binary file not shown.
Binary file added _test/benchmark of to 1d array.vi
Binary file not shown.
Binary file added _test/test - strip brackets.vi
Binary file not shown.
Binary file added testcases/testcase-Supported-Datatype/setUp.vi
Binary file not shown.
Binary file added testcases/testcase-Supported-Datatype/tearDown.vi
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

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.
Loading
Loading