CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Sun May 28, 2017 5:24 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: extern embedded Files
PostPosted: Tue Aug 30, 2016 11:34 am 
Offline

Joined: Wed Aug 03, 2016 3:00 pm
Posts: 8
I want to embedd an extern file with a python script.

I used the workaround mentioned in an other thread to add an object:
-create export of an object to use it as a template.
I see in the export is only the locoation of the file stored, not its content.

But when i delete my embedded object and reimport it with the export file, the altered content of the extern file is not loaded.

It only works when i close the project and open it again, but then the file is not embedded anymore but linked.

Now i also realize that i can not update an embedded extern file without scripting. Neither with using the update function for embedded files nor with adding the altered file again.

As i can not manipulate object content (of txt files for example) nor can i import manipulated objects, what is the right way to get access to the content?


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 5 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