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

how to set path to visa driver #52

Open
phsdv opened this issue Jun 10, 2015 · 2 comments
Open

how to set path to visa driver #52

phsdv opened this issue Jun 10, 2015 · 2 comments

Comments

@phsdv
Copy link

phsdv commented Jun 10, 2015

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.

@phsdv
Copy link
Author

phsdv commented Jun 10, 2015

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.

@hgrecco
Copy link
Contributor

hgrecco commented Jun 10, 2015

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants