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.
171
questions
0
votes
0answers
8 views
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 visa
rm = ...
0
votes
0answers
24 views
Why do i get an error after using VISA for a while?
I have written an application in c #, I use 'Windows Forms App (.Net Framework)'.
The application communicates with a measuring instrument. The application should be able to run for a few hours to ...
0
votes
0answers
25 views
ctypes imports dll in python but it doesn't work
I need to import a C library in python (TLDFM, a library to drive a deformable mirror by thorlabs), I'm doing it with
>>> mirror=ctypes.cdll.LoadLibrary('TLDFM_64.dll')
but even if I don't ...
0
votes
1answer
19 views
Keep getting VisaIOErrors after crash, unless device and ipython are rebooted
We are controlling a Keithley DMM6500 using the pyVisa library. In our setup, we are keeping an iPython kernel running (through Spyder).
The problem we're running into is the following: whenever a ...
1
vote
0answers
38 views
Reading delta values from R&H spectrum analysers
I am currently working on a project where I need to read the difference between the minimum
and maximum markers of a Rhode and Schwarz FSC3 device. I am using NIVisa to connect to the
device over an ...
0
votes
1answer
27 views
Python: Connect device using Visa TCP Socket connection
In summary; I am trying to connect to a device using Visa TCP Socket option.
The Connection does not complain but I can not run any SCPI command to the device. Could this be because of an incorrect ...
0
votes
0answers
29 views
Is pyvisa for python3.x necessary to communicate in SCPI with lab instruments?
Can I just simply make TCP socket connection and send formatted strings? In general cases what should the formatted string be?
****Safe to assume: ********
TCP connection has been successfully made ...
1
vote
0answers
14 views
Does SCPI allow overloaded commands?
I'm working on implementation of a simple SCPI parser for an instrument that will support VISA API. I wonder if there are any restrictions to support commands that may be called with different set of ...
0
votes
1answer
59 views
Send SCPI Commands through Powershell using VISA
I have to open a session the connection Address similar to GPIB::5::INSTR and Fire the SCPI command "*IDN?"
I need to do it through Powershell.
I found only one article : http://kckoay....
1
vote
1answer
141 views
USB RAW (BULK) VISA Read/Write inside loop too slow?
I have a custom USB device containing an ADC whose sampled data I want to receive in LabVIEW. The data rate is 16.384 MBit/s with block sizes of 1024 Bytes every 500 us. A tiny C++ application I built ...
0
votes
1answer
22 views
How to run code in parallell? (Communicating with equipments through VISA and RS232
I wrote a code to control 3 different devices simultaneously. (Function generator, Thermometer and spectrometer)
And each loop, it reads temperature from thermometer and collects spectrum data from ...
0
votes
2answers
180 views
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 HUB
Part ...
0
votes
0answers
81 views
have exception error when using Visa.Interop.ResourceManager in C#
I'm using C# to control instrument(ex. function generator) but when using ResourceManager constructor some exception error occurs...
This is the exception System.Runtime.InteropServices.COMException'(...
0
votes
1answer
72 views
Qt-Based C++ Project Works If Run From cmd.exe But Not From Within Qt Creator
I am writing a very minimal C/C++ Qt-based application for Windows (only Windows -- not cross platform at all) that uses a VISA library (visa64.dll) to talk to some external hardware. That library, in ...
0
votes
1answer
29 views
'Exception ignored in:' when using visa and get_instrument(). Why?
I appear to be getting an 'Exception ignored in:' warning message associated with a visa.ResourceManager.get_instrument() command. However, I don't understand why I'm getting the warning.
Note that ...
0
votes
1answer
81 views
Read 3 bytes from VISA using Labview
I am new in Labview. I have to implement a program that can read 3 bytes from a Microcontroller: The first one should be from a command table (I've already done that), the second one should be a ...
0
votes
1answer
102 views
Why is the voltage not set on my Keysight PS? Commands sended via SCPI in python
I am trying to set and measure the output voltage of a Keysight N6701A power supply using Python and SCPI commands. In the console, I can see that the commands are sent successfully, but it also tells ...
0
votes
0answers
42 views
Problem in loading arbitrary waveform on signal generator when exceeding a certain number of points (Rigol DG4062)
I am trying to load arbitrary waveforms on Rigol DG4062 waveform generator. I don't use any pre-written VISA libraries. I am sending plain SCPI commands to my device's IP. The following sequence of ...
0
votes
1answer
50 views
How to store data in Keithley2400 buffer during measurements and retrieve through rs232?
I am trying to do an IV measurement (source current, sense voltage) store into the Keithley2400 buffer and retrieve the measured data (voltage and current) into my python program variable 'data'.
rm =...
2
votes
1answer
199 views
Add new VISA network device to resources
I'm setting up a test environment including several instruments connected via LAN(TCP/IP) or USB. A Software shall be written in C# using the Ivi.Visa library. The instruments (which will change over ...
1
vote
1answer
215 views
The remote server returned an error: (401) Unauthorized. In Visa develope payment Gateway
I am getting an error while implementing visa cyber source using c# code and I have downloaded source code for that after creating a project but getting error may be x-pay-token was not generating ...
1
vote
1answer
150 views
How do I send low level GPIB commands using PyVISA?
So I have initialized a GPIB instrument like so:
import pyvisa
rm = pyvisa.ResourceManager()
kk = rm.open_resource('GPIB0::1::INSTR')
# kk is some Keithley 2400 source meter unit
According to the ...
1
vote
0answers
142 views
Python VISA Resource Manager taking a long time to load
I'm writing scripts to control test equipment. I've been using the visa library to create handles for the equipment. Everything has been working fine for a while until recently when I try to open my ...
0
votes
0answers
36 views
VISA read Com port
everyone! I have a device which is connected to usb by fibre optic line through the adapter called "usb-rs232 converter". OS windows see that device like COM3-port. NI-VISA find that device like ASRL3:...
-2
votes
1answer
296 views
Error when trying to communicate with scope, VisaIOError: VI_ERROR_TMO (-1073807339): Timeout expired before operation completed
I need to communicate with a scope, Agilent Infiniium DCA-J 86100C, with python 2.7. The company Keysight offers various python code, although I'm trying to run one of them to help me learn but it ...
1
vote
1answer
311 views
Device Communication with VISA work in Python, but not in C++
I'm learning to use VISA (A National Instruments set of modules) to communicate with some NI Devices. I previously used Python, but now I'm also learning to work with C++.
I'm having difficultly ...
0
votes
2answers
720 views
Error while calling VISA API from .NET Core
I am trying to make a GET request to VISA api from .NET Core and I am getting the following error message in WebException
The credentials supplied to the package were not recognized visa
VISA APIs ...
1
vote
1answer
2k views
VI_ERROR_TMO (-1073807339): Timeout expired before operation completed
I try to connect my Power Analyser Rohde&Schwarz, HMC8015 ('ASRL3::INSTR') to my computer, and to read any data that my device can show with python VISA. I have a lot of problems with the code ...
0
votes
0answers
256 views
How to control Tenma 72-2540 PS with PyVISA?
I want to control Tenma 72-2540 programmable power supply with PyVISA and python script.
I can control the unit from "docklight" serial communicator.
Instrument don't use end terminator character (\...
2
votes
0answers
463 views
C#: Controlling a power supply using VISA libraries and the device USB-TP PIA4850. Not able to read the power supply output properly
I am tring to control a power supply (from Kikusui), using the Kikusui device, USB-TP PIA4850. I use the library, Ivi.Visa.Interop. Following is the code where I am succesfully able to control the ...
1
vote
1answer
725 views
Connecting to USBTMC devices via USB in Linux
I'm currently implementing a gotmc/VISA package to send SCPI commands to my multimeter.
But every time I try to connect to the device, it gets me the same message:
libusb: device or resource busy [...
0
votes
3answers
3k views
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 can ...
2
votes
0answers
3k views
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'...
0
votes
1answer
427 views
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 = rm.list_resources()
print(...
0
votes
2answers
555 views
Token validation failed Visa X-pay
I need to tweak an API https://sandbox.api.visa.com/cybersource/payments/flex/v1/keys?apikey={apikey}
I am imitating the official document X-Pay Token,but it fail with "Token validation failed" error.
...
0
votes
2answers
66 views
implementing two commands in one boolean case
In the image linked below, I circled the two commands I want to send to my current source.
It's my first time using Labview so I apologize if the question is too basic. I also apologize for not just ...
1
vote
1answer
391 views
Python code to read/write label of oscilloscope
I have written a small Python code to read back the label of a particular channel on my Tektroniks oscilloscope. The following code works well and gives the expected result.
import visa
rm=visa....
1
vote
1answer
118 views
Python Script call a different python script, then, from secondary script bring an string/result to main script
I'm writing a test software to control a few Agilent Instruments using PyVISA and VISA as well some Agilent IO libraries. I have create a "TesPlan" (testplan.py) that should "call" a few other Phyton ...
1
vote
1answer
999 views
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 ...
1
vote
1answer
684 views
Using LOADLIBRARY to load 'visa32.dll' and 'visa.h' in 64-bit Matlab R2017b
With Matlab R2015b on 32-bit Windows 7, LOADLIBRARY was working fine:
library = 'C:\Windows\System32\visa32.dll';
headerFile = 'C:\Program Files\IVI Foundation\VISA\WinNT\include\visa_Matlab.h';
...
0
votes
0answers
587 views
Cannot open include file: 'visa.h'
I am working in a C++ project that uses the IVI Foundation and VISA dependencies. However, since moving over to Windows 10, I can't find where to install those onto my machine, to the point where I am ...
0
votes
0answers
515 views
Labview VISA timeout, aborting issue
I am developing a program to remotely access the multimeter through GPIB. I am using visa read function to obtain measurement values and convert string of values to numerical values. At proper Visa ...
2
votes
0answers
152 views
Labview: VISA resource busy only when run from subVI
I'm working on a labview program that will talk to box via VISA commands. When I use the instrument assistant in the labview Instrument I/O palette as an open window, it will send and receive ...
1
vote
1answer
659 views
Unpack binary data read from serial port in LabVIEW
I am reading data from 3, 12bit ADCs and streaming the data constantly to computer by USB (UART) . Each package of the data stream is as follows:
It has 6 bytes of data from 3 ADCS which the 8 bits ...
1
vote
2answers
717 views
How to handle data response from payment gateway if the user close his browser before redirect back to merchant site
I got a complain from a customer when he buy a product from my website.
He close the browser (lost electric or etc ..) before the transaction has complete . His browser not yet to redirect back to our ...
1
vote
1answer
1k views
Python cannot find a usbtmc device
I'm trying to communicate with a hardware device I have (Yokogawa GS200 DC source).
I am using Anaconda\Spyder my development environment.
I am using Win10 and a 64bit system.
The device has a driver (...
1
vote
1answer
538 views
PyVISA cannot write hex characters above 7F
I want to use PyVISA to communicate via RS232 with a Neslab RTE-111 water bath. I can find the instrument, but I cannot communicate with it because the pyvisa 'write' command gives an error when I try ...
-2
votes
1answer
203 views
Credit card integrate visa & masercard
I want to use pay by creditcard but I haven't any progress in my task.
this is my code that I try but nothing happen.
<html>
<head>
<script type="text/javascript">
...
-1
votes
1answer
712 views
How to create a custom Dynamic QR Code woocommerce payment gateway?
I would like to know how I can create a Dynamic QR Code woocommerce payment gateway plugin. Customers will be able to make payment using a Mobile App by scanning the code generated on the checkout ...
0
votes
0answers
49 views
Visa checkout multiple transactions
I am working with VISA CHECKOUT API and i am trying to make it work with multiple products at once . The problem is that i want the money payed for this products to be delivered to 2 different persons....