Skip to content

how to set path to visa driver #52

Open

Description

@phsdv

I am trying out Lantz, but it fails with a timeout when accessing my instrument.
When using pyvisa it works but I have to set the path to the visa driver in the resource manager. How do I tell Lantz which visa driver to use?

Or in other words: No documentation exists (or I cannot find it) to specify in Lantz the path to the driver that pyvisa should use.

Activity

  1. phsdv commented on Jun 10, 2015

    @phsdv
    Author

    Oops, found out that timeout was caused by wrong command. replacing '?IDN' with '*IDN?' solved the timeout.

    However still do not know how to specify a specific visa driver, for example the NI-Visa one or the Agilent visa driver.

  2. hgrecco commented on Jun 10, 2015

    @hgrecco
    Contributor

    The easiest way is just to define it in .pyvisarc as discussed here Lantz will honor that. We will add an option to do it in Lantz later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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