DWDataReader Version 4_2_0_12 for MATLAB on Linux doesn't work

  • Software
  • DWDataReader Version 4_2_0_12 for MATLAB on Linux doesn't work
fdasf fdasf

Posted on 12.08.2020 21:05

Hello,


I am updating my DWDataReader from 4.1.0.16 to version 4.2.0.12 because I need to read X3 *.dxd files.


The new version works in MATLAB on Windows 10 and 7; however, I could not get the Linux version to work.

On Linux, when I run the example sciprt, dw_data_reader.m, I get error message such as ".... error: expectedd declaration specifiers before "__declspec" ...."


I was able to compile the provided C example code on Linux.

However, the example program prints "DW Version = 4010016" when I executed it, which is very odd because the version should be 4020012.


I also found a few other errors in the code, for example:

1. Hardcoded *.so filename in LoadDWDLL() in DWLoadLib.c.

2. The included dw_data_reader.m example script says it's "version 1.3" on the first line. But my "older" version of the example script is labeled as "version 1.5".

Eva Kalšek
Customer Support Engineer
Posted on 13.08.2020 09:18

Hello,


unfortunately, our Linux Library is not updated and is actually still at 4010016 version, but we have a plan to update it in a couple of months. During the update we will also update all the DwDataReader examples so they would be up to date and in a working condition on Windows and Linux OS.


So you if I am not mistaken you still have troubles with the Linux Matlab example? Please let us know so we can support you.


Regards

fdasf fdasf

Posted on 13.08.2020 21:17

@Eva Kalšek


Thank you for the reply.


I was trying to read X3 *.dxd file in MATLAB on Linux using the DWDataReader.

I have been using version 4.1.0.16 on both Windows and Linux for a long time.

Recently, we bought some new Dewesoft machines that have X3 installed. The new *.dxd file is not compatible with version 4.1.0.16 of the reader, so I am forced to update the reader.

I got the new Windows version of the reader to work in MATLAB by replacing the old *.dll with the new ones. I didn't replace the *.h file, but it seemed to work fine.

I tried to replace the old *.so files with the new ones on Linux, but it did not work. On Linux, when I run the example sciprt, dw_data_reader.m, I get error message such as ".... error: expectedd declaration specifiers before "__declspec" ...."


So I tried to run the C example. I compiled and ran the C example code on Linux. The program reported "DW Version = 4010016".


I need to read X3 *.dxd in MATLAB for both Windows and Linux. But right now, I only the Windows version working.





Eva Kalšek
Customer Support Engineer
Posted on 14.08.2020 08:47

Okay, thank you again for the explanation.


We will test the *.m example with the latest DwDataReader library for linux and try to adjust the code.


We will let you know as soon as we got any results.


Regards

fdasf fdasf

Posted on 14.08.2020 19:15

@Eva Kalšek


Thank you! Please keep me updated.

Eva Kalšek
Customer Support Engineer
Posted on 26.10.2020 08:17

Hello,


we just want to update you that the new updated Linux library for DWDataReader was just updated to the web-page.


Please test it on your site and let us know if you will still have any troubles.


Regards

fdasf fdasf

Posted on 26.10.2020 23:22

@Eva Kalšek

Thank you! I will check it out.

fdasf fdasf

Posted on 27.10.2020 02:35

@Eva Kalšek


I tested the new Linux library (v4.2.0.14). Unfortunately it didn't work. It had the exact same problem as I described in my original post.

The Linux library still cannot read X3 files. Please fix this. Thank you!




Eva Kalšek
Customer Support Engineer
Posted on 12.11.2020 07:36

Hello,


our developers have made some changes in the DwDataReader for Matlab programing language. The new version is already uploaded on the web page. Please can you test the new version and let us know if everything is working okay.


Regards

Login to reply to this topic. If you don't have account yet, you can signup for free account .