LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling a VI with arguments Mac

We're using the LV2021 and the JKI tester to run tests from a project containing all the test classes.

 

To keep things simple I've stripped away everything from our TestRunner.vi(takes in a log file and the project path) and left only the Application:CommandLineArguments property node on it's diagram connected to an indicator.

The problem we're running into is that LabVIEW seems to treat what should be custom arguments after (--) as something that it needs to open itself, so basically it tries to load the project into memory although it should only pass the path down to TestRunner.vi

This is my command:

/Applications/National\ Instruments/LabVIEW\ 2021\ 64-bit/LabVIEW.app/Contents/MacOS/LabVIEW /Users/jenkins/Perforce/mainline/VIs/TestRunner.vi -- “/Users/jenkins/Perforce/mainline/VIs/vi_pipe_104734.txt” “/Users/jenkins/Perforce/DEV21/System/All_Unit_Tests.lvproj”

“/var/folders/pp/mmhm0mts54g08gh86czgyp4h0000gn/T/tmp1668613654.log”

 

Any help is appreciated.
Lucian

 

 

0 Kudos
Message 1 of 1
(634 Views)