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

Channels do not present the correct unit #18

Open
Cram3r95 opened this issue Sep 18, 2024 · 1 comment
Open

Channels do not present the correct unit #18

Cram3r95 opened this issue Sep 18, 2024 · 1 comment

Comments

@Cram3r95
Copy link

Somehow this section of the code is not working:

image

Because when I try to read the unit of my channel:

image

It looks like other attributes of the channel are correct, but not the units, even though they are clearly visible if you export the .ld file to .csv and then with pandas you take only the names and units:

image

Is this bug fixed somewhere?

@Cram3r95
Copy link
Author

Cram3r95 commented Sep 18, 2024

Maybe the problem is here, hardcoding the pointer to the channel:

image

image

Solved: In my case the unit is interpreted as short time because in the file, there is no short names. You should correct this to identify the name instead of assuming X position in the memory:

image

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

1 participant