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

max bytes? #14

Open
Aemornion opened this issue Nov 2, 2019 · 1 comment
Open

max bytes? #14

Aemornion opened this issue Nov 2, 2019 · 1 comment

Comments

@Aemornion
Copy link

Aemornion commented Nov 2, 2019

Nevermind, i figured it out.
the answer was "I am stupid"

I have been using this software to interface to canberra NIM modules.

I recently decided to change the number of data channels on my ADC from 2048 to 4096.
This change works fine with issueing the command directly with the CMD, but when trying to read with ca_matlab it hangs perpetually requiring a restart of matlab to overcome.
I suspect there is a limitation somewhere about how large a variable can be read with ca_matlab, but I lack the experience required to locate and correct it.
This supported by the issue only appearing when exceeding 2048 channels, going down to 1024 posed no issue.
Any help appreciated.

EDIT:
Its definitely an issue with how large the data is, changing from double[] to integer[] permitted the 4096 channel dataset to function and the issue was passed up to the 8192 channel dataset.

ca_matlab is by far the easiest way to get matlab and epics to talk to one another, i really hope this issue can be overcome in some fashion.

@simongregorebner
Copy link
Contributor

based on the edit you did in the description, I'm not sure whether this is still an issue.
Do you still encounter issues with your channels?

(sorry i didn't find the time to have a look at this before)

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