Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to add a string tango attribute as a descriptor #77

Open
lrlunin opened this issue May 19, 2023 · 1 comment
Open

unable to add a string tango attribute as a descriptor #77

lrlunin opened this issue May 19, 2023 · 1 comment

Comments

@lrlunin
Copy link

lrlunin commented May 19, 2023

Hello,

I've just encounter a very strange behaviour of the descriptors panel. I could successfully create DataSource from the tango attributes and add it as a Descriptor. But it did not work for all strings attributes, but only for the strings which were rather short. For example I could add a attribute with a string /mnt/nvme_raid0/DATA/ but could not add an attribute with a longer string /mnt/nvme_raid0/DATA/MOENCH/PETRA_BEAMTIME/180523/run_180523_d0_f0_531.raw.

Is it just a coincidence or there is any kind of size check of the attribute's value? I could add this attribute at the detector tab though. So I guess that the tango device configuration is not an issue itself.

P. S. this kind of descriptor do not exist in the Sardana as entities and are custom designed in this package, right?

@jkotan
Copy link
Member

jkotan commented May 22, 2023

Hello @lrlunin,
weird, I cannot reproduce your issue, i.e. for our DESY configuration everything works fine. I 've written the '/mnt/nvme_raid0/DATA/MOENCH/PETRA_BEAMTIME/180523/run_180523_d0_f0_531.raw' string to one of tango attributes, created datasource (TestString) with nxselector and started sarana scan and I've got the full string both with 'h5cpp' and 'h5py' modules (defined as the Writer tango property of NXSDataWriter).
Could you please tell me which operating system you use, also if you use our DESY NXS_FileRecorder or the Alba one and version of h5py or pninexus.h5cpp you use (as well as nxstools, nxswriter)? Maybe you could also pass your file I could check what is going wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants