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

[Minor] Added refresh support to measurement client #615

Merged
merged 8 commits into from
Oct 10, 2024

Conversation

MounikaBattu17
Copy link
Contributor

@MounikaBattu17 MounikaBattu17 commented Oct 9, 2024

  • This contribution adheres to CONTRIBUTING.md. (Required)
  • Automatically post PR comments with images for G code changes? (Recommended for small changes)

What does this Pull Request accomplish?

Added refresh support to the measurement client. This button updates the measurements list, resets the selection, and reverts any name changes in the Available Measurements list box.

Why should this Pull Request be merged?

  • Added a Refresh button in Create Measurement Client.vi.
  • Updated the available services using Enumerate Services.vi.
  • Utilized List Available Measurements.vi to refresh the list box with available services, resetting the selection and measurement service/client names.
  • Disabled the Create Measurement Client button and set the visibility of Warning to false.

What testing has been done?

Manually tested the functionality.

@MounikaBattu17
Copy link
Contributor Author

MounikaBattu17 commented Oct 9, 2024

Diff changes:
image
image

Refresh support

@MounikaBattu17 MounikaBattu17 marked this pull request as ready for review October 9, 2024 07:26
Avinash2Suresh

This comment was marked as duplicate.

Copy link
Contributor

@Avinash2Suresh Avinash2Suresh left a comment

Choose a reason for hiding this comment

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

I would like to see the updated changes.

@MounikaBattu17 MounikaBattu17 changed the title Added refresh support to measurement client [Minor] Added refresh support to measurement client Oct 9, 2024
Copy link
Contributor

@Prem-MysteryPro Prem-MysteryPro left a comment

Choose a reason for hiding this comment

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

Can we add tool tip to the refresh button? I guess here the only reason could be refreshing the measurement list but still. Let us have it.
If we customized the icon for this button, can we save it as typedef?

@MounikaBattu17 MounikaBattu17 merged commit 2317ff1 into main Oct 10, 2024
5 checks passed
@Avinash2Suresh Avinash2Suresh deleted the users/mounika/client-refresh-support branch October 16, 2024 10:18
dixonjoel pushed a commit that referenced this pull request Oct 18, 2024
* Feat: Add refresh support to measurement client

* Feat: Disable Create Measurement button on refresh

* Fix: Revert error messages change

* Fix: Minor refactoring

* Fix: Set mouse busy while refreshing

* Fix: Update refresh button

* Fix: Make Refresh button as typedef

* Fix: Update scope of Refresh button typedef to private
dixonjoel added a commit that referenced this pull request Oct 18, 2024
* Measurement Client Generator | Stream response support for the measurement client  (#611)

* refactor: split the client template to 5 VIs

* refactor: update scripting logic

* refactor: cleanup client template

* feat: create Run Client Stream.vi

* feat: implement scripting logic for stream measure

* docs: add documentation for client template VIs

* refactor: remove Run Client and have stream for both

* docs: add documentation for other controls

* refactor: address review comments

* update: invalid client name warning handling (#614)

* refactor: update invalid client name warning handling

* test: update the automated test case for duplicate client name check

* test: update the result message in testcase

* update: generate appropriate error for no measurement configuration/results (#613)

* feat: add error for no measurement configuration/results

* refactor: address Jason's comment

* rebase branch 'users/varshini/client-error-for-no-configuration-results' to main

* [High Priority] Added cancel support to measurement client (#612)

* refactor: split the client template to 5 VIs

* refactor: update scripting logic

* refactor: cleanup client template

* feat: create Run Client Stream.vi

* feat: implement scripting logic for stream measure

* docs: add documentation for client template VIs

* refactor: remove Run Client and have stream for both

* Feat: Add cancel support to measurement client

* docs: add documentation for other controls

* refactor: address review comments

* Fix: Handle errors while generating cancel user event

* Fix: Update documentation

* Fix: Wiring

* Fix: Rename stop measurement client VI

* Fix: Merge conflicts

* Fix: Handle error cases from Read Measurement

* Fix: FP cleanup for Run Client VI

* Fix: Abort Measurement VI renaming

* Fix: Minor documentation updates

* Fix: Error documentation related updates

* Fix: Minor documentation updates

---------

Co-authored-by: varshini-senthil <varshini.senthilkumar@ni.com>

* [Minor] Added refresh support to measurement client (#615)

* Feat: Add refresh support to measurement client

* Feat: Disable Create Measurement button on refresh

* Fix: Revert error messages change

* Fix: Minor refactoring

* Fix: Set mouse busy while refreshing

* Fix: Update refresh button

* Fix: Make Refresh button as typedef

* Fix: Update scope of Refresh button typedef to private

* Add Sparse Enum support to Measurement Client (#616)

* feat: add support for sparse enum as ring control

* docs: update documentation

* refactor: update indicator name

* refactor: address Joel's comment

* refactor: revert the changes to 'enum items'

* refactor: address improvement comments

* [Minor] Added Select all support to measurement client (#618)

* Feat: Add Select all support to measurement client

* Fix: Use -2 to traverse all rows

* Fix: Set the width of the column when refreshing

* Fix: Update warning message

* Update readme doc for Measurement Plug-In Client generator (#620)

* docs: update readme documentation

---------

Co-authored-by: varshini-senthil <varshini.senthilkumar@ni.com>
Co-authored-by: MounikaBattu17 <126869186+MounikaBattu17@users.noreply.github.com>
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.

4 participants