diff --git a/.github/Build_VIPM_Library.yml b/.github/Build_VIPM_Library.yml deleted file mode 100644 index 7556904..0000000 --- a/.github/Build_VIPM_Library.yml +++ /dev/null @@ -1,94 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: Build_VIPM_Library - -# Controls when the workflow will run -on: - # Triggers the workflow on push or pull request events but only for the main branch - pull_request: - branches: - - main - types: [closed] - paths-ignore: - - '**.md' - - '**.txt' - - '**.drawio' - - '**.png' - - '**.svg' - - '**.json' - - '**.yml' - - 'SDK/**/*' - - push: - paths-ignore: - - '**.md' - - '**.txt' - - '**.drawio' - - '**.png' - - '**.svg' - - '**.json' - - '**.yml' - - 'SDK/**/*' - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# 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" - Build_VIPM_Library: - # The type of runner that the job will run on - runs-on: [self-hosted, lv2020] - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - - # Get env variables - # https://github.com/marketplace/actions/github-environment-variables-action - - uses: FranzDiebold/github-env-vars-action@v2.8.0 - - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 - - - uses: NEVSTOP-LAB/InstallNevstopPackage@main - with: - LabVIEW_Version: 2020 - NEVSTOP-FTP-IP: ${{ secrets.VIPM_FTP_IP }} - NEVSTOP-FTP-PORT: ${{ secrets.VIPM_FTP_PORT }} - PackageName: Communicable-State-Machine - PackageName1: CSM-MassData-Parameter-Support - PackageName2: CSM-API-String-Arguments-Support - PackageName3: CSM-INI-Static-Variable-Support - PackageName4: NEVSTOP-Programming-Palette - - # Runs a set of commands using the runners shell - - name: BuildDailyVIP - id: build-vip - uses: NEVSTOP-LAB/vipm-BuildViPackage@main - with: - LabVIEW_Version: 2020 - VipbPath: ${{ github.workspace }} - - - name: Upload a Build Artifact - uses: actions/upload-artifact@v4 - with: - # Artifact name - name: ${{ steps.build-vip.outputs.vipName }} - path: ${{ steps.build-vip.outputs.vipPathName }} - # The desired behavior if no files are found using the provided path. - if-no-files-found: warn - retention-days: 90 - - # Backup generated files by ftp - # https://github.com/marketplace/actions/simple-ftp-upload - - name: backup Build Artifact by ftp - uses: dennisameling/ftp-upload-action@v1.0.9 - with: - server: ${{ secrets.VIPM_FTP_IP }} - port: ${{ secrets.VIPM_FTP_PORT }} - username: ${{ secrets.VIPM_FTP_USER }} - password: ${{ secrets.VIPM_FTP_PASSWORD }} - secure: false - server_dir: /${{ env.CI_REPOSITORY_OWNER_SLUG }}/${{ env.CI_REPOSITORY_NAME }}/${{ env.CI_ACTION_REF_NAME }}/ - local_dir: ./vip/ - diff --git a/.github/CSMStand-Lite.vipb b/.github/CSMStand-Lite.vipb deleted file mode 100644 index 051e7f9..0000000 --- a/.github/CSMStand-Lite.vipb +++ /dev/null @@ -1,268 +0,0 @@ - - - NEVSTOP_LAB_CSMStand_Lite - 2025.12.1.6 - false - src - vip - NEVSTOP - - - 20.0 - true - 00000CFC001D00000C1800000C00000200020022002200180000000000FFFFFF0000FFFFFFAAAAAA666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666AAAAAAFFFFFFAAAAAA66666666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC6666CC66666666AAAAAA666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFF000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00FF00009900FFFFFF000000FFFFFFFFFFFF66CC6666CC66FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF00FF00009900009900FFFFFF000000FFFFFFFFFFFF66CC6666CC66FFFFFF66CC6666CC6666CC6666CC6666CC6666CC66FFFFFF66CC6666CC6666CC66FFFFFF66CC66FFFFFF666666666666FFFFFF000000FFFFFF00990000FF00FFFFFF00FF00009900009900FFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFF00990000990000FF00009900009900FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFF0000FF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFFFFFFFF009900009900009900FFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFF0000FF0000FFFFFFFF0000FF0000FF0000FF0000FF0000FF0000FFFFFFFF0000FF0000FF0000FFFFFFFF0000FFFFFF666666666666FFFFFF000000FFFFFFFFFFFFFFFFFF009900FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF66CC6666CC66FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF66CC6666CC66FFFFFF66CC6666CC6666CC6666CC6666CC6666CC66FFFFFF66CC6666CC6666CC66FFFFFF66CC66FFFFFF666666666666FFFFFF000000FFFFFFFFFFFF990000990000FFFFFF990000990000FFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFFFFFFFFFFFFFF990000990000990000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFFFFFFFF990000990000990000FFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000000000FFFFFF000000000000000000000000000000000000FFFFFF000000000000000000FFFFFF000000FFFFFF666666666666FFFFFF000000FFFFFF990000990000FFFFFF990000990000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFF000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFF666666666666666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFF666666FFFFFFFFFFFF666666FFFFFF666666666666666666FFFFFF666666FFFFFFFFFFFF666666FFFFFFFFFFFF666666FFFFFFFFFFFF666666666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFF666666666666666666FFFFFFFFFFFF666666FFFFFF666666FFFFFF666666FFFFFFFFFFFF666666FFFFFF666666FFFFFF666666FFFFFF666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFF666666FFFFFFFFFFFFFFFFFFFFFFFF666666666666666666FFFFFF666666666666666666666666FFFFFF666666666666FFFFFFFFFFFF666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFF666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF66CC6666CC66FFFFFFFFFFFFFFFFFF66CC6666CC6666CC66FFFFFF66CC66FFFFFFFFFFFFFFFFFF66CC66FFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFFFFFFFFFFFFFF666666FFFFFF666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF66CC66FFFFFFFFFFFF66CC66FFFFFF66CC66FFFFFFFFFFFFFFFFFFFFFFFF66CC6666CC66FFFFFF66CC6666CC66FFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFF666666FFFFFF666666FFFFFF66CC66FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF66CC6666CC66FFFFFFFFFFFF66CC66FFFFFF66CC66FFFFFF66CC66FFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFFFFFFFFFFFFFF666666FFFFFF666666FFFFFFFFFFFF666666FFFFFFFFFFFF66CC66FFFFFFFFFFFF66CC66FFFFFFFFFFFFFFFFFFFFFFFF66CC66FFFFFF66CC66FFFFFFFFFFFFFFFFFF66CC66FFFFFFFFFFFFFFFFFF666666666666DDDDDDFFFFFFFFFFFFFFFFFF666666666666FFFFFFFFFFFFFFFFFF666666FFFFFFFFFFFFFFFFFF66CC6666CC66FFFFFFFFFFFF66CC6666CC6666CC66FFFFFFFFFFFF66CC66FFFFFFFFFFFFFFFFFF66CC66FFFFFFFFFFFFDDDDDD666666AAAAAA666666DDDDDDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDDDDDD666666AAAAAAFFFFFFAAAAAA666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666AAAAAAFFFFFF002900000012000000020000000D01000000000100000000000A000000080000000000240024002900000012000000020000000D00FAFAFA00010000000000100000001000000002002300000000000000000023002900000012000000020000000D00FFFFFF00010000000000100000001000000002002200010001000100010022002900000012000000020000000D00FAFAFA00010000000000100000001000000002000000240024002400240000002900000012000000020000000D00F8F8F800010000000000100000001000000002000100230023002300230001 - CSMStand-Lite - true - LabVIEW - - - - nevstop_lab_palette >=2025.9.28.110211 - nevstop_lib_communicable_state_machine >=2026.1.18.234723 - nevstop_lib_csm_api_string_arguments_support >=2026.1.6.210142 - nevstop_lib_csm_ini_static_variable_support >=2026.1.4.232941 - nevstop_lib_csm_massdata_parameter_support >=2026.1.4.230055 - nevstop_programming_palette >=2026.1.10.204551 - - - - - - - - - - CSMStand-Lite.vipc - - - # CSMStand-Lite - -## Introduction - -CSMStand-Lite is a script execution engine based on the Communicable State Machine (CSM) framework, designed to run flexible CSM test scripts for automated testing. It also serves to demonstrate the capabilities of the CSM framework. Its design is inspired by NI TestStand, which is the origin of its name. - -This project includes: - -1. **CSMStand-Lite Library**: A lightweight CSM script execution engine, itself implemented as a CSM-based module. - - **Engine**: The core execution engine responsible for parsing and executing CSM scripts, managing test states and results. - - **UI**: The user interface that provides script management, execution control, and result viewing. -2. **CSMStandApp**: A CSM UI module that calls the CSMStand-Lite engine, demonstrating how to integrate and use CSMStand-Lite. -3. **Example Project**: Showcases how to use CSMStand-Lite in conjunction with other CSM modules to achieve script execution and automated testing. - -Examples of CSMStand Script: - -```c -// Enable automatic error handling -AUTO_ERROR_HANDLE_ENABLE >> TRUE -// Set the automatic error jump anchor to error_handler, no longer using cleanup as the default anchor -AUTO_ERROR_HANDLE_ANCHOR >> error_handler - -<setup> // ----- setup anchor ---- - -// Logically, if initialization fails, there's no need to execute the stop command, -// so here we explicitly add a jump to the cleanup anchor on error. -// If this command fails, it will jump to the cleanup anchor -initialize >> daq1 -@ ai ?? goto >> <cleanup> - -<main> // ----- main anchor ---- - -// All subsequent commands, if they fail, will jump to the error_handler anchor -configure >> Onboard Clock;10,-10,RSE -@ ai - -start -@ ai - -acquire >> Channel:ch0;Num:1000 -@ ai - -<error_handler> // ----- error handler anchor ---- -stop -@ ai - -<cleanup> //----- cleanup anchor ---- -close -@ ai - -``` - - NEVSTOP - - - - - - false - true - <user.lib>\_NEVSTOP\Communicable State Machine(CSM)\addons - - - false - true - <application>\examples\NEVSTOP\Communicable State Machine(CSM)\CSMStand(Lite) Application - - - false - true - - - - true - - - - true - - - - false - true - - - - false - true - - - - false - true - - - - false - true - - - - false - true - - - - false - true - - - - false - true - - - - - - . - 1 - false - 0 - - - CSMStand(Lite) - 0 - false - 0 - - - CSMStandApp - 1 - false - 0 - - - CSMStand(Lite)/src - 0 - false - 0 - - - . - - false - - - . - Prefix - - - - CSMStandApp/CSMStandApp.lvcsm - - - CSMStandApp/Launcher.csmlog - - - _test - - - - - - CSMStandApp - - - CSMStand(Lite)/src - - - - - - - false - - - - - - <random:32> - false - - - - false - - - Default - false - - 00000504002900000012000000020000000D00FFFFFF000100000000000A00000008000000000020002000280000025600000222000000030007001D00180000000000FFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000FFFFFFFFFFFF000000000000FFFFFF000000FFFFFF000000FFFFFFFFFFFF000000000000FFFFFF000000000000000000FFFFFFFFFFFF000000FFFFFFFFFFFF000000000000FFFFFF000000FFFFFF000000FFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000FFFFFF000000000000FFFFFF000000FFFFFF000000000000FFFFFF000000FFFFFF000000FFFFFF000000000000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000000000FFFFFF000000FFFFFF000000FFFFFF000000FFFFFFFFFFFF000000000000000000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000000000FFFFFFFFFFFF000000FFFFFFFFFFFF000000000000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000003FCD4DC9BFA950957FAD5895BFA9C4953FAC98893F0000003F002900000012000000020000000D00CCCCFF000100000000000A00000008001900000020002000280000025600000222001900030020001D00180000000000FFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6C00006C0000FFFFFFFFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFF6C00006C0000FFFFFF6C00006C00006C0000FFFFFFFFFFFF6C0000FFFFFFFFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFF6C00006C00006C0000FFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFFFFFFFF6C0000FFFFFFFFFFFF6C00006C0000FFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000003FCD4DC9BFA950957FAD5895BFA9C4953FAC98893F0000003F - - Controls - <menus>\Controls - - - - Functions - <menus>\Categories - - - false - false - - - - true - true - true - true - true - true - false - true - true - true - true - true - true - - - false - false - false - false - - - true - {product_name} {version_number} -{author_name} - {company_name} -{copyright} - - - - - \ No newline at end of file diff --git a/.github/workflows/labview-ci.yml b/.github/workflows/labview-ci.yml index fd8ae1a..110db1a 100644 --- a/.github/workflows/labview-ci.yml +++ b/.github/workflows/labview-ci.yml @@ -1,6 +1,9 @@ -# This is a basic workflow to help you get started with Actions +# LabVIEW CI 工作流:合并自 Check_Broken_VIs.yml 与 Build_VIPM_Library.yml +# 两个阶段(Check_Broken_VIs / Build-VIPM-Library)合并为单个 job, +# 保证所有步骤在同一台自托管 runner、同一工作区串行执行: +# 先检查损坏的 VI(CheckBroken)→ 再构建 VIP(Build)→ 最后上传 Artifact 并备份 FTP -name: Check_Broken_VIs +name: labview-ci # 同一分支/标签的多次触发只保留最新一次运行:新 push 自动取消进行中的上一次运行, # 避免多次提交在自托管 runner 上重复构建、排队积压(与 usermanual-ci.yml 同款配置) @@ -16,7 +19,6 @@ on: - '**.md' - '**.txt' - '**.drawio' - - '**.vipb' - '**.png' - '**.svg' - '**.json' @@ -31,25 +33,30 @@ on: - '**.md' - '**.txt' - '**.drawio' - - '**.vipb' - '**.png' - '**.svg' - '**.json' - '**.yml' - 'SDK/**/*' + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + # 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" - Check_Broken_VIs: + # 合并 Check_Broken_VIs / Build-VIPM-Library 为单个 job, + # 保证所有步骤在同一台自托管 runner、同一工作区串行执行 + LABVIEW-CI: # The type of runner that the job will run on runs-on: [self-hosted, lv2020] + timeout-minutes: 120 # 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 + - uses: actions/checkout@v4 + # 安装依赖包(一次,供检查 / 构建共用) - uses: NEVSTOP-LAB/InstallNevstopPackage@main with: LabVIEW_Version: 2020 @@ -59,10 +66,9 @@ jobs: PackageName1: CSM-MassData-Parameter-Support PackageName2: CSM-API-String-Arguments-Support PackageName3: CSM-INI-Static-Variable-Support - PackageName4: NEVSTOP-Programming-Palette - # Runs a set of commands using the runners shell - - id: Check_Broken_VIs + # 1. 检查仓库中是否有损坏的 VI + - id: check-broken-vis uses: LV-APT/lvCICD@main with: LabVIEW_Version: 2020 @@ -71,3 +77,38 @@ jobs: Parameter2: NOPASSWORD Parameter3: YES Parameter4: -placeContent + + # 2. 构建 VIPM Library:依据仓库根目录的 CSMScript-Lite.vipb 打包为 .vip + # 产物输出到 $GITHUB_WORKSPACE/vip/(即本地 ./vip/) + - name: BuildDailyVIP + id: build-vip + uses: NEVSTOP-LAB/vipm-BuildViPackage@main + with: + LabVIEW_Version: 2020 + VipbPath: ${{ github.workspace }} + + # 获取 CI_REPOSITORY_OWNER_SLUG / CI_REPOSITORY_NAME / CI_ACTION_REF_NAME(FTP 备份目录用) + - uses: FranzDiebold/github-env-vars-action@v2.8.0 + + # 3. 上传构建产物(.vip)为 Artifact + - name: Upload a Build Artifact + uses: actions/upload-artifact@v4 + with: + # Artifact name + name: ${{ steps.build-vip.outputs.vipName }} + path: ${{ steps.build-vip.outputs.vipPathName }} + # The desired behavior if no files are found using the provided path. + if-no-files-found: warn + retention-days: 90 + + # 4. 备份构建产物到 FTP:/{org}/{repo}/{branch|tag}/ + - name: backup Build Artifact by ftp + uses: dennisameling/ftp-upload-action@v1.0.9 + with: + server: ${{ secrets.VIPM_FTP_IP }} + port: ${{ secrets.VIPM_FTP_PORT }} + username: ${{ secrets.VIPM_FTP_USER }} + password: ${{ secrets.VIPM_FTP_PASSWORD }} + secure: false + server_dir: /${{ env.CI_REPOSITORY_OWNER_SLUG }}/${{ env.CI_REPOSITORY_NAME }}/${{ env.CI_ACTION_REF_NAME }}/ + local_dir: ./vip/ diff --git a/App/Launcher.vi b/App/Launcher.vi deleted file mode 100644 index 5ede49b..0000000 Binary files a/App/Launcher.vi and /dev/null differ diff --git a/CSMScript-Lite.lvproj b/CSMScript-Lite.lvproj index 1c0c5ae..60031d5 100644 --- a/CSMScript-Lite.lvproj +++ b/CSMScript-Lite.lvproj @@ -1,5 +1,7 @@  + true + 3 true @@ -11,13 +13,14 @@ true true false - + true true + @@ -84,16 +87,17 @@ - - - - - + + + + + + diff --git a/CSMScript-Lite.vipb b/CSMScript-Lite.vipb new file mode 100644 index 0000000..b3adf5e --- /dev/null +++ b/CSMScript-Lite.vipb @@ -0,0 +1,220 @@ + + + NEVSTOP_lib_CSMScript_Lite + 2026.1.0.8 + false + src + vip + NEVSTOP + + Apache-2.0 + 20.0 + true + 00000D7E002800000C9A00000400000200020022002200080000000000FFFFFF00FF80000000FFFFFFFFFFFF0000FFFFFFFFCCCC0000FFFFFFFF99990000FFFFFFFF66660000FFFFFFFF33330000FFFFFFFF00000000FFFFCCCCFFFF0000FFFFCCCCCCCC0000FFFFCCCC99990000FFFFCCCC66660000FFFFCCCC33330000FFFFCCCC00000000FFFF9999FFFF0000FFFF9999CCCC0000FFFF999999990000FFFF999966660000FFFF999933330000FFFF999900000000FFFF6666FFFF0000FFFF6666CCCC0000FFFF666699990000FFFF666666660000FFFF666633330000FFFF666600000000FFFF3333FFFF0000FFFF3333CCCC0000FFFF333399990000FFFF333366660000FFFF333333330000FFFF333300000000FFFF0000FFFF0000FFFF0000CCCC0000FFFF000099990000FFFF000066660000FFFF000033330000FFFF000000000000CCCCFFFFFFFF0000CCCCFFFFCCCC0000CCCCFFFF99990000CCCCFFFF66660000CCCCFFFF33330000CCCCFFFF00000000CCCCCCCCFFFF0000CCCCCCCCCCCC0000CCCCCCCC99990000CCCCCCCC66660000CCCCCCCC33330000CCCCCCCC00000000CCCC9999FFFF0000CCCC9999CCCC0000CCCC999999990000CCCC999966660000CCCC999933330000CCCC999900000000CCCC6666FFFF0000CCCC6666CCCC0000CCCC666699990000CCCC666666660000CCCC666633330000CCCC666600000000CCCC3333FFFF0000CCCC3333CCCC0000CCCC333399990000CCCC333366660000CCCC333333330000CCCC333300000000CCCC0000FFFF0000CCCC0000CCCC0000CCCC000099990000CCCC000066660000CCCC000033330000CCCC0000000000009999FFFFFFFF00009999FFFFCCCC00009999FFFF999900009999FFFF666600009999FFFF333300009999FFFF000000009999CCCCFFFF00009999CCCCCCCC00009999CCCC999900009999CCCC666600009999CCCC333300009999CCCC0000000099999999FFFF000099999999CCCC0000999999999999000099999999666600009999999933330000999999990000000099996666FFFF000099996666CCCC0000999966669999000099996666666600009999666633330000999966660000000099993333FFFF000099993333CCCC0000999933339999000099993333666600009999333333330000999933330000000099990000FFFF000099990000CCCC000099990000999900009999000066660000999900003333000099990000000000006666FFFFFFFF00006666FFFFCCCC00006666FFFF999900006666FFFF666600006666FFFF333300006666FFFF000000006666CCCCFFFF00006666CCCCCCCC00006666CCCC999900006666CCCC666600006666CCCC333300006666CCCC0000000066669999FFFF000066669999CCCC0000666699999999000066669999666600006666999933330000666699990000000066666666FFFF000066666666CCCC0000666666669999000066666666666600006666666633330000666666660000000066663333FFFF000066663333CCCC0000666633339999000066663333666600006666333333330000666633330000000066660000FFFF000066660000CCCC000066660000999900006666000066660000666600003333000066660000000000003333FFFFFFFF00003333FFFFCCCC00003333FFFF999900003333FFFF666600003333FFFF333300003333FFFF000000003333CCCCFFFF00003333CCCCCCCC00003333CCCC999900003333CCCC666600003333CCCC333300003333CCCC0000000033339999FFFF000033339999CCCC0000333399999999000033339999666600003333999933330000333399990000000033336666FFFF000033336666CCCC0000333366669999000033336666666600003333666633330000333366660000000033333333FFFF000033333333CCCC0000333333339999000033333333666600003333333333330000333333330000000033330000FFFF000033330000CCCC000033330000999900003333000066660000333300003333000033330000000000000000FFFFFFFF00000000FFFFCCCC00000000FFFF999900000000FFFF666600000000FFFF333300000000FFFF000000000000CCCCFFFF00000000CCCCCCCC00000000CCCC999900000000CCCC666600000000CCCC333300000000CCCC0000000000009999FFFF000000009999CCCC0000000099999999000000009999666600000000999933330000000099990000000000006666FFFF000000006666CCCC0000000066669999000000006666666600000000666633330000000066660000000000003333FFFF000000003333CCCC0000000033339999000000003333666600000000333333330000000033330000000000000000FFFF000000000000CCCC0000000000009999000000000000666600000000000033330000EEEE000000000000DDDD000000000000BBBB000000000000AAAA0000000000008888000000000000777700000000000055550000000000004444000000000000222200000000000011110000000000000000EEEE000000000000DDDD000000000000BBBB000000000000AAAA0000000000008888000000000000777700000000000055550000000000004444000000000000222200000000000011110000000000000000EEEE000000000000DDDD000000000000BBBB000000000000AAAA0000000000008888000000000000777700000000000055550000000000004444000000000000222200000000000011110000EEEEEEEEEEEE0000DDDDDDDDDDDD0000BBBBBBBBBBBB0000AAAAAAAAAAAA000088888888888800007777777777770000555555555555000044444444444400002222222222220000111111111111000000000000000000F881818181818181818181818181818181818181818181818181818181F800F8810000000000000000000000000000000000000000000000000000000081F881000000000000000000000000000000000000000000000000000000000000818100000000000000000000000000000000000000000000C900000000000000818100000000000000000000000000000000000000000000000000000000C9008181C9C900C9C900C9C9C9C90000C9C90000C9C900C9C900C900C9C90000C9C981C9000000C90000C900C900C900C90000C9000000C90000C900C900C900C9008181C9C9C9C90000C900C900C9C9C9000000C9C900C90000C900C9C9000000C98181000000000000000000000000000000000000000000000000C90000000000818100C900C90000000000000000000000000000000000000000000000000000818100C9000000C9000000000000000000000000000000000000000000000000818100C900C900C9C90000C90000000000000000000000000000000000000000818100C900C900C90000C900C900000000000000000000000000000000000000818100C900C90000C900C9C9000000FFFFFFFFFFFFFFFFFFFFFF000000000000818100000000000000000000000000FF000000000000000000FF000000000000818100000000000000000000000000FF00000000000000C500FF000000000000818100717100000000000000000000FF0000000000B9C5C5000000D200000000818100717100717171717171717100FF00C5B900B9C5C5000000D2D200000000818100000000000000000000000000FF00C5C5B9C5C5000000D2D2D2D2D20000818100717100000000000000000000FF0000C5C5C50000000000D2D20000D200818100717100717171717171717100FF000000C500000000000000D20000D200818100000000000000000000000000FF000000000000000000FF00000000D200818100232300000000000000000000FF000023230000232300FF00000000D200818100232300232323232323232300FF000000230023230000FF00000000D200818100000000000000000000000000FF000000232300000000FF00000000D200818100FFFF00000000000000000000FF000023232323000000FF00D2D2D20000818100FFFF00FFFFFFFFFFFFFFFF00FF002323000023230000FF000000000000818100000000000000000000000000FF000000000000000000FF000000000000818100000000000000000000000000FFFFFFFFFEFEFEFEFEFEFF0000000000008181F600000000000000000000000000000000000000000000000000000000F681F881F60000000000000000000000000000000000000000000000000000F681F800F881818181818181818181818181818181818181818181818181818181F8007FFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFE002900000012000000020000000D01000000000100000000000A000000080000000000240024002900000012000000020000000D00FAFAFA00010000000000100000001000000002002300000000000000000023002900000012000000020000000D00FFFFFF00010000000000100000001000000002002200010001000100010022002900000012000000020000000D00FAFAFA00010000000000100000001000000002000000240024002400240000002900000012000000020000000D00F8F8F800010000000000100000001000000002000100230023002300230001 + CSMScript-Lite + true + LabVIEW + false + + + + + nevstop_lib_communicable_state_machine >=2026.6.4.94912 + nevstop_lib_csm_api_string_arguments_support >=2026.4.10.111716 + nevstop_lib_csm_ini_static_variable_support >=2026.4.10.115919 + nevstop_lib_csm_massdata_parameter_support >=2026.4.10.112743 + + + + + + + + + + CSMScript-Lite.vipc + + CSMScript-Lite is a lightweight script execution engine built on the Communicable State Machine (CSM) framework. + CSMScript-Lite is a lightweight script execution engine built on the Communicable State Machine (CSM) framework. It executes flexible CSM-based test scripts to automate testing workflows, and also serves as a practical demonstration of CSM's capabilities. The design concept is similar to NI TestStand. + +This project includes: + +<b>CSMScript-Lite Library</b> - A lightweight CSM script execution engine, itself implemented as a CSM module. + - Engine: Core execution engine that parses and runs CSM scripts, managing test state and results. + - UI (ExecutionView): User interface for script management, execution control, and result viewing. + - App: A sample application demonstrating how to use the CSMScript library. +<b>Example Projects</b> - Demonstrate how to combine CSMScript-Lite with other CSM modules for script-driven automated testing. + + NEVSTOP + https://github.com/NEVSTOP-LAB/CSMScript-Lite + [add] #23 Export "Net Address" for bind server to network adapter. + + + + false + true + <user.lib>\_NEVSTOP\Communicable State Machine(CSM)\addons\CSMScript(Lite) + + + false + true + <application>\examples\NEVSTOP\Communicable State Machine(CSM)\CSMScript-Lite Example + + + false + true + + + + true + + + + true + + + + false + true + + + + false + true + + + + false + true + + + + false + true + + + + false + true + + + + false + true + + + + false + true + + + + CSMTools + false + true + <user.lib>\_NEVSTOP\Communicable State Machine(CSM)\_tool + + + + + . + 0 + false + 0 + + + _Example + 1 + false + 0 + + + . + + false + + + . + Prefix + + + + _docs + + + + + + _tool + + + _Example + + + LICENSE + + + + false + + + + + + <random:32> + false + + + + false + + + Default + false + + 00000504002900000012000000020000000D00FFFFFF000100000000000A00000008000000000020002000280000025600000222000000030007001D00180000000000FFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000FFFFFFFFFFFF000000000000FFFFFF000000FFFFFF000000FFFFFFFFFFFF000000000000FFFFFF000000000000000000FFFFFFFFFFFF000000FFFFFFFFFFFF000000000000FFFFFF000000FFFFFF000000FFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000FFFFFF000000000000FFFFFF000000FFFFFF000000000000FFFFFF000000FFFFFF000000FFFFFF000000000000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000000000FFFFFF000000FFFFFF000000FFFFFF000000FFFFFFFFFFFF000000000000000000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000FFFFFFFFFFFF000000FFFFFF000000FFFFFF000000000000FFFFFFFFFFFF000000FFFFFFFFFFFF000000000000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFF000000FFFFFFFFFFFF000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000003FCD4DC9BFA950957FAD5895BFA9C4953FAC98893F0000003F002900000012000000020000000D00CCCCFF000100000000000A00000008001900000020002000280000025600000222001900030020001D00180000000000FFFFFF0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6C00006C0000FFFFFFFFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFF6C00006C0000FFFFFF6C00006C00006C0000FFFFFFFFFFFF6C0000FFFFFFFFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFF6C00006C00006C0000FFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFF6C0000FFFFFF6C00006C0000FFFFFFFFFFFF6C0000FFFFFFFFFFFF6C00006C0000FFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFFFFFFFF6C0000FFFFFFFFFFFF6C0000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000003FCD4DC9BFA950957FAD5895BFA9C4953FAC98893F0000003F + + Controls + <menus>\Controls + + + + Functions + <menus>\Categories + + + false + false + + + + true + true + true + true + true + true + false + true + true + true + true + true + true + + + false + false + false + false + + + true + {product_name} {version_number} +{author_name} - {company_name} +{copyright} + + + + + \ No newline at end of file diff --git a/LICENSE b/LICENSE index 78e1cd2..261eeb9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,201 @@ -MIT License - -Copyright (c) 2026 NEVSTOP-LAB - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/_test/CSMStand(Lite)-test.lvlib b/_test/CSMStand(Lite)-test.lvlib index b4266c9..03ec3ec 100644 --- a/_test/CSMStand(Lite)-test.lvlib +++ b/_test/CSMStand(Lite)-test.lvlib @@ -3,6 +3,7 @@ )!#!!!!!!!)!"1!&!!!-!%!!!@````]!!!!"!!%!!!(]!!!*Q(C=\>8"<2MR%!813:!!O;K$1#V-#WJ",5Q,OPKI&K9&N;!7JA7VI";=JQVBZ"4F%#-ZG/O26X_ZZ$/87%>M\6P%FXB^VL\_NHV=@X<^39O0^N(_<8NZOEH@@=^_CM?,3)VK63LD->8LS%=_]J'0@/1N<XH,7^\SFJ?]Z#5P?=F,HP+5JTTF+5`Z>MB$(P+1)YX*RU2DU$(![)Q3YW.YBG>YBM@8'*\B':\B'2Z>9HC':XC':XD=&M-T0--T0-.DK%USWS(H'2\$2`-U4`-U4`/9-JKH!>JE<?!W#%;UC_WE?:KH?:R']T20]T20]\A=T>-]T>-]T?/7<66[UTQ//9^BIHC+JXC+JXA-(=640-640-6DOCC?YCG)-G%:(#(+4;6$_6)]R?.8&%`R&%`R&)^,WR/K<75?GM=BZUG?Z%G?Z%E?1U4S*%`S*%`S'$;3*XG3*XG3RV320-G40!G3*D6^J-(3D;F4#J,(T\:<=HN+P5FS/S,7ZIWV+7.NNFC<+.<GC0819TX-7!]JVO,(7N29CR6L%7,^=<(1M4#R*IFV][.DX(X?V&6>V&G>V&%>V&\N(L@_Z9\X_TVONVN=L^?Y8#ZR0J`D>$L&]8C-Q_%1_`U_>LP>WWPAO_0NB@$TP@4C`%`KH@[8`A@PRPA=PYZLD8Y![_ML^!!!!!! 536903680 1.0.0.0 + true diff --git a/src/APP/App.vi b/src/APP/App.vi index 1037a3f..315c5d2 100644 Binary files a/src/APP/App.vi and b/src/APP/App.vi differ diff --git a/src/Engine/Typedef/Def-Thread Data.ctl b/src/Engine/Typedef/Def-Thread Data.ctl index 38236a3..f2ae653 100644 Binary files a/src/Engine/Typedef/Def-Thread Data.ctl and b/src/Engine/Typedef/Def-Thread Data.ctl differ diff --git a/src/Engine/_Support/Time String to Millisecond.vi b/src/Engine/_Support/Time String to Millisecond.vi index b370ea5..6b2887d 100644 Binary files a/src/Engine/_Support/Time String to Millisecond.vi and b/src/Engine/_Support/Time String to Millisecond.vi differ diff --git a/src/Utility/Utility.mnu b/src/Utility/dir.mnu similarity index 62% rename from src/Utility/Utility.mnu rename to src/Utility/dir.mnu index 034146a..5fd5d71 100644 Binary files a/src/Utility/Utility.mnu and b/src/Utility/dir.mnu differ diff --git a/src/_Example/CSMScript-Lite Example.lvproj b/src/_Example/CSMScript-Lite Example.lvproj new file mode 100644 index 0000000..dc9a537 --- /dev/null +++ b/src/_Example/CSMScript-Lite Example.lvproj @@ -0,0 +1,97 @@ + + + + true + true + false + 0 + My Computer/VI Server + My Computer/VI Server + true + true + false + + true + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/App/CodeModules/HAL-AI.vi b/src/_Example/CodeModules/HAL-AI.vi similarity index 100% rename from App/CodeModules/HAL-AI.vi rename to src/_Example/CodeModules/HAL-AI.vi diff --git a/App/CodeModules/HAL-DIO.vi b/src/_Example/CodeModules/HAL-DIO.vi similarity index 100% rename from App/CodeModules/HAL-DIO.vi rename to src/_Example/CodeModules/HAL-DIO.vi diff --git a/App/CodeModules/MAL-TEST.vi b/src/_Example/CodeModules/MAL-TEST.vi similarity index 100% rename from App/CodeModules/MAL-TEST.vi rename to src/_Example/CodeModules/MAL-TEST.vi diff --git a/App/CodeModules/UI-Chart.vi b/src/_Example/CodeModules/UI-Chart.vi similarity index 100% rename from App/CodeModules/UI-Chart.vi rename to src/_Example/CodeModules/UI-Chart.vi diff --git a/src/_Example/Launcher.vi b/src/_Example/Launcher.vi new file mode 100644 index 0000000..826912b Binary files /dev/null and b/src/_Example/Launcher.vi differ diff --git a/App/csmscript/ai.csmscript b/src/_Example/csmscript/ai.csmscript similarity index 100% rename from App/csmscript/ai.csmscript rename to src/_Example/csmscript/ai.csmscript diff --git a/App/csmscript/ai2.csmscript b/src/_Example/csmscript/ai2.csmscript similarity index 100% rename from App/csmscript/ai2.csmscript rename to src/_Example/csmscript/ai2.csmscript diff --git a/App/csmscript/ai3.csmscript b/src/_Example/csmscript/ai3.csmscript similarity index 100% rename from App/csmscript/ai3.csmscript rename to src/_Example/csmscript/ai3.csmscript diff --git a/src/CSMStand(Lite).mnu b/src/dir.mnu similarity index 58% rename from src/CSMStand(Lite).mnu rename to src/dir.mnu index 417b43a..0dac392 100644 Binary files a/src/CSMStand(Lite).mnu and b/src/dir.mnu differ