Test Manager "ExecuteExternalCommand"

labview
2013-12-04
2013-12-19
  • labview - 2013-12-04

    Hi,

    I am trying to run Python script using Test Manager's "ExecuteExternalCommand" and I have an error message stated as,

    "The system can not fine the file specified"

    Basically,

    What I want to do is,

    1. Calling Python script i.e. DCSWITCH from a specified directory with an argument i.e. "SET{SWITCH1|MUXA|BANK1|CH101|CLOSE}".
      • python C:\SCP\SCP\34970A\DCSWITCH.py "SET{SWITCH1|MUXA|BANK1|CH101|CLOSE}"

    Hence,

    there is no issue when calling using command prompt.

    I have attached a screenshot.

    Please advice.

    IMG: TM.jpg

     
  • Anonymous - 2013-12-18

    Originally created by: M.Schaber

    Hi,

    Did you try to pass absolute pathes for both the python.exe and the script?

     
  • labview - 2013-12-19

    M.Schaber hat geschrieben:
    Hi,
    Did you try to pass absolute pathes for both the python.exe and the script?

    Hi Marcus,

    I have solved this issue

    Walter.

     

Log in to post a comment.