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

Arrayplot widget #1868

Merged
merged 4 commits into from
Jan 30, 2025
Merged

Arrayplot widget #1868

merged 4 commits into from
Jan 30, 2025

Conversation

jmthomas
Copy link
Member

closes #355

@jmthomas jmthomas changed the title Arrayplot Arrayplot widget Jan 29, 2025
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.40%. Comparing base (c922d8d) to head (a94152f).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1868      +/-   ##
==========================================
- Coverage   79.40%   79.40%   -0.01%     
==========================================
  Files         523      523              
  Lines       40899    40899              
==========================================
- Hits        32477    32476       -1     
- Misses       8422     8423       +1     
Flag Coverage Δ
python 83.98% <ø> (-0.01%) ⬇️
ruby-api 48.42% <ø> (ø)
ruby-backend 82.51% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

ARRAYPLOT
SETTING TITLE "Array Data"
SETTING ITEM INST HEALTH_STATUS ARY
SETTING ITEM INST HEALTH_STATUS ARY2
Copy link
Member Author

Choose a reason for hiding this comment

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

You can add multiple data items to the graph just like LINEGRAPH

SETTING ITEM INST HEALTH_STATUS ARY
SETTING ITEM INST HEALTH_STATUS ARY2
SETTING SIZE 600 400
SETTING X_AXIS 10 10
Copy link
Member Author

Choose a reason for hiding this comment

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

If X_AXIS is not set it will just start from 0 and increment by 1. Otherwise you can give a starting number and increment by and it will fill according to the first ITEM length

@jmthomas
Copy link
Member Author

Implementation to support Keysight Spectrum Analyzers (https://www.keysight.com/us/en/products/spectrum-analyzers-signal-analyzers/x-series-signal-analyzers.html) which have a SCPI interface to pull a full “trace” from the instrument that is a comma separated list of Y-values for the current displayed signal. That's why I left the X-Axis as incrementing by 1 (default) or manually set with Start and Step (could also have specified Start and End and determined step by the number of points).

Copy link

@jmthomas jmthomas merged commit c6c70d6 into main Jan 30, 2025
30 checks passed
@jmthomas jmthomas deleted the arrayplot branch January 30, 2025 03:18
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.

Create ArrayPlot Widget
2 participants