Page 1 of 1

hebi::GroupCommand::readGains

Posted: Tue Dec 15, 2020 5:45 am
by husch
The document says that if the file was successfully read, but the number of modules in the file is not equal to '1' or the size of the group, returns failure.

Why does the function return success when the number of modules in the file is equal to '1' even though there are several hardware modules in the group?
What is observed is that the correct gains are set for first hardware module, but gains read from uninitialised memory are used to set the rest of the hardware modules.
Is it a bug or intended behaviour?

Thank you very much.

Re: hebi::GroupCommand::readGains

Posted: Fri Dec 18, 2020 10:24 am
by hardik_singh
Thanks for catching this! You are correct - this is not intended behavior. We're working to include a fix in an upcoming api release.

Re: hebi::GroupCommand::readGains

Posted: Mon Dec 21, 2020 5:54 am
by husch
Great. Thank you very much.
Could you please share when the next api release will be?

Re: hebi::GroupCommand::readGains

Posted: Fri Jan 08, 2021 9:50 am
by matt_tesch
Apologies for the delay over the holiday!

This was fixed in C API v2.1.0 before the new year; the C++ API update should be out today pending some final testing.

Best,
Matt