From 2ca45bc2ccfc7885b2560c4210c1b4fb109587da Mon Sep 17 00:00:00 2001 From: Austin Hill Date: Mon, 20 Oct 2025 11:09:16 -0500 Subject: [PATCH 1/7] Update runlabview.sh changed the VI analyzer config --- runlabview.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runlabview.sh b/runlabview.sh index 1144094..2672acd 100644 --- a/runlabview.sh +++ b/runlabview.sh @@ -1,5 +1,5 @@ #!/bin/bash -CONFIG_FILE='/workspace/Test-VIs/viaPassCase.viancfg' +CONFIG_FILE='/workspace/Test-VIs/VIAnalyzerCfgFile.viancfg' LABVIEW_PATH='/usr/local/natinst/LabVIEW-2025-64/labviewprofull' REPORT_PATH='/usr/local/natinst/ContainerExamples/Results.txt' MASSCOMPILE_DIR='/workspace/Test-VIs' From 15b38494070afa74c20dce9af4675256e235bda2 Mon Sep 17 00:00:00 2001 From: Austin Hill Date: Tue, 28 Oct 2025 02:30:12 -0500 Subject: [PATCH 2/7] Update vi-analyzer-container.yml update yaml to pull from official ni labview docker image --- .github/workflows/vi-analyzer-container.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/vi-analyzer-container.yml b/.github/workflows/vi-analyzer-container.yml index 7c1e7f4..b94e8bf 100644 --- a/.github/workflows/vi-analyzer-container.yml +++ b/.github/workflows/vi-analyzer-container.yml @@ -15,15 +15,15 @@ jobs: uses: actions/checkout@v3 # Authenticate to Docker Hub - - name: Log in to GitHub Container Registry - uses: docker/login-action@v2 - with: - registry: ghcr.io - username: ${{ secrets.GHCR_UNAME }} - password: ${{ secrets.GHCR_PAT }} + #- name: Log in to GitHub Container Registry + # uses: docker/login-action@v2 + # with: + # registry: ghcr.io + # username: ${{ secrets.GHCR_UNAME }} + #password: ${{ secrets.GHCR_PAT }} - name: Pull Docker Image from Docker Hub - run: docker pull ghcr.io/shivacode-2/labview:2025q3-linux-beta + run: docker pull nationalinstruments/labview:latest-linux - name: Run LabVIEWCLI Operations run: | From c4db1d9976410255923954fe3eff996a2c832b73 Mon Sep 17 00:00:00 2001 From: Austin Hill Date: Tue, 28 Oct 2025 02:33:31 -0500 Subject: [PATCH 3/7] Update vi-analyzer-container.yml update yaml to use public docker image --- .github/workflows/vi-analyzer-container.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vi-analyzer-container.yml b/.github/workflows/vi-analyzer-container.yml index b94e8bf..c1cf423 100644 --- a/.github/workflows/vi-analyzer-container.yml +++ b/.github/workflows/vi-analyzer-container.yml @@ -29,6 +29,6 @@ jobs: run: | docker run --rm \ -v "${{ github.workspace }}:/workspace" \ - ghcr.io/shivacode-2/labview:2025q3-linux-beta \ + nationalinstruments/labview:latest-linux \ bash -c "cd /workspace && chmod +x runlabview.sh && ./runlabview.sh" From c8de190f37d817241f67816356f7b24acb6159bf Mon Sep 17 00:00:00 2001 From: Austin Hill Date: Tue, 28 Oct 2025 02:55:25 -0500 Subject: [PATCH 4/7] replacing Test config file with passing test --- runlabview.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runlabview.sh b/runlabview.sh index 2672acd..1144094 100644 --- a/runlabview.sh +++ b/runlabview.sh @@ -1,5 +1,5 @@ #!/bin/bash -CONFIG_FILE='/workspace/Test-VIs/VIAnalyzerCfgFile.viancfg' +CONFIG_FILE='/workspace/Test-VIs/viaPassCase.viancfg' LABVIEW_PATH='/usr/local/natinst/LabVIEW-2025-64/labviewprofull' REPORT_PATH='/usr/local/natinst/ContainerExamples/Results.txt' MASSCOMPILE_DIR='/workspace/Test-VIs' From e9111eb84f62c8bf2370c753573c28be50fbed11 Mon Sep 17 00:00:00 2001 From: Austin Hill Date: Mon, 3 Nov 2025 20:36:11 +0800 Subject: [PATCH 5/7] Update runlabview.sh adding to LVContainer.txt --- runlabview.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runlabview.sh b/runlabview.sh index 1144094..c547e3d 100644 --- a/runlabview.sh +++ b/runlabview.sh @@ -11,6 +11,8 @@ if [ ! -f "$CONFIG_FILE" ]; then fi +echo "1" > /tmp/natinst/LVContainer.txt + echo "Running LabVIEWCLI MassCompile with following parameters:" echo "DirectorytoCompile: $MASSCOMPILE_DIR" From 8fa0305454e880e704703caa082361a082a3985e Mon Sep 17 00:00:00 2001 From: Austin Hill Date: Mon, 3 Nov 2025 20:44:26 +0800 Subject: [PATCH 6/7] Create temporary directory for LabVIEW compilation --- runlabview.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runlabview.sh b/runlabview.sh index c547e3d..f176168 100644 --- a/runlabview.sh +++ b/runlabview.sh @@ -10,7 +10,7 @@ if [ ! -f "$CONFIG_FILE" ]; then exit 1 fi - +mkdir -p "/tmp/natinst" echo "1" > /tmp/natinst/LVContainer.txt echo "Running LabVIEWCLI MassCompile with following parameters:" From e9b9e4b6bb6eec2a3c8c7a908c6885d342d978ae Mon Sep 17 00:00:00 2001 From: Austin Hill Date: Mon, 3 Nov 2025 21:01:12 +0800 Subject: [PATCH 7/7] Make LV CLI verbose --- runlabview.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runlabview.sh b/runlabview.sh index f176168..bdfd6fa 100644 --- a/runlabview.sh +++ b/runlabview.sh @@ -19,7 +19,8 @@ echo "DirectorytoCompile: $MASSCOMPILE_DIR" OUTPUT_MASSCOMPILE=$(LabVIEWCLI -LogToConsole TRUE \ -OperationName MassCompile \ -DirectoryToCompile $MASSCOMPILE_DIR \ --LabVIEWPath $LABVIEW_PATH) +-LabVIEWPath $LABVIEW_PATH \ +-Verbosity Diagnostic) echo " " echo "Done Running Masscompile Operation"