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 Feb 18, 2020 9:08 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Jan 21, 2020 1:03 pm 
Offline

Joined: Wed Dec 28, 2016 11:00 pm
Posts: 76
EDIT :

Dear support,

Would you be so kind to post a working example of python code to save an archive while calling CODESYS.exe with --noUi option?

Thank you in advance!

EDIT



Dear Forum,

When we run a testscript embedded in the CODESYS IDE , we can call
Code:
projects.primary.save_archive(path, name)

and the script will save our project as an archive.
When we run this same test script called agains the CODESYS IDE --noUI, the script fails and returns:
Code:
Error: Object reference not set to an instance of an object



With kind regards


Top
   
PostPosted: Tue Jan 28, 2020 11:49 am 
Offline
Frequent User
Frequent User

Joined: Tue Nov 13, 2012 9:20 am
Posts: 262
Hi.

Which version of CODESYS does throw the error?

BR
Martin

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

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


Top
   
PostPosted: Tue Jan 28, 2020 1:12 pm 
Offline

Joined: Wed Dec 28, 2016 11:00 pm
Posts: 76
Hi,

Currently we use 3.5.13.10


Top
   
PostPosted: Wed Jan 29, 2020 9:36 am 
Offline
Frequent User
Frequent User

Joined: Tue Nov 13, 2012 9:20 am
Posts: 262
Hi.

Does the error also occur with CODESYS 3.5.15.30?

BR
Martin

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

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


Top
   
PostPosted: Wed Jan 29, 2020 11:39 am 
Offline

Joined: Wed Dec 28, 2016 11:00 pm
Posts: 76
Hi,

Sadly, we cannot use that version, because it is installed in a offline environment.

Regards,


Hermsen


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


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