How to Run a LabVIEW VI from Command-Line and Pass Parameters!

Поділитися
Вставка
  • Опубліковано 28 сер 2024

КОМЕНТАРІ • 8

  • @meda3li
    @meda3li 4 роки тому +1

    Hi!!
    Thank you for this useful tuto, but i have a little question !!
    Is it mandatory to make the second VI or it is just to generate the command for cmd (to make it easier)??

    • @RashidMalik-LabVIEW
      @RashidMalik-LabVIEW  4 роки тому +1

      If you can generate the correct syntax for command line calling a VI then you don't need that second VI, it is a helper VI. Maybe you can use the command line string generator VI to generate a command line string once, store it some place as a template and then reuse it by just changing the name of the vi you are working with at that particular moment.

    • @RashidMalik-LabVIEW
      @RashidMalik-LabVIEW  4 роки тому +1

      And thanks for your visit, have a great day! 😀

    • @meda3li
      @meda3li 4 роки тому +1

      Loud and clear, sir!! Thank you very much 🙏🙏🙏🙏

  • @snazzfab
    @snazzfab Рік тому

    Thank you so much for this help
    Just to be clear you must build into an EXE for it to accept args.
    Hope this helps anyone that was stumped like me.
    again, thank you Sir!

  • @vishalbajaj4231
    @vishalbajaj4231 2 роки тому +1

    Hi,
    Can I create a batch file in notepad or something and then call it in Command line instead of creating that helper VI in LabVIEW which will generate my commands? If yes can we have a video on this? Thanks

    • @RashidMalik-LabVIEW
      @RashidMalik-LabVIEW  2 роки тому +1

      Sure you can by using System Exec VI. Find the details here;
      knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YGivCAG&l=en-PK

  • @manisaipavan4758
    @manisaipavan4758 2 роки тому

    Hi sir.
    I need information like getting the voltages data through commands through USB to labview.
    And also how can we create some commands to get the some data