can write to rs232 serial instrument but can't read from it

I have an rs232 serial device and I am trying to read and write to it using python with pyVISA. I am able to write my commands to it using "write" but I If I try to us "read" or "ask" I get a...

How to access Agilent Devices using python and GPIB interface (with help of NI GPIB to USB converter)?

I want to access Agilent Device N3301A using python. In purpose to connect to GPIB port I am using a GPIB to USB adapter from National Instruments. I have installed PyVisa, Agilent Connection...

Include PyVISA with VISA library into EXE of cx_Freeze

On my development PC with NI-VISA installed everything works fine. Now I try to make a "All-In-One"-Executable over cx_Freeze for other PCs. I figured out the following DLLs which I include over...

Python pyVISA GPIB connection issue

I'm trying to connect to a GPIB instrument using pyVISA but I get an error. I'm following the simple example on the pyVISA website: http://pyvisa.readthedocs.org/en/master/ I type the following...

Is it normal to wait for some time between operations under the VISA protocol?

I am using pyvisa to program a power supply which conforms to the SCPI protocol, like this: power = get_power() power.write('VOLTage 24.000') time.sleep(1) # **Must...

OSError: Could not open VISA library

I have just installed pyvisa on my mac with $ pip install pyvisa But when I was to test it using IDLE like this: import visa rm = visa.ResourceManager() I got this: Traceback (most recent...

Is it a PyVISA installation failure ? Or, am I doing something wrong?

I wanted to test my PyVISA installation and got a certain failure: >>> import visa >>> rm = visa.ResourceManager() Traceback (most recent call last): File "<stdin>", line 1, in <module> File...

PYVISA: How do I transfer binary block data so that the picture is properly formatted and saved onto my PC?

I am trying to transfer a screen shot from an Rhode & Schwarz - FSV Signal Analyzer to my PC. How do I transfer binary block data so that the picture is properly saved onto my PC from the...

pyvisa-py on raspberry pi AttributeError: 'module' object has no attribute 'ResourceManager'

py on a raspberry pi with python 2.7.9 and pip 1.5.6. I installed and uninstalled pyvisa and pyvisa-py several times, but the problems stay. I connected the KEITHLEY Multimeter 2000 per R232 to...

how to find and install PyVisa with AnacondaNavigator for python3.5 on W10-64b?

The Anaconda Navigator documentation doesnt tell how to do it. Earlier i have used python2.7 where it was easy to install PyVisa1.4, but at the moment I am screwed with Anaconda. I installed...

PyVISA RS232 Timeout Error (Agilent Power Supply)

I am working on opening communication with an Agilent power supply using PyVISA, and I keep getting a timeout error when I query for the instrument Id. My code is: import visa rm =...

pyvisa unable to connect to GPIB instrument using GPIB-USB-HS interface

I'm trying to communicate with an instrument (Agilent 33220A arbitrary waveform generator) using GPIB and I use the GPIB-USB-HS interface plugged into a USB port on my computer. The instrument is...

Can't connect to multimeter with python (VISA)

I am trying to communicate with a multimeter, Agilent 34401a with Python. I use a VISA library. My source is very simple: import visa rm = visa.ResourceManager() list_re =...

AttributeError: 'module' object has no attribute 'DataFrame'

I am running Python 2.7.10 on a Macbook. I have installed: Homebrew Python 2.x, 3.x NI-VISA pip pyvisa, pyserial, numpy PyVISA Anaconda Pandas I am attempting to run this script. A portion of it...

Connecting to an Agilent E44980A with a Raspberry Pi 3 with PyVISA

I have an Agilent E4980A Precision LCR meter and wanted to talk to it with my raspberry Pi 3B+ using pyvisa and a LAN cable. However, I'm not sure whether it is connecting properly. I've already...

GPIB communication with Python (PyVisa)

I am trying to communicate with a very old instrument (CCD camera) by Python. The GPIB programming manual from the instrument manufacturer published in 1999 only provides a basic command listing....

resize image in openpyxl

I am trying to scale the image in the PIL style so that I can maintain the aspect ratio. it appears the openpyxl image does not have resize attribute. I get the error "AttributeError: 'Image'...

How to group nodes in a networkx python graph based on note attributes?

I am trying to visualise my Linkedin network in the form of a graph where the nodes are people I am connected to and these nodes are to be clustered into the companies they work for. I downloaded...

Python crashes without errors

My python code crashes without providing any exceptions. The code uses Tkinter, socket programming, pyvisa, thread, and modules. It is an automated sensor calibration system using python. The code...

PyVISA Error: Insufficient system resources to perform necessary memory allocation

I am using PyVISA to communicate/control a Santec TSL-550 tunable laser via GPIB-USB. My setup was working a few days ago and everything is correctly installed (NI-VISA, NI-MAX, NI 488.2, pip...

Converting float list to byte-like object results in a corrupted image

I am trying to convert data from a Keysight scope to .png Image. When I looked how to do it online, I stumbled the following code: # Download the screen image. #...

What connection string do I use for pyvisa when my TCP device is connected via a USB to Ethernet Adapter?

I am attempting to communicate with a BraggMETER Interrogator that supports SCPI. OS: Windows 10 Connection hardware: j5create JUH470 USB 3.0 Multi-Adapter Gigabit Ethernet / 3-Port USB 3.0...

Connecting to an instrument with Python (Pyvisa)

I am trying to automate a Keithley 2000 source meter with python. I used the following code to connect to the instrument (GPIB): import pyvisa rm =...

Connecting to instrument via GPIB using PyVISA in Python

I am working on the acquisition of electrical contact resistance, for which I will be using a Keithley 2400 sourcemeter and a Keithley 2182a nanovoltmeter. Both of the instruments are connected to...

read_raw throws timeout error when communicating with tektronix oscilloscope using pyvisa package

I am trying to read raw data using pyvisa which communicates with MDO3014 oscilloscope. The code I have tried is as follows:- import pyvisa rm = pyvisa.ResourceManager() usb =...

Problem with PyVISA & PyMeasure - how to solve it?

I am using Python 3.8. Installed PyMeasure using pip and entered the following single line to my file and executed it: from pymeasure.instruments.keithley import Keithley2400 And I got the...

PyVisa and Agilent 823578 on Mac

I am trying to get PyVisa working on my mac. I have installed it and NI libraries but when I try to run the following simple python file from terminal in VS code: import sys import pyvisa as...

PyVISA not listing USB instrument on Linux

I am trying to communicate with a LeCroy WaveRunner 640Zi oscilloscope from a Raspberry Pi, they are connected with a USB cable. I have already done this under Windows, but now I am not able to...

Error when running executable generated by pyinstaller [pyvisa-py]

I'm trying to build an executable from a simple python script using pyvisa-py but I'm running into error after I run the executable generated by pyinstaller. Here what my small python code looks...

Bundling Python code using PYINSTALLER on WINDOWS 10, for the executable to run on a WINDOWS 7 system. Exe does not run, "Error loading Python DLL"

Long post ahead, but I wanted to make sure to be as thorough as possible with my questions, and what I have tried out so far. Title basically describes my entire problem. I am bundling the code...