Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66860

XControls with LabVIEW CLI

$
0
0

Hello,

 

I am using a CLI command to build two build specifications in sequence. This command will later be used with a Jenkins server to automate the build process.

 

SET cur_dir=%cd%
echo %cur_dir%

LabVIEWCLI -LogToConsole true -OperationName ExecuteBuildSpec -ProjectPath "%cur_dir%\LVProj.lvproj" -BuildSpecName "BuildSpec"
LabVIEWCLI -LogToConsole true -OperationName ExecuteBuildSpec -ProjectPath "%cur_dir%\LVProj.lvproj" -BuildSpecName "BuildSpec2"

 

The issue is that the program uses XControls, and the user has to manually "Apply Changes" to one of the XControls on startup of the project to fix the error (below). This isn't an issue normally, but the ExecuteBuildSpec command launches LabVIEW and tries to build the first build specification with the error, causing the overall build to fail.

 

XControl Reset State.png

 

Is there a way to "Apply Changes" programmatically with a command/VI? Alternatively, what can be changed with the XControl to stop the need for applying changes?


Viewing all articles
Browse latest Browse all 66860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>