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

When setting a string value into to a waveform-of-char PV, a "b" char is appended #92

Open
gabriel-desmarchelier opened this issue Oct 17, 2024 · 0 comments

Comments

@gabriel-desmarchelier
Copy link

When setting a string value into to a waveform-of-char PV, a "b" char is appended

Steps to reproduce :

EPICS record :

# String to write in
record(waveform, "Test:TextOut") {
    field(NELM, "32")
    field(FTVL, "CHAR")
}

WeTest file :

version:
    major: 2
    minor: 0
    bugfix: 0

config:
    type: "unit"
    name: "Writing text PV"
    delay: 0.5

tests:
    - name: "Writing text PV"
      commands:
          - name: "Writing text PV"
            setter: "Test:TextOut"
            set_value: "myText"
          - name: "Reading text PV"
            getter: "Test:TextOut"
            get_value: "myText"

WeTest result :

Ready to start testing, use GUI play button.
Applying selection may take some time.

Running    test-0-0-0    Writing text PV: Writing text PV
Success of test-0-0-0    (in 0.531s) 

Running    test-0-0-1    Writing text PV: Reading text PV
Failure of test-0-0-1    (in 0.502s) Expected Test:TextOut to be `myText`, but got `myTextb`
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

No branches or pull requests

1 participant