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

Save default word value when creating labels #225

Open
buckd opened this issue Aug 1, 2022 · 0 comments
Open

Save default word value when creating labels #225

buckd opened this issue Aug 1, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@buckd
Copy link
Collaborator

buckd commented Aug 1, 2022

Is your feature request related to a problem? Please describe.
There are two functions in the scripting API, Get Default Word.vi and Set Default Word.vi that should access a property representing the hex value of the default word for each label. We have unit tests to verify that they work, but Set Default Word.vi is never called, so accessing it with Get Default Word.vi always returns 0 (the default value of a U32).

Describe the solution you'd like
It would be nice to set the default word for a label any time a new parameter is added (or, probably more practically, after all parameters are added). Then, we can get the default word instead of having to get the default value for each parameter as a double and then encode each of those into a word.

Describe alternatives you've considered
None.

Additional context
This functionality will be needed to effectively generate a hardware configuration file because the default word value is stored in that file.

@buckd buckd added the enhancement New feature or request label Aug 1, 2022
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

1 participant