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

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 ธ.ค. 2024

ความคิดเห็น • 8

  • @meda3li
    @meda3li 5 ปีที่แล้ว +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  5 ปีที่แล้ว +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  5 ปีที่แล้ว +1

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

    • @meda3li
      @meda3li 5 ปีที่แล้ว +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!

  • @manisaipavan4758
    @manisaipavan4758 3 ปีที่แล้ว

    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

  • @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