Skip to content
This repository was archived by the owner on Mar 26, 2024. It is now read-only.
This repository was archived by the owner on Mar 26, 2024. It is now read-only.

Errors compiling on Windows, Python 3.8, and USBTMC #8

@Aaron-Purchase

Description

@Aaron-Purchase

Hello Cedric,

I am setting this up for a THM1176 + CNC mapper but two errors appear (using Windows 10 + USBTMC).

  1. Warning errors due to use of "is" instead of "==": C:\Users\apurc\Desktop\pyTHM1176-master\pyTHM1176\log_thm.py:37: SyntaxWarning: "is" with a literal. Did you mean "=="?
  2. inability to locate probe: Traceback (most recent call last):
    File "C:\Users\apurc\Desktop\pyTHM1176-master\pyTHM1176\log_thm.py", line 67, in
    thm = thm_api.Thm1176(backend.list_devices()[0], **params) # You may want to ahve a smarter way of fetching the resource name
    File "C:\Users\apurc\Desktop\pyTHM1176-master\pyTHM1176\api\thm_usbtmc_api.py", line 174, in init
    self.setup(**kwargs)

What are the details to correct issue #2?

I really appreciate your help here.

Kind regards,
Aaron

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions