CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Sep 17, 2019 11:56 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Dec 04, 2013 8:47 am 
Offline

Joined: Thu Sep 12, 2013 9:54 am
Posts: 12
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.


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Wed Dec 18, 2013 12:28 pm 
Offline
Frequent User
Frequent User
User avatar

Joined: Fri Mar 18, 2011 4:12 pm
Posts: 266
Hi,

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

_________________
Check out the CODESYS store: http://store.codesys.com/

CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions


Top
   
PostPosted: Thu Dec 19, 2013 6:42 pm 
Offline

Joined: Thu Sep 12, 2013 9:54 am
Posts: 12
M.Schaber wrote:
Hi,

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


Hi Marcus,

I have solved this issue :)

Walter.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited