VISA stands for Virtual Instrument Software Architecture. It is a communication and I/O standard for instrument communication, mainly used in the test & measurement industry. DO NOT USE this tag for the payment card Visa, nor for a travel visa related question.
Questions tagged [visa]
188 questions
0
votes
0 answers
VISA library on Windows XP for use with PyVisa
I'm trying to control some instruments with a program written in Python using the PyVisa module. I installed National Instruments' VISA library as instructed on the PyVisa page
Everything in Windows XP (32bit). PyVisa module is installed correctly,…

dalonsoa
- 215
- 3
- 11
0
votes
2 answers
PyVISA missing methods
I am running Win 7 x64, NI 488.2, PyVISA 1.5, and python with numpy/scipy/ipython. I am attempting to contact a Keithley instrument through a GPIB-USB connection and send simple commands. However, when I attempt to create the instrument object, I…

Steve R
- 131
- 2
- 11
0
votes
1 answer
Issue importing PyVISA
On Windows 8, Python 2.7, and PyVISA 1.4:
I have tried multiple installs, most recently using easy_install.
When I enter import visa, it seems to work, and I do not get an error message.
When I try to run 'lib = visa.VisaLibrary()', I get the…

user3638330
- 3
- 1
- 3
0
votes
1 answer
Using NI-VISA with Python: error code -1073807343 in viFindRsrc
I'm working in Python and have installed the lastest version of NI-VISA. I'm using the ctypes package in order to load the visa32.dll installed with NI-VISA.
I used both the NI-VISA documentation, as well as the following page as a base for my…

Tonio
- 414
- 5
- 17
0
votes
1 answer
Anritsu PyVISA issues
I'm having issues communicating with the Anritsu MG69377B microwave generators.
I have no problem going into a remote mode and identifying the instrument, but any other command which returns a value is timed out and the instrument does seem to…

user2083775
- 41
- 5
0
votes
1 answer
Python 2.7, dpkt, and pyvisa
when I simply use this single line of code:
import dpkt
I get this error:
Traceback (most recent call last):
File "", line 1, in
import dpkt
File "C:\Python27\lib\dpkt\__init__.py", line 24, in
import…

user2834948
- 1
- 2
0
votes
2 answers
Import Python Pyvisa Module in Sikuli
I am running sikuli script on a computer that automates data acquisition for some of my instruments. I have recently installed PyVisa and i am able to connect and communicate with my instruments using python without any issues. Is there a way i can…

lilgulpa
- 9
- 2
0
votes
1 answer
NI VISA and viWrite not detecting command errors
I'm testing out the vanilla viWrite() function and have realised that it does not return an error code when I pass in an invalid command string. I find this a little strange... surely the implementation ought to detect this event.
Here is a small…

Jimbo
- 4,352
- 3
- 27
- 44
0
votes
1 answer
PyVISA IV sweep with Keithley
I'm trying to do a IV curve measurement with Keithley and PyVISA. I found a Matlab example on Keithley website, but there's one section that I could not understand.
% Used the serail poll function to wait for SRQ
val = [1]; % 1st…

LWZ
- 11,670
- 22
- 61
- 79
0
votes
1 answer
how to interact between different application layers?
first of all i am confuse right now and might not be able to explain myself properly. let me try.
i have a business layer class which contain all the methods which are called from UI layer aspx pages. usually if a method throws an exception, i catch…

Ali Faizan
- 482
- 6
- 13
0
votes
1 answer
Set TCL vwait variable from a thread
I need to be able to set the variable to end a vwait from inside a thread. This is because I have a loop that normally locks the interperator and therefore any GUI it is running until it completes.
I'm wanting it to function just like a sleep…

jjno91
- 653
- 7
- 19
0
votes
2 answers
Communicate with RS-232 using VISA and C#
Is there C# example code to communicate with a device through an RS-232 serial port using VISA?
I just want to issue some simple commands and queries to the device as well as open and close it, of course.

George
- 347
- 2
- 9
- 21
0
votes
1 answer
Parsing string containing ascii codes to float
I'm using pyvisa to control a Signal recovery sr7225 lockin amplifier. Almost everything works as expected. There is only one problem, when the queried value is exactly zero and one queries in the floating point mode the following is…

P3trus
- 6,747
- 8
- 40
- 54
0
votes
1 answer
Acquiring Agilent 54642D oscilloscope waveform AND settings
I would like to use LabVIEW to capture the waveform already displayed on the screen of my Agilent oscilloscope (model 54642D). With this waveform, I would like to obtain the current settings of the oscilloscope-channel as well (volts/div, time/div,…

The_Ders
- 137
- 9
0
votes
1 answer
Importing PyVISA via Py2exe
My script file test.py is:
try:
from visa import *
except Exception as ex:
print ex
raw_input()
My setup.py file is:
from distutils.core import setup
import py2exe
setup(console=['test.py'])
I then run:
python setup.py py2exe
If I…

Jonno
- 767
- 2
- 7
- 13