Skip to content

Commit

Permalink
Plan publish to vipm (#26)
Browse files Browse the repository at this point in the history
* separate compile code from source.

* 移动位置

* add license

* change deps

* update Build_VIPM_Library.yml

* update ymls

* update icon

* fix broken link
  • Loading branch information
nevstop committed Oct 11, 2023
1 parent 8c88aa8 commit 709e7f1
Show file tree
Hide file tree
Showing 69 changed files with 123 additions and 93 deletions.
38 changes: 27 additions & 11 deletions .github/workflows/Build_VIPM_Library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
- main
types: [closed]

push:
paths-ignore:
- '**.md'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -22,25 +26,23 @@ jobs:

# 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

# - name: vipm_InstallPackagesByName
# uses: LV-APT/lvCICD@main
# with:
# Operation: vipm_InstallPackagesByName
# Parameter1: 'Git API'

# Runs a set of commands using the runners shell
- name: Build VI Package
- name: BuildDailyVIP
id: build-vip
uses: LV-APT/lvCICD@main
with:
LabVIEW_Version: 2014
Operation: vipm_BuildVIPackage
Parameter1: ${{ github.workspace }}\LabVIEW-QuickDrops-Manager.vipb
Parameter2: DAILYBUILD
Parameter3: NO
Operation: vipm_BuildDailyVIP
Parameter1: ${{ github.workspace }}
Parameter2: NO

- id: vip-name
run:
Expand All @@ -57,3 +59,17 @@ jobs:
# 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/[email protected]
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/

13 changes: 8 additions & 5 deletions .github/workflows/Check_Broken_VIs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ name: Check_Broken_VIs
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
paths-ignore:
- '**.md'
- '**.txt'
- '**.drawio'
- '**.vipb'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -29,5 +31,6 @@ jobs:
LabVIEW_Version: 2014
Operation: VIAn_CheckBrokenVIs
Parameter1: ${{ github.workspace }}


Parameter2: NOPASSWORD
Parameter3: YES
Parameter4: -placeContent
1 change: 1 addition & 0 deletions LabVIEW-QuickDrops-Manager.lvproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<Project Type="Project" LVVersion="14008000">
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Property Name="NI.Project.Description" Type="Str"></Property>
<Property Name="SMProvider.SMVersion" Type="Int">201310</Property>
<Item Name="My Computer" Type="My Computer">
<Property Name="IOScan.Faults" Type="Str"></Property>
Expand Down
99 changes: 54 additions & 45 deletions LabVIEW-QuickDrops-Manager.vipb

Large diffs are not rendered by default.

32 changes: 1 addition & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

"NI LabVIEW palettes contain hundreds of useful VIs and functions, but, when you know the exact VI you need, navigating through the palette can take too much time. Quick Drop lets you rapidly find and place LabVIEW front panel and block diagram objects without navigating the palettes or initiating a search."

-- [Boost Productivity with Quick Drop](http://www.ni.com/tutorial/7423/en/)
-- [Boost Productivity with Quick Drop](https://www.ni.com/en/support/documentation/supplemental/08/boost-labview-productivity-with-quick-drop.html)

## Ctrl+Q QuickDrop Manager

Expand All @@ -19,7 +19,6 @@
1. Drag form QD list to key to change key assignment.
2. No need to Assign key to every QD, to support all your installed QDs. Type key words to execute QD.
3. QD usage Count.
4. Key Assignment Backup/Restore.

## Development Environment

Expand All @@ -30,7 +29,6 @@

- [OpenG Libraries](http://sine.ni.com/nips/cds/view/p/lang/zhs/nid/209027)
- [MGI Libraries](https://www.vipm.io/package/mgi_lib_mgi_library/)
- [JKI State Machine](https://github.com/JKISoftware/JKI-State-Machine)

### Default Key-QD Mapping

Expand Down Expand Up @@ -61,34 +59,6 @@
`Y` --> _Reserved_</br>
`Z` --> _Reserved_</br>

### Tools/NEVSTOP/QuickDrop Menu

```
Import QD Shortcuts.vi
Export QD Shortcuts.vi
-
Open LabVIEW Folder.vi
Open Customized Ini Tokens Folder.vi
Merge Tokens of Ini Files.vi
-
Update QuickDrop ShortCuts Hints.vi
```

- `Export QD ShortCuts`
Export customized shortcuts settings to ini file.
- `Import QD ShortCuts`
Import customized shortcuts settings from an ini file.

- `Open LabVIEW Folder.vi`
Open LabVIEW Folder to view the LabVIEW.ini and LabVIEW.ini.bk.txt files.
- `Open Customized Ini Tokens Folder.vi`
Open the folder of customized ini files.
- `Merge Tokens of Ini Files.vi`
Merge the selected ini tokens to LabVIEW.ini file.

- `Update QuickDrop ShortCuts Hints`
Update the Hints in Block Diagram Quick Drop Window after you change the Key-QD Mapping

## LabVIEW Built-in QuickDrops

### Insert
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.
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.
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.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<Property Name="NI.Lib.Icon" Type="Bin">&amp;!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!(]!!!*Q(C=\&gt;8"&lt;2MR%!813:!!O;K$1#V-#WJ",5Q,OPKI&amp;K9&amp;N;!7JA7VI";=JQVBZ"4F%#-ZG/O26X_ZZ$/87%&gt;M\6P%FXB^VL\_NHV=@X&lt;^39O0^N(_&lt;8NZOEH@@=^_CM?,3)VK63LD-&gt;8LS%=_]J'0@/1N&lt;XH,7^\SFJ?]Z#5P?=F,HP+5JTTF+5`Z&gt;MB$(P+1)YX*RU2DU$(![)Q3YW.YBG&gt;YBM@8'*\B':\B'2Z&gt;9HC':XC':XD=&amp;M-T0--T0-.DK%USWS(H'2\$2`-U4`-U4`/9-JKH!&gt;JE&lt;?!W#%;UC_WE?:KH?:R']T20]T20]\A=T&gt;-]T&gt;-]T?/7&lt;66[UTQ//9^BIHC+JXC+JXA-(=640-640-6DOCC?YCG)-G%:(#(+4;6$_6)]R?.8&amp;%`R&amp;%`R&amp;)^,WR/K&lt;75?GM=BZUG?Z%G?Z%E?1U4S*%`S*%`S'$;3*XG3*XG3RV320-G40!G3*D6^J-(3D;F4#J,(T\:&lt;=HN+P5FS/S,7ZIWV+7.NNFC&lt;+.&lt;GC0819TX-7!]JVO,(7N29CR6L%7,^=&lt;(1M4#R*IFV][.DX(X?V&amp;6&gt;V&amp;G&gt;V&amp;%&gt;V&amp;\N(L@_Z9\X_TVONVN=L^?Y8#ZR0J`D&gt;$L&amp;]8C-Q_%1_`U_&gt;LP&gt;WWPAO_0NB@$TP@4C`%`KH@[8`A@PRPA=PYZLD8Y![_ML^!!!!!!</Property>
<Property Name="NI.Lib.SourceVersion" Type="Int">335577088</Property>
<Property Name="NI.Lib.Version" Type="Str">1.0.0.0</Property>
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Property Name="NI.SortType" Type="Int">3</Property>
<Item Name="_Create References.vi" Type="VI" URL="/&lt;resource&gt;/dialog/QuickDrop/plugins/QD_Build Array of References/_support/_Create References.vi"/>
<Item Name="_Connect References to Build Array.vi" Type="VI" URL="/&lt;resource&gt;/dialog/QuickDrop/plugins/QD_Build Array of References/_support/_Connect References to Build Array.vi"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<Property Name="NI.Lib.Icon" Type="Bin">&amp;!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!)W!!!*Q(C=\&gt;7^&lt;2N"%-8R*]/!H,)$AV#C_,8!%ESYA]E6-&gt;6F&lt;'&amp;;9!P-"1@4!FNA#[@`,B?%#6OC!AGQ!?VR_@&amp;O&gt;`;HO]6*[OW&lt;^&amp;8TN@&lt;Q;HPL_6/BSV]8Z^NL@LBY`4&amp;`0IW=8ZU`HQO^M0Z@[\`MP^,UW4\&lt;`^U?LW\S$^`L.WI0)HL2ERZUKSUZ&amp;XG2&amp;XG2&amp;XG2*XG3*XG3*XG3"XG1"XG1"XG1G^TE*D?ZS5X?$X+2CVTEE)L&amp;CY7+IE7"9D!5&amp;7_&amp;J`!5HM,$4R7?QF.Y#E`B99A+4_%J0)7H]$".B;@Q&amp;*\#5XAIV386$X)]B9@S3DS**`%EHM4$EEI]#3":,#G=&amp;)'BZ'4S*@%EHM4$6S7?R*.Y%E`CY&lt;134_**0)EH]4#F8Z8MGH;1Y['-!E`A#4S"*`"17I%H]!3?Q".Y7%["*`!%C'$"I$A%":/#!='0Q".Y_&amp;$A#4S"*`!%(E\V/R4^SD2./]DR')`R')`R'!]F:$T'9TT'9TS5F@%9D`%9D`'QF)T(?)T(1-SC,#^4T%QUAURA0,T[&lt;H'`3^EF\I=U.K`'JN49&lt;"K&lt;3'.T;.RUD:OJ=:-U,L\'2&gt;7Y7"I81?/0UU"L9$17U:D="OL)_Y'_J_`I7`K'PK;P[%P[IEV^ZY((YV'(QU(\`6[\X5\&lt;\6;&lt;T5&lt;L^6KLV5L,Z6+,R?,]'0D/=8YAH*Z,DXRP@8K[P:HO\[&lt;JVU]_@UT4U^X5]A`_(`Q00"PV2&lt;`8ZRI^!Q\$FG]!!!!!</Property>
<Property Name="NI.Lib.SourceVersion" Type="Int">335577088</Property>
<Property Name="NI.Lib.Version" Type="Str">1.0.0.0</Property>
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Property Name="NI.SortType" Type="Int">3</Property>
<Item Name="Create References.vi" Type="VI" URL="/&lt;resource&gt;/dialog/QuickDrop/plugins/QD_Build Cluster of References/_Support/Create References.vi"/>
<Item Name="Connect References to Bundle By Name.vi" Type="VI" URL="/&lt;resource&gt;/dialog/QuickDrop/plugins/QD_Build Cluster of References/_Support/Connect References to Bundle By Name.vi"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<Property Name="NI.Lib.Icon" Type="Bin">&amp;!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!(]!!!*Q(C=\&gt;7R=2MR%!81N=?"5X&lt;A91P&lt;!FNA#^M#5Y6M96NA"R[WM#WQ"&lt;9A0ZYR'E?G!WPM1$AN&gt;@S(!ZZQG&amp;0%VLZ'@)H8:_X\&lt;^P(^7@8H\4Y;"`NX\;8JZPUX@@MJXC]C.3I6K5S(F/^DHTE)R`ZS%@?]J;XP/5N&lt;XH*3V\SEJ?]Z#F0?=J4HP+5&lt;Y=]Z#%0/&gt;+9@%QU"BU$D-YI-4[':XC':XB]D?%:HO%:HO(2*9:H?):H?)&lt;(&lt;4%]QT-]QT-]BNIEMRVSHO%R@$20]T20]T30+;.Z'K".VA:OAW"%O^B/GK&gt;ZGM&gt;J.%`T.%`T.)`,U4T.UTT.UTROW6;F.]XDE0-9*IKH?)KH?)L(U&amp;%]R6-]R6-]JIPC+:[#+"/7Q2'CX&amp;1[F#`&amp;5TR_2@%54`%54`'YN$WBWF&lt;GI8E==J\E3:\E3:\E-51E4`)E4`)EDW%D?:)H?:)H?5Q6S:-]S:-A;6,42RIMX:A[J3"Z`'S\*&lt;?HV*MENS.C&lt;&gt;Z9GT,7:IOVC7*NDFA00&gt;&lt;$D0719CV_L%7.N6CR&amp;C(7(R=,(1M4;Z*9.T][RNXH46X62:X632X61?X6\H(L8_ZYP^`D&gt;LP&amp;^8K.S_53Z`-Z4K&gt;4()`(/"Q/M&gt;`P9\@&lt;P&lt;U'PDH?8AA`XUMPTP_EXOF`[8`Q&lt;IT0]?OYVOA(5/(_Z!!!!!!</Property>
<Property Name="NI.Lib.SourceVersion" Type="Int">335577088</Property>
<Property Name="NI.Lib.Version" Type="Str">1.0.0.0</Property>
<Property Name="NI.LV.All.SourceOnly" Type="Bool">false</Property>
<Property Name="NI.LV.All.SourceOnly" Type="Bool">true</Property>
<Property Name="NI.SortType" Type="Int">3</Property>
<Item Name="Support" Type="Folder">
<Item Name="_Set Fp Cluster Autosizing Property.vi" Type="VI" URL="../_Set Fp Cluster Autosizing Property.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.
Loading

0 comments on commit 709e7f1

Please sign in to comment.