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

TSP-839 Fix issue with naming of instrument connection #64

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

Shreya-GT
Copy link
Contributor

@Shreya-GT Shreya-GT commented Oct 21, 2024

When we connect to an instrument, the information (io_type, instr_address, model, serial_number, friendly_name etc.) is saved to settings.json. Any item in Instruments pane (discovered or saved) is initially created with label <model#serial_number>. For saved instruments we need to update this to any connection_name if specified by user and this information is fetched from settings.json. Since the settings.json was not updated correctly due to not awaiting, the Instruments pane showed wrong label as compared to terminal name. This is fixed by awaiting when settings.json file is updated.

@Shreya-GT Shreya-GT added the bug Something isn't working label Oct 21, 2024
@Shreya-GT Shreya-GT self-assigned this Oct 21, 2024
@Shreya-GT Shreya-GT requested a review from a team as a code owner October 21, 2024 10:45
@Shreya-GT Shreya-GT merged commit 7c273b0 into main Oct 21, 2024
12 checks passed
@Shreya-GT Shreya-GT deleted the task/TSP-839-Fix-issue-with-connection-name branch October 21, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants