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

String DataType #12

Merged
merged 2 commits into from
Nov 6, 2023
Merged

String DataType #12

merged 2 commits into from
Nov 6, 2023

Conversation

GDYendell
Copy link
Contributor

This adds support for a String DataType.

The EPICS backend creates longString{In,Out} records and Text{Read,Write} widgets for Strings.

Up for discussion whether we want to use stringin and stringout records in some circumstances. My current thinking is we just use long strings for everything and then we never have to worry about character limits. I don't think there are any downsides to this.

@codecov
Copy link

codecov bot commented Oct 13, 2023

Codecov Report

Merging #12 (f804e8a) into main (00f04e1) will decrease coverage by 0.31%.
The diff coverage is 43.75%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   45.49%   45.19%   -0.31%     
==========================================
  Files          17       17              
  Lines         611      624      +13     
==========================================
+ Hits          278      282       +4     
- Misses        333      342       +9     
Files Coverage Δ
src/fastcs/datatypes.py 85.71% <83.33%> (-0.96%) ⬇️
src/fastcs/backends/epics/gui.py 34.83% <20.00%> (-1.64%) ⬇️
src/fastcs/backends/epics/ioc.py 25.27% <20.00%> (-1.17%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@GDYendell
Copy link
Contributor Author

I am going to merge this as is, but possibly we will want to allow developers to create string{in,out} records by limiting the number of characters in future.

@GDYendell GDYendell merged commit f5dec71 into main Nov 6, 2023
14 of 16 checks passed
@GDYendell GDYendell deleted the string-datatype branch June 7, 2024 08:47
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