oasys-elettra-kit / OASYS1-Wiser

The implementation of WISER into OASYS
MIT License
0 stars 1 forks source link

Figure Error - Problem with ReadXY/ReadLtpJave #46

Closed capitanevs closed 3 years ago

capitanevs commented 3 years ago

Reading the script in "LtpJavaMode" or with "x, Height" does not work. immagine I have put two scripts containing the right results.

BEWARE: they contained hardcoded paths. So just change them. We should do a unique python script delivering the main path to all the others (for debug purposes).

aljosahafner commented 3 years ago

Height appears the first time in LibWiser.Optics, line 2887. Everything seems fine in OASYS part.

capitanevs commented 3 years ago

And so? :-) Let's try to boil down the problem. I have put a python script doing the job in the workspace. LibWiser alone can do the job. Why in OASYS it can not? Dowe have any clue?

aljosahafner commented 3 years ago

This is not replicable in versions 0.2.5 and 0.2.6

image

image

capitanevs commented 3 years ago

So what does it mean? What is the differences between the new and the old version? LibWiser?

When closing issues, I usually leave some conclusive comments. If something did not work and it is working now, it is still good to figure out what may have happened in between.:)

aljosahafner commented 3 years ago

Using the file ldm-kbh/Scan_Motor5_56_res.dat I get no error and everything works fine. I only tested using the two versions mentioned above. 0.2.5 is using an upgraded version of LibWiser - 0.10.0. Maybe that's the reason.

capitanevs commented 3 years ago

Ok, let's take that as conclusive comment for this issue! :)

Tnx!