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 Thu Dec 12, 2019 10:24 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed Mar 06, 2019 11:39 am 
Offline

Joined: Fri Jun 29, 2018 7:22 am
Posts: 15
Hello

I'm trying to set up a download server for my own libraries.
I've added it in the options under 'library download'
I've created a pathing system similar to the one seen in C:\ProgramData\CODESYS\Managed Libraries
I've added index files to the root path and all subdirectories containing info on directories and files. (as shown in https://store.codesys.com/CODESYSLibs/index)
My problem is that it does not detect new versions of a library.
In project enviroment -> Library version it says All libraries are up to date, there's also a checkmark in 'Check for updates when loading this project'

If I go to the library repository and uninstall the library, I can click 'download missing libraries' and it will download the latest version of the library without any problems, I just can't get it to detect that a new library has been uploaded to the server.
For example:

Installed library: 1.0.0.3
Latest library on server: 1.0.0.4
No new libraries detected
Uninstall 1.0.0.3 from Library repository
Click download missing libraries
1.0.0.4 is downloaded and installed correctly.
I am using .library files if it's of any significance.

Anything I'm missing here?


Top
   
PostPosted: Wed Mar 06, 2019 2:11 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3567
Hi,
I would try the following steps:
-use compiled libraries
and if you have own devices too,
add the devices too for downloding missing devices

BR
Edwin


Top
   
PostPosted: Wed Mar 06, 2019 2:22 pm 
Offline

Joined: Mon Nov 03, 2014 7:15 am
Posts: 48
Hi MortenL,

if I understand you correctly, you want a mechanism, that automatically searches for newer version of a library, than the one that is in your project. If so, I think you have no chance - even the CODESYS libraries are not updated automatically.

To use the "Download missing library" mechanism, the library that is in your project, may not be installed in the repository. So, the only way to enforce a download of a library is, to remove it from the repository.

At least this is what I know :)

Best regards

Alfred


Top
   
PostPosted: Wed Mar 06, 2019 2:51 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3567
this 'download missing libs button', does only occure if there is a library used in your project which is not installed on your system.
(So this is not a feature to check if new libraries in general exists on the lib server)


Top
   
PostPosted: Thu Mar 07, 2019 7:29 am 
Offline

Joined: Fri Jun 29, 2018 7:22 am
Posts: 15
Edwin Schwellinger wrote:
Hi,
I would try the following steps:
-use compiled libraries
and if you have own devices too,
add the devices too for downloding missing devices

BR
Edwin


I tried to save it as a compiled library, it didn't seem to change anything.

This is how it looks:
Image
Image
Image

The library is just a new default library with the infos changed, it doesn't contain anything else, it's only for test purposes.

The compiled version can be downloaded here:
http://k-rad.dk/library/VCAS/VCAS%20TestLibrary/1.0.0.0/TestLibrary.compiled-library
The .library file can also be found here:
http://k-rad.dk/library/VCAS/VCAS%20TestLibrary/1.0.0.0/TestLibrary.library
There are 3 versions available, they are basically the same just with project info altered to a new version:
http://k-rad.dk/library/VCAS/VCAS%20TestLibrary/index

Could it have something to do with this information?:
Image


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 3 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