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

Problem with input arguments number in lsl_wait_for_consumers() #30

Open
nicoponf opened this issue Nov 27, 2021 · 1 comment
Open

Problem with input arguments number in lsl_wait_for_consumers() #30

nicoponf opened this issue Nov 27, 2021 · 1 comment

Comments

@nicoponf
Copy link

Hello,

I have a problem with using the function wait_for_consumers of the outlet class. When I try to use it, I get the following error:
"
Error using lsl_wait_for_consumers
2 input argument(s) required.

Error in lsl_outlet/wait_for_consumers (line 128)
success = lsl_wait_for_consumers(self.LibHandle,self.OutletHandle,timeout);
"

This error seems to come from the following line in the C file for the mex interface:


It could be that only these 2 lines should be changed to accepting 3 arguments instead of 2, but I am not too sure.

@cboulay
Copy link
Contributor

cboulay commented Nov 27, 2021

You're probably right. This is a rarely used function so it might be a longstanding undetected bug.
Please change it in a manner that works for you then consider submitting a pull request.

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