Questions tagged [gpib]

The *general purpose interface bus* (GPIB), also known as *IEEE-488*, is a standard short range digital communication bus. It is used in the test & measurement industry to control the equipment.

The general purpose interface bus (GPIB), also known as IEEE-488, is a standard short range digital communication bus. It is used in the test & measurement industry to control the equipment.

121 questions
1
vote
1 answer

ioctl errorno: 25 in GPIB communication using python-gpib

I am trying to communicate with a Tektronix oscilloscope TDS 210 using a GPIB-USB-HS adapter of National Instruments. My system is Ubuntu 14.04.3 where I installed linux-gpib as described in this link: Linux GPIB Driver package (source) and also…
VML
  • 11
  • 2
1
vote
1 answer

ENUM module and cStringIO module in PYVISA

I have some trouble to fix. I am using Python 3.2 with pyvisa for Python 3.2 32bits. When i used: import pyvisa It displayed: ImportError: No module named enum But when I use: import pyqtgraph, pyvisa I get: ImportError: No module named…
1
vote
2 answers

Converting a String^ to a const void* in C++

I am using C++/CLI to create a GUI that controls an external GPIB device. The GUI has a textbox where the user can enter a voltage. I am able to read the voltage from the textbox like this... String^ v1 = textBox1->Text; Assuming the user properly…
JohnnyW
  • 483
  • 2
  • 7
  • 16
1
vote
2 answers

Sending commands through GPIB via Excel VBA

I have this network analyzer and need to send commands to it via Excel VBA and GPIB. I have the GPIB and other hardware set up just fine, but I do not know how to simply send commands through the GPIB to the analyzer. I have considerable programming…
Tamarisk
  • 529
  • 3
  • 6
  • 15
1
vote
1 answer

Detect an attempt to read from opposite end of pipe/fifo in Linux

I am thinking of implementing a sort of daemon/service in C/C++ for linux, that would communicate with a specific gpib device through shell (using linux-gpib library). The idea is that the daemon would scan for all existing devices and would create…
Kupto
  • 2,802
  • 2
  • 13
  • 16
1
vote
1 answer

Translating GPIB in MATLAB to PyVISA

I've inherited some MATLAB code used to program an XYZ stage through a GPIB connection. To make it more compatible with some existing code in Python, I need to somehow translate it, e.g. using the PyVISA package. I would really like some help with…
Happy
  • 429
  • 3
  • 7
  • 18
0
votes
1 answer

How to use LabVIEW to control and command Keithley 2410 - 2400 Source meter

Trying to connect Keithley 2410 Source meter from GPIB port and command and control its current frequency change for my setup. I need to use SCPI I guess. how can I do that is there any one help me with that SCPI visa transformation appropriate way…
0
votes
1 answer

How to obtain a floating point result from a query using SCPI

I've been stuck for a time now trying to get a real(floating point query) power measurement from a peak search(marker) on a FSW Rohde & Schwarz Spectrum Analyzer through Pyvisa. I tried almost every command mentioned in the user manual but I can…
0
votes
0 answers

Where do I include cl / ... /MD files?

I'm trying to communicate with GPIB using NI488.2, in the Programming Instructions they tell me to build the application using: cl /I"%NIEXTCCOMPILERSUPP%\include" cprog.c "%NIEXTCCOMPILERSUPP%\lib32\msvc\ni4882.obj" /MD how do i include this? Do…
0
votes
0 answers

pyvisa with GPIB

I need to control an equipment from Agilent via GPIB under python in ubuntu 20.04. I have installed the visa libraries from Keysight, also from national and pyvisa-py, but when I cannot manage the device. When I check the pyvisa-info i…
ferferfer
  • 1
  • 3
0
votes
1 answer

Windows machine as USB-488/USBTMC device

I would like to use a windows machine as a USB488/USBTMC device. USB488/USBTMC is a reimplementation of the good old GPIB/IEEE-488 on USB rails. But most articles on the topic refer to a Windows machine as a host/controller. The Windows USB stack is…
0
votes
0 answers

Error when using python to read SR830 lockin Amplifier, "TypeError: 'module' object is not callable"

I am currently using RS232 interface to read SR830 data. After searching the pymeasure library, I found Pymeasure.instrument.srs.sr830 can read data, but it doesn't work. I found out "ASRL3" is equal to "COM3" from serial port name…
Rui Bai
  • 1
  • 1
0
votes
1 answer

PyVisa-USB timeout error cannot be cleared without reboot?

I need some advice on how to deal with USB timeout errors. I am working on an app that is communicating with my Anritsu instrument over USB-GPIB port. The app works fine, I read out results periodically with fixed interval. However from time to time…
bierkof
  • 49
  • 2
0
votes
1 answer

How to communicate with device with GPIB?

I use "82357B USB/GPIB" in order to communicate with a device with "Agilent Communication Expert". How can I communicate with the device in C# code? What should I need to install? Which references to add? etc. And how to diploy the application to…
Ohadra
  • 19
  • 4
0
votes
1 answer

How am I able to check which devices I'm interfacing with?

I work at a microwave technology company and part of my job is developing software to interface with the devices we use using Python, specifically PyVISA. I'm currently trying to write a program that interfaces with several different types of…
1 2 3
8 9