Skip to content

SR830 connection error - "AttributeError: module 'visa' has no attribute 'ResourceManager'" #36

@juggernaut545

Description

@juggernaut545

Hello. I am new to Pyvisa, NI Visa, and related software so please bear with my lack of technical knowledge.

I have an SR830 Lock-In Amplifier which I am attempting to connect to my computer so that I can read and write data to and from it. I connected the computer with the instrument by using a KUSB-488B wire, with the GPIB side attached to the instrument and the USB attached to the computer.

Below is the code that I am using and the name of the file that the error references.

import pyvisa
from labdrivers.srs import Sr830

sr830_gpib_address = 8

lock_in = Sr830(sr830_gpib_address)

image

Even after changing the "visa" to "pyvisa" in the specific file that it is referencing, I am still getting the same error.

I appreciate all and any help.
Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions