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

Cannot get Available Samples Per Channel #36

Open
tejasramdas opened this issue Apr 22, 2022 · 1 comment
Open

Cannot get Available Samples Per Channel #36

tejasramdas opened this issue Apr 22, 2022 · 1 comment

Comments

@tejasramdas
Copy link

I'm trying to read from my NI 6363 X Series card in continuous mode. I keep running into issues where the buffer overflows after some time even though I am reading faster than the low sample rate I set using CfgSampClkTiming.

I would like to use DAQmxGetReadAvailSampPerChan to get the number of samples in the buffer. However, it only returns 0 when the task is running and -200983 when it is stopped. In particular, I'm not sure what I should pass in as the data parameter. I'm currently passing in an empty Int32 array. Any help is appreciated.

@bjarthur
Copy link
Collaborator

probably best to search and ask for help on a NIDAQ forum as those will have much more traffic. please let us know if/when/how you get it fixed. sorry, and thanks.

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