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

Clarify error case when label name is incorrectly formatted in HW config file #236

Open
papowerNI opened this issue Nov 4, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@papowerNI
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Currently, if a HW configuration file label name does not match the format "label [labelDecmial]" (or label [labelDecimal]_2 if the sdi=10), the custom device throws a generic Ballard driver error 403002.

Describe the solution you'd like
This is not the only source of error 403002, but it would still be useful to either clarify this formatting requirement, check for the formatting requirement on HW config file import, or redesign the custom device to use labelDecimal/SDI instead of the name, if that's possible. The formatting requirement will be added to the User Guide with #235

Describe alternatives you've considered
See options listed above

Additional context
image

@papowerNI papowerNI added the enhancement New feature or request label Nov 4, 2022
@jacobson3
Copy link

@papowerNI if we do something similar to the changes in the Ballard 1553 CD would that resolve this issue?

ni/niveristand-ballard-milStd1553-custom-device#232

Basically the CD will only pass the error code out from its engine so the relevant source information will always be lost. I ended up just printing the error source to the console so there's at least some way to get this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants