Skip to main content

Questions tagged [scpi]

For questions about the Standard Commands for Programmable Instruments ("SCPI") standard, which defines the syntax and commands for controlling electronic instruments such as power supplies and oscilloscopes.

Filter by
Sorted by
Tagged with
1 vote
1 answer
124 views

Interfacing with a Tektronix TBS2074B using PyVisa and SCPI commands - Timeout issue

I have a script for capturing waveform data via USB, that at one point in time was working appropriately. However, recently it stopped working and multiple things/settings were changed making it hard ...
Cemetery_Gates's user avatar
3 votes
0 answers
43 views

Synchronizing SCPI communication over RS232

I have a power supply that has a reasonable implementation of SCPI over RS-232, but with the usual constraint that SRQ is unavailable, there is no STB side channel, and any bytes in the message buffer ...
Simon Richter's user avatar
0 votes
0 answers
20 views

NIMax can communicate with Keysight E36106B but pyvisa locks up forever

My code is successfully communicating with lots of test equipment but for some reason it's hanging up indefinitely when communicating with a Keysight E36106B DC supply. The attached pictures show me ...
Bobby's user avatar
  • 31
0 votes
1 answer
58 views

SCPI command SYSTem:ERRor?

I need to send some SCPI to a power supply IT6000C. Part of the code is to check if the instrument is in over voltage protection (OVP) or current protection (OCP). I don’t manage to find a SCPI ...
fausto tromba's user avatar
0 votes
1 answer
502 views

SCPI for SIGLENT SDG2042X

I have been writing python automating scripts for an O-scope and an AWG. I am having issues sending Arbitrary waveforms to the AWG, the model is Siglent SDG2042X. I have the manual and it has an ...
Frank's user avatar
  • 15
0 votes
1 answer
570 views

SCPI OPC command not working

I am writing a SCPI script in Python for the Siglent SDS1104X-E. I have been banging my head for a few days trying to get this to work. Below is my main py file: ...
Frank's user avatar
  • 15
2 votes
1 answer
324 views

Scaling Waveform from LeCroy 4104HD using Python/IEEE488.2

I am automating control of a LeCroy oscilloscope using IEEE488.2 and Python/PyVisa. It seems like it should be relatively straightforward. I use the WF? command to get the waveform + header, I use the ...
Bobby's user avatar
  • 31
0 votes
0 answers
80 views

Siglent SDS Oscciloscope VISA disconnection

I'm currently connecting my Siglent SDS1202X-E Digital Storage Oscilloscope to my lab PC using a USB cable. I took advantage of the VISA interface that it has and used PyVISA package to write script ...
JackyWang's user avatar
0 votes
1 answer
450 views

Measurement of delay between two signals using MSO4104 with PyVisa

I need to automate the measurement of delay between two signals using the oscilloscope. I am using MSO4104 from Tektronix. I programmed the oscilloscope for delay measurement, but I am not getting the ...
Confused's user avatar
  • 2,593
0 votes
1 answer
277 views

Problems enabling remote voltage-sense Rigol load DL3021 via SCPI

I am automating some tests with Rigol hardware. There is only one bottleneck in the SCPI implementation that I can't figure out: How to enable the remote voltage-sense terminals on the Rigol DP3021 ...
Michael's user avatar
  • 195
1 vote
1 answer
977 views

Standard SCPI Error codes?

I'm writing code that sends SCPI commands to various instruments (power supplies, o'scopes, data acquisition, etc.) The TDK Lambda power supply is returning the code "C01" which means "...
Thomas Matthews's user avatar
0 votes
2 answers
3k views

How to use SCPI over RS232 with a Rigol Programmable load?

I have a Rigol DL3021 programmable load. I'd like to control it as part of an automated test setup, over SCPI from a Linux box. Their programming manual assumes you're on a Windows machine and wants ...
brenzo's user avatar
  • 433
0 votes
0 answers
321 views

Standard SCPI commands - Hantek DSO4004C Series

I own an oscilloscope from Hantek (DSO4254C). Want to write my own library for accessing the DSO in C which uses the usbtmc driver in Linux. Are there some standard IEEE488 commands which the DSO ...
user avatar
0 votes
1 answer
275 views

Labview cannot send command error

i'm trying to control keysight instrument. And i constructed a block diagram in Labview. It works at first, but at second time it won't even respond to *IDN? Command. Visa read block gives timeout ...
celikorenerol's user avatar
1 vote
2 answers
2k views

GPIB/SCPI Error Codes

I'm using a modern NI USB-GPIB adapter with NI-MAX 19/488.2 to query an Agilent E8361A VNA with SCPI commands. Commands such as *IDN? and ...
NFRF's user avatar
  • 11
2 votes
0 answers
22 views

get the failed step name from KIKUSUI TOS9200/TOS9201

I'm using the KIKUSUI TOS9200/TOS9201 HIPOT tester, by setting a program number. If a step in the program fails, I use the MON command get the step monitor values. The information I need is in the ...
DarkLight's user avatar
1 vote
1 answer
150 views

Time taken by power supply to reach output voltage

My question is regarding programmable power supplies. If I send a SCPI command to the power supply using USB/RS-232 or some other serial communication, how do i know the time taken by the power supply ...
Abhishek K's user avatar
1 vote
2 answers
3k views

For SCPI programming in python, Is it necessary to install a NI-VISA back-end if you are trying to iterface with a non-National Instruments device? [closed]

[background/context] hello, I am trying to learn to automate measurement devices using SCPI commands, but instead of using Labview I decided to go with python. I have played around with SCPI commands ...
Peter James Beierle's user avatar
0 votes
0 answers
50 views

2x GPIB via USB Adapter

I have 2 of the normal Agilent E3646A power supplies and an Agilent GPIB/USB adapter. All 3 devices have different GPIB addresses and the two supplies are connected together with a GPIB cable. ...
divB's user avatar
  • 1,326
0 votes
1 answer
124 views

Getting Agilent USB GBIP Adapter to work with NI-Visa or R&S GBIP over USB with Agilent Visa

This Visa/IVI jungle is pretty much a desaster. Not enough that each package contains GBs or data, they also cause problems when installed in parallel (one example: https://www.mathworks.com/support/...
divB's user avatar
  • 1,326
1 vote
7 answers
12k views

Retrieving data from Agilent 34401A Digital Multimeter over the RS232 interface

I want to interface Agilent 34401A Digital Multimeter over the RS232 interface. The settings (baud rate, parity, number of start and stop bits) are set to be same on multimeter, pc (device manager) ...
balboa's user avatar
  • 203
3 votes
2 answers
1k views

Reading an Analog Voltage Waveform with a Programmable Scope

I am trying to automate the use of a Tektronix TBS 1052B digital oscilloscope in order to get the waveform for an analog voltage signal. Or in other words, get a number of voltage measurement samples ...
Snoop's user avatar
  • 601
1 vote
1 answer
210 views

SCPI OUTput:COUPling command parameters AC|DC

In the SCPI-99 standard command reference the command output:coupling is specified as taking the parameters 'AC' or 'DC'. However, this is the first time such a ...
Toby's user avatar
  • 835
2 votes
3 answers
584 views

SCPI message exchange control implementation

This is more of a software question but I figured more would be known about SCPI (IEEE 488.2) here. I am implementing a full serial (using IEEE 1174) SCPI parser on an IC device but am wondering ...
Toby's user avatar
  • 835