Skip to content

Commit

Permalink
v3.0.0 (#1)
Browse files Browse the repository at this point in the history
* going to merge to lv2017

* reorg api

* code validated

* update location

* add yml

* updata yml

* update yml

* add ExpressionAPI/dir.mnu

* Add Menu Operation Funcs

* update testVI

* more operations

* uisyncAPI

* #5

* Bool 可以使用在 Experssion VI 中 #4

* #6

* fix broken https://github.com/NEVSTOP-LAB/LabVIEW-TagDB-RefMgr/actions/runs/4588503639

* #3

* update deps

* UPDATE VIPM_Job.yml
  • Loading branch information
nevstop authored May 3, 2023
1 parent fb84fb1 commit 8ad0db4
Show file tree
Hide file tree
Showing 131 changed files with 573 additions and 172 deletions.
117 changes: 117 additions & 0 deletions .github/workflows/VIPM_Job.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
# This is a basic workflow to help you get started with Actions

name: LabVIEW VIPM Repo Jobs

# 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]

push:
paths-ignore:
- '**.md'
- '**.txt'
- '**.drawio'
- '**.vipb'

# 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:

intall_deps:
runs-on: [self-hosted, lv2017]
steps:
- uses: NEVSTOP-LAB/InstallNevstopPackage@main
with:
LabVIEW_Version: 2017
NEVSTOP-FTP-IP: ${{ secrets.VIPM_FTP_IP }}
NEVSTOP-FTP-PORT: ${{ secrets.VIPM_FTP_PORT }}
PackageName: NEVSTOP-3rdParty-Dependencies
PackageName1: NEVSTOP-Programming-Palette
PackageName2: LabVIEW-TagDB

# This workflow contains a single job called "build"
Check_Broken_VIs:

needs: intall_deps
# 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

# Runs a set of commands using the runners shell
- id: Check_Broken_VIs
uses: LV-APT/lvCICD@main
with:
LabVIEW_Version: 2017
Operation: VIAn_CheckBrokenVIs
Parameter1: ${{ github.workspace }}
Parameter2: NOPASSWORD
Parameter3: YES
Parameter4: -placeContent

# This workflow contains a single job called "build"
Build_VIPM_Library:

needs: Check_Broken_VIs
# 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:

# Get env variables
# https://github.com/marketplace/actions/github-environment-variables-action
- uses: FranzDiebold/github-env-vars-action@v2

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

# Runs a set of commands using the runners shell
- name: BuildDailyVIP
id: build-vip
uses: LV-APT/lvCICD@main
with:
LabVIEW_Version: 2017
Operation: vipm_BuildDailyVIP
Parameter1: ${{ github.workspace }}
Parameter2: NO

- id: vip-name
run:
$vipName=Split-Path -Path ${{ steps.build-vip.outputs.Result }} -Leaf;
Write-Host "::set-output name=vipName::"$vipName""
shell: powershell

- name: Upload a Build Artifact
uses: actions/upload-artifact@v3.0.0
with:
# Artifact name
name: ${{ steps.vip-name.outputs.vipName }}
path: ${{ steps.build-vip.outputs.Result }}
# 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/

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,4 @@ ipch/
Storage
_Ignore
Build
/vip/*.vip
File renamed without changes.
Binary file modified Documentation/vip icon/refMgr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
132 changes: 88 additions & 44 deletions src/refMgr.lvproj → LabVIEW-TagDB-RefMgr.lvproj

Large diffs are not rendered by default.

211 changes: 211 additions & 0 deletions LabVIEW-TagDB-RefMgr.vipb

Large diffs are not rendered by default.

Binary file added src/Example/refMgr/MENU.rtm
Binary file not shown.
Binary file modified src/Example/refMgr/SubVI.vi
Binary file not shown.
26 changes: 26 additions & 0 deletions src/Example/refMgr/UI.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
!!!,,,,VI(),Ctrls(Boolean*),Ctrls(Boolean 0),Ctrls(Boolean 1),Ctrls(Boolean 2),Ctrls(Boolean 3),Ctrls(Boolean 4),Ctrls(Boolean 5),Ctrls(Boolean 6),Menu(TEST1),Menu(TEST2)
#,˵��,#״̬,,���㹫ʽ,���㹫ʽ,���㹫ʽ,���㹫ʽ,���㹫ʽ,���㹫ʽ,���㹫ʽ,���㹫ʽ,���㹫ʽ,���㹫ʽ,���㹫ʽ
State,,0,0,Enable(),Enable(),Grayout(),,,,,,,ToggleEnable(),
State,,0,1,,,,,,,,,,,
State,,0,2,,,Enable(),,,,,,,,ToggleEnable()
State,,1,0,,,,Grayout(),,,,,,,
State,,1,1,,,,,,,,,,,
State,,1,2,,,,,,,,,,ToggleEnable(),
State,,2,0,,,,Enable(),Grayout(),,,,,,
State,,2,1,,,,,,,,,,,ToggleEnable()
State,,2,2,,,,,,,,,,,
State,,3,0,,,,,Enable(),Grayout(),,,,,
State,,3,1,,,,,,,,,,ToggleEnable(),
State,,3,2,,,,,,,,,,,
State,,4,0,,,,,,Enable(),Grayout(),,,,ToggleEnable()
State,,4,1,,,,,,,,,,,
State,,4,2,,,,,,,,,,,
State,,5,0,,,,,,,Enable(),Grayout(),,ToggleEnable(),
State,,5,1,,,,,,,,,,,
State,,5,2,,,,,,,,,,,ToggleEnable()
State,,6,0,,,,,,,,Enable(),Grayout(),,
State,,6,1,,,,,,,,,,,
State,,6,2,,,,,,,,,,ToggleEnable(),
State,,7,0,Minimizable(False),,,,,,,,,,
State,,7,1,,,,,,,,,,,ToggleEnable()
State,,7,2,Minimizable(True),,,,,,,,,,
Binary file modified src/Example/refMgr/refMgr_Example1.vi
Binary file not shown.
Binary file modified src/Example/refMgr/refMgr_Example2.vi
Binary file not shown.
Binary file added src/Example/refMgr/refMgr_Example3.2.vi
Binary file not shown.
Binary file added src/Example/refMgr/refMgr_Example3.vi
Binary file not shown.
Binary file added src/Example/refMgr/refMgr_Example4.vi
Binary file not shown.
Binary file added src/Example/refMgr/refMgr_Example5.vi
Binary file not shown.
Binary file added src/Example/refMgr/refMgr_Example6.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 added src/RefManager/ExpressionAPI/dir.mnu
Binary file not shown.
Loading

0 comments on commit 8ad0db4

Please sign in to comment.