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

tests/analog: validate M2kAnalogOut features introduced in fw0.33 #369

Merged
merged 3 commits into from
Sep 20, 2024

Commits on Sep 20, 2024

  1. tests: refactor duplicate code

    - Include helpers.py for common functions
    
    Signed-off-by: Adrian Stanea <[email protected]>
    Adrian-Stanea authored and AlexandraTrifan committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    8c5ba3a View commit details
    Browse the repository at this point in the history
  2. tests: validate last sample hold

    - After a non-cyclic buffer is pushed, the last sample will idle
    at the output untill a new sample is pushed or the channel is stopped.
    - When the oposite channel idles at 0V we test for an interval of +/- 0.2V
    because a small spikes appears ocasionally if the swing on the channel that is being
    pushed is to large.
    
    Signed-off-by: Adrian Stanea <[email protected]>
    Adrian-Stanea authored and AlexandraTrifan committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    9ac6fc2 View commit details
    Browse the repository at this point in the history
  3. tests: validate the aout triggering

    Signed-off-by: Adrian Stanea <[email protected]>
    Adrian-Stanea authored and AlexandraTrifan committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    1159040 View commit details
    Browse the repository at this point in the history