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.

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.

See Wikipedia's article on SCPI for more information.

21 questions
3
votes
2 answers

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 over time. There seem to be at least two…
Snoop
  • 581
  • 1
  • 5
  • 18
2
votes
1 answer

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 Template? command to get the template for…
Bobby
  • 31
  • 3
2
votes
0 answers

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 step NAME. How can I get the failed step name?
DarkLight
  • 21
  • 3
1
vote
3 answers

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 about the best way to implement this (in C).…
Toby
  • 825
  • 1
  • 8
  • 16
1
vote
1 answer

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 "Illegal command or query". Are there standard error codes or are…
Thomas Matthews
  • 275
  • 2
  • 8
1
vote
2 answers

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 SENS:FREQ:START? -- basically any command ending in a question mark -- returns the proper string with no…
NFRF
  • 11
  • 3
1
vote
1 answer

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 to reach the programmed voltage or time taken by…
Abhishek K
  • 33
  • 4
1
vote
2 answers

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?

[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 in Physik Instrumente (PI)-specific software in…
1
vote
7 answers

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) and on the application that I use for terminal.…
balboa
  • 203
  • 2
  • 11
1
vote
1 answer

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 data type is mentioned! Should these be translated to boolean values as 'ON' and 'OFF'…
Toby
  • 825
  • 1
  • 8
  • 16
0
votes
1 answer

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 Command to control it. I have found only SYSTem:ERRor?…
0
votes
1 answer

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 example using USB and the WVDT command. I am using…
Frank
  • 15
  • 4
0
votes
1 answer

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
  • 15
  • 4
0
votes
0 answers

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 for automated testing. However, although the…
0
votes
1 answer

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 output. The measurement conditions are given…
Hari
  • 1,496
  • 11
  • 22
1
2