Skip to content

Save default word value when creating labels #225

@buckd

Description

@buckd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions