Trouble with RSC dataloggerservice

Hello,

I have been trying the example of the RSC datalogger example in C++ on the github page. As I have the code the same as in the example and try to build it in eclipse it gives me an error on the IDataLoggerService.hpp file, I have included a screenshot of the error in eclipse. I believe I am running the 2020.0 firmware en cli. 
I also saw that in the newest version the 2020.6 an updated dataloggerservice is, but is there a tutorial or something like that how to update all of the software/firmware to the newest version?

Hello verab,

SDK/FW2020.6 contains a DataLoggerService2, please include the headerfile "IDataLoggerService2.hpp" and set in the CMakeLists.txt file the Path to  libArp.Services.DataLogger.so library:
################# add link targets ####################################################
find_package(ArpDevice REQUIRED)
find_package(ArpProgramming REQUIRED)
target_link_libraries(CppDataLogger PRIVATE ArpDevice ArpProgramming)
target_link_libraries(CppDataLogger PRIVATE ArpDevice ArpProgramming ${ARP_TOOLCHAIN_ROOT}/sysroots/cortexa9t2hf-neon-pxc-linux-gnueabi/usr/lib/libArp.Services.DataLogger.so)
#######################################################################################
  
> I'm currently updating the example on GitHub, it will be available in the next few days.  
>   
> ~Eduard

Hello Eduard,

Thanks for your answer. 
How can I update to 2020.6? For PLCNext engineer and the firmware I know how, but for the cli and SDK can I just install them next to an old version?

Hello verab,

> yes,  the cli and SDK you can  just install next to an old version. In the SDK installer you will find the new version of plcncli (PLCnCLI_Setup_2020.6.exe). Please install this version at first. Then you can start plcncli and install the SDK via CommandLine (Windows CMD), please see the following video:
[https://www.youtube.com/watch?v=UNbNv7eBHPE&list;=PLXpIBdAgtoRLX1FEeinzb5AgaVf6Oeo0v&index;=17](https://www.youtube.com/watch?v=UNbNv7eBHPE&list=PLXpIBdAgtoRLX1FEeinzb5AgaVf6Oeo0v&index=17)
~Eduard

Hello Eduard,

I have followed the tutorial to upgrade to 2020.6 version. 
In Eclipse I have added the path to the Cmakelist.txt and changed the #include "Arp/Services/DataLogger/Services/IDataLoggerService.hpp" to #include "Arp/Services/DataLogger/Services/IDataLoggerService2.hpp". But i still get the no such file or directory found error. is there another step that i should do?
Hello verab,  
>   
> if you have installed the SDK 2020.6 the compiler should found the "IDataLoggerService2.hpp" and the "libArp.Services.DataLogger.so", please check if the Data are located on your PC. 
Please Note, it is also neccessary to create a C++ project for AXC F2152 Target 2020.6 (SDK 2020.6 should be used for compilation).  
>   
> Please let me know, if you don't find the cause of failure, we can also start a remote session via MS-Teams or FastClient.
Best Regards
Eduard

Hello Eduard,

I think I found the problem but I don't know how to fix it yet.
So I tried to make a new project for the 2020.6 update, then when I had to select the plc version it only listed the 2020.0 variant. I have included a screen shot of it. I went back and looked at the tutorial how to install eclipse IDE tools, I couldn't add the cli tools again as I already did this. So I looked at the preferences->plcnext the command line tool the path selected is: C:\\Program Files\\PHOENIX CONTACT\\PLCnCLI. Which is the same as in the tutorial minus the version as it installed it without it. 
Then I looked at the SDKs folder beneath it and only saw that the SDK that was installed was the 2020.0 version. I wanted to select the 2020.6 version but it was not installed in the C:\\SDKs\\ folder but in the C:\\SDKx\\ folder. I reinstalled the sdk to the C:\\SDKs folder so it is the same as the 2020.0 version. But when I try to add this folder to the SDKs in the preferences I get an error, I have included a screenshot of it. 
Do I need to reinstall more or do I need to set another path?