Questions tagged [visa]

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.

188 questions
9
votes
3 answers

Python instrument drivers

I am an experimental physicist and am a big enthusiast of Python. I find it great for data analysis and scripting, and I actualy also use it to interface laboratory instruments (network analyzer, scopes, signal analyzers, and signal…
Samuel
  • 479
  • 4
  • 10
8
votes
3 answers

Linux implementation of VISA API

Do you know any Linux implementations of Virtual Instrument Software Architecture? Even simple and restricted? Free and open-source implementations are preferred. Only implementation I know is NI VISA which is non-free and closed-source. Moreover,…
Andrey
  • 3,667
  • 6
  • 27
  • 36
7
votes
3 answers

Cannot connect to a specific Ethernet port using Python and PyVisa

I am trying to connect to a temperature chamber via an Ethernet connection using pyVisa in Python. The device only allows connections through port 2049. I have no problems connecting to it via PuTTY or HyperTerminal, but when I try this command in…
KMB
  • 113
  • 1
  • 2
  • 5
6
votes
1 answer

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 make it work in Linux. If I run lsusb I see this: $…
user171780
  • 2,243
  • 1
  • 20
  • 43
6
votes
1 answer

Which IVI references should I use?

I'm fairly new to anything but basic .NET projects but am currently attempting to make a test system for use with T & M instruments that communicates using SCPI over various media such as GPIB, USB, etc. I have Keysight IO Libraries installed and…
Toby
  • 9,696
  • 16
  • 68
  • 132
6
votes
1 answer

Equivalent function ibwrtfW and ibwrtfA in python visa/gpib module

I'm in the process of automating lab instruments. I have a requirement like function will send file/binary data via VISA GPIB from Host PC to instrument. In Ni4882.h there is the following functions to transfer file/binary data in Visual studio…
Sandy
  • 233
  • 1
  • 2
  • 18
5
votes
3 answers

NI VISA + pyVisa on Mac OS X (Snow Leopard)

Has anyone had success running pyVisa on Snow Leopard with a NI GPIB module? Based on all of the forums I have read on NI's website, it does not appear that the combination of NI VISA and pyVisa can be done on Max OS X. The troubling part is that NI…
Adam Lewis
  • 7,017
  • 7
  • 44
  • 62
5
votes
0 answers

After installing VISA and PyVisa, VISA module is not found

I'm on Mac OS X v10.8.5 (Mountain Lion). I've installed NI-VISA 5.4 and PyVisa 1.5. When I try 'import visa', I get this traceback: Traceback (most recent call last): File "", line 1, in ImportError: No module named visa Printing…
Crystal
  • 137
  • 1
  • 2
  • 7
4
votes
0 answers

pyvisa can not locate a VISA implementation

pyvisa can not locate a VISA implementation and fails to load NI-VISA back-end: >>> import visa >>> import platform >>> print(platform.architecture()) ('64bit', 'WindowsPE') >>> rm =…
Ajax
  • 1,418
  • 2
  • 17
  • 38
4
votes
2 answers

VISA SCPI command processor for Linux

I have a special-purpose piece of custom test equipment that I want to control from another box using the VISA SCPI instrument control commands. The custom box contains an x86 processor running full Ubuntu Linux. I want that the custom box respond…
Pedro_Uno
  • 946
  • 10
  • 19
4
votes
2 answers

pyVISA: Return instrument to local mode programmatically

I am using pyVISA to control some instruments in a GPIB network. When I create a resource manager, all the instruments in my GPIB network enter remote mode, so the front panel displays are locked and do not update. When I close the resource manager,…
Violet
  • 311
  • 1
  • 4
  • 13
4
votes
2 answers

VI_ERROR_TMO (-1073807339)

I'm using RS-232 port to communicate with KeithleyInstruments(SCPI Protocol) and have a problem.I can send the write command but when I send a query command it*s show the error below. import visa rm = visa.ResourceManager() inst =…
Mirza Grbic
  • 152
  • 1
  • 3
  • 14
4
votes
1 answer

PyVisa read timeout

I'm still new to python and instrument controlling and I'm facing some issues that I couldn't find answers to yet. I'm using PyVisa to control a monochromator (Spectral Products dk240) via rs232. (Python 3.5, PyVisa 1.8) I can write commands and…
sgmotti
  • 41
  • 1
  • 5
4
votes
1 answer

Acquiring data from oscilloscope using pyvisa

I am trying to read waveform data from DSO_X 2024a via TCP/IP, and I need a specific number of points. How do I get float results from the scope? Code import visa rm =…
ilan
  • 123
  • 1
  • 7
4
votes
1 answer

Dealing with ctypes and ASCII strings when porting Python 2 code to Python 3

I got fed up last night and started porting PyVISA to Python 3 (progress here: https://github.com/thevorpalblade/pyvisa). I've gotten it to the point where everything works, as long as I pass device addresses (well, any string really) as an ASCII…
1
2 3
12 13