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

Cleaning front panel and block diagrams to improve readability. Where… #397

Merged
merged 3 commits into from
Nov 21, 2024

Conversation

jasonmreding
Copy link
Collaborator

Description

I am planning to make changes to the code generators in up coming PRs. Before doing so, I am doing a mass cleanup of the existing VIs in this PR to improve readability and minimize diffs for more meaningful changes in the future.

Implementation

There are no intended functional changes as part of this PR. The changes are purely cosmetic in nature to improve readability. Move control/indicator label to the left/right on the block diagram, uncross wires, and that sort of thing. In some cases, common code was extracted and unreferenced code was deleted. There were a few VIs that didn't have source only setting and those have been fixed as well. I also updated the icon for the error code VIs as a solid red background color doesn't play well with the icon editor algorithm in later LV versions. It tends to display the text over the library banner rather than limiting the text to the area below the banner.

Testing

  • Manually tested round trip of data between client/server for unary API using repeated message fields.
  • Manually tested round trip of data between client/server for unary API using oneof field. Filed oneof fields are not read from the client correctly #396 as a result of this testing. Verified the same behavior is present before these changes. The generated code looks good though.
  • Manually tested code generation of measurement_service.proto works for both client and server.

… appropriate, extracted out common code or deleted unreferenced code.
…m Whitespace.vi <vilib> dependency which has since been inlined and has inlined sub VI dependencies which didn't exist in 2019.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Ctrl + U on the front panel would make it possible to see the .vi name when opening these...
image

Copy link
Collaborator

@dixonjoel dixonjoel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In general, Ctrl + U on a lot of the front panel would be nice. But that's very minor. Feel free to submit without any additional cleanup.

@jasonmreding jasonmreding merged commit f429149 into master Nov 21, 2024
5 checks passed
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

Successfully merging this pull request may close these issues.

2 participants