Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Run a LabVIEW VI from Command-Line and Pass Parameters!
ChannelRashid MalikDescription from the creator
Sometimes we need to run a VI from the command-line terminal and we need to pass parameters to the VI so that it may do its designated job. We will learn how a command line called VI can retrieve the command line arguments that it was called with. We will learn how to separate the command line arguments, process them, sort them to be filled into its individual front panel controls, convert them from string (Commandline received) format to the controls-expected data formats. We need to set the command line called VI to run whenever it is called, we will see how that can be achieved.
#commandline #commandlineterminal #passingparameterstoVIoncommandline #dataconversion #runwhencalledproperty #runningVIfromcommandline #formatofcommandlinestring #callingVIfromcommandline #receivingcommandlineargumentsinVI #labviewexepath #creatingrelativepaths #labview #labviewtutorial #labviewforbeginners
Next, we will create another VI which we will use to create the command-line string that we will be passing to the command line VI from the terminal. For that, we would need to know where LabVIEW is located on our hard drive, its exact path, that would be used to call the command-line VI. Next we would be creating path to the command-line VI (programmatically); after that would come the actual argument names (control names that would be receiving the arguments), followed by the values that those controls would be receiving; we will learn how that whole command line string can be created, formatted and stitched together. Lastly, we will see a demo, where we will use the command-line string creating VI to generate the complete and properly formatted command-line string for us, we will then close LabVIEW, call windows command line, paste the string there and call the command-line VI, confirming that it is being loaded and receiving its command-line parameters properly.
#commandline #commandlineterminal #passingparameterstoVIoncommandline #dataconversion #runwhencalledproperty #runningVIfromcommandline #formatofcommandlinestring #callingVIfromcommandline #receivingcommandlineargumentsinVI #labviewexepath #creatingrelativepaths #labview #labviewtutorial #labviewforbeginners
Next, we will create another VI which we will use to create the command-line string that we will be passing to the command line VI from the terminal. For that, we would need to know where LabVIEW is located on our hard drive, its exact path, that would be used to call the command-line VI. Next we would be creating path to the command-line VI (programmatically); after that would come the actual argument names (control names that would be receiving the arguments), followed by the values that those controls would be receiving; we will learn how that whole command line string can be created, formatted and stitched together. Lastly, we will see a demo, where we will use the command-line string creating VI to generate the complete and properly formatted command-line string for us, we will then close LabVIEW, call windows command line, paste the string there and call the command-line VI, confirming that it is being loaded and receiving its command-line parameters properly.
About this tutorial
Rashid Malik published this 25:31 video tutorial on October 29, 2019. It has been watched 8,055 times on YouTube.
- Channel
- Rashid Malik
- Category
- Education
- Duration
- 25:31
- Published
- October 29, 2019
- Views
- 8,055
Tags
Share
This tutorial in other languages
- FRComment exécuter un VI LabVIEW de ligne de commande et passer des paramètres!
- ESCómo ejecutar un VI de LabVIEW desde la línea de comandos y parámetros Pass!
- PTComo executar um LabVIEW VI a partir de linha de comando e passar parâmetros!
- ITCome eseguire un LabVIEW VI da riga di comando e passare i parametri!
- DEWie ein LabVIEW VI Command-Line und Pass-Parameter starten!
- NLHow to Run een LabVIEW VI van Command-Line en Pass Parameters!
- RUКак запустить LabVIEW VI из командной строки и передать параметры!
- PLJak uruchomić LabVIEW VI z wiersza polecenia i przekazywać parametry!
- JAコマンドラインおよびパスパラメータからLabVIEWのVIを実行する方法!
- ARكيفية تشغيل ابفيف السادس من سطر الأوامر وتمرير معلمات!
- HIकैसे चलाने के लिए कमांड लाइन और दर्रा पैरामीटर से एक LabVIEW छठी!
- IDCara Jalankan LabVIEW VI dari Command-Line dan Lulus Parameter!