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

[BUG]: Following list of APIs are not working as expected. #102

Open
u625355 opened this issue Nov 10, 2023 · 1 comment
Open

[BUG]: Following list of APIs are not working as expected. #102

u625355 opened this issue Nov 10, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@u625355
Copy link
Contributor

u625355 commented Nov 10, 2023

Description of the bug

Following list of APIs are not working as expected:

Models applicable:
MSO 2|4|5|6 series Oscilloscopes.

API PI
scope.commands.search.search.trigger.a.bus.b.nrz.condition SEARCH:SEARCH:TRIGger:A:BUS:B:NRZ:CONDition
scope.commands.search.search.trigger.a.bus.b.s8b0b.condition SEARCH:SEARCH:TRIGger:A:BUS:B:S8B10B:CONDition
APIs under “PSIFIVe” command tree: scope.commands.search.search.trigger.a.bus.b.psifive. Set of PI commands under "PSIFIVE": SEARCH:SEARCH:TRIGger:A:BUS:B:PSIFIVe

Models applicable to:
DPO/MSO/DSA 70K SX/DX/C series Oscilloscopes.

API PI
scope.commands.linktraining.lane.query() LINKTRaining:LANE
scope.commands.cq[x].threshold.query() CQ:THRESHold

Steps To Reproduce

  1. Create a driver object named "scope" for any of the affected models.
  2. Use the "scope" driver object to write and query the above-mentioned APIs.
    Examples:
             scope.commands.cq[1].threshold.query()

             scope.commands.linktraining.lane.query()
  1. Error: Attribute "cq" is not accepting "0" as an integer value and attribute "lane" is not accepting any integer value.

Environment Information

Operating System:

  • Windows 10, 64-bit

Software Version:

  • tm-devices : 1.1.0

Additional Information

Alternative way to make the API functional as expected:

Examples:

                  scope.query("LINKTRaining:LANE1?")
@u625355 u625355 added the bug Something isn't working label Nov 10, 2023
@u625355
Copy link
Contributor Author

u625355 commented Feb 9, 2024

The stroked-out APIs for MSO 2,4|5|6 models are functioning as expected in the latest package upon merging #142.

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

No branches or pull requests

1 participant