Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.

Common SCPI Errors and examples

Models 2400, 2401, 2410, 2420, 2425, 2430, 2440, 6430
Locked
Dale C
Keithley Applications
Keithley Applications
Posts: 2840
Joined: June 10th, 2010, 6:22 am
Country: United States
Contact:

Common SCPI Errors and examples

Post by Dale C » June 22nd, 2010, 11:11 am

In general the negative integer errors are SCPI errors as defined by the SCPI protocol. The positive integer errors are defined by the manufacturer.

-101 Invalid Character - The dollar sign is not part of the syntax for the command. :SENSE$:VOLT:NPLC 1

-102 Syntax Error
- Command syntax error. the semicolon should be a colon. Example ":SENSE:VOLT;PROT 10"

-110 Command Header Error - Indicates there is a syntax error in the command. In this case two colons between SENSE and VOLT.Example " :SENSE::VOLT:RANGE 10"

-113 Undefined Header Error - Missing "T" on the word VOLT. Example ":SENSE:VOL:NPLC 1"

-121 Invalid Character in Number - A common error where a zero was typed instead of an "O".

Example ":OUTPUT 0N"

-150 String Data Error - This indicates that the string is incorrect. In this case the quote is missing at the end of VOLT. Example ":SENSE:FUNC 'VOLT"

-222 Parameter Data Out of Range - This error occurs because there is not 10A source current capability. Example ":SOUR:CURR 10"

-410 Query interrupted - This error shows up when the unit has been sent a query(e;g; TRACE:DATA?) and not all the data has been read before another command is received. Usually this happens when the data string is not large enough to accept all the data the unit has to send. Then the unit is in a mode where it is trying to send more data and another command is recieved. Always set the data string to at least the amount of bytes that are expected.


-420 Query Unterminated - This error shows up normally when a reading is request by the controller but no query was sent.

+800 Illegal with storage active with 2400 - +800 can occur while trying to clear the buffer of a 2400 with :TRAC:CLE command if the 2400 is set to :TRAC:FEED:CONT NEXT .
To resolve error send a :TRAC:FEED:CONT NEVER prior to a ;TRAC:CLE
Otherwise the 2400 will be waiting for the next value to be captured into the buffer.
Note:SYST:PRES or *RST will have no effect on the commands in this subsystem.

+803 Not Permitted with Output Off - Output must be on/enabled to take readings. Example ":OUTPUT OFF;:INIT"

+822 Too small for sense range - This error will be generated if you fix a measurement range and attempt to set compliance to less than 1% of range.

+823 Invalid with Source Readback ON
- The measure range must match the source range when measuring the source value. Example ":SENSE:CURR:RANG 1e-4"

+824 Cannot exceed compliance range
- This error will be generated if you attempt to set the measurement range to a value greater than the value appropriate for the compliance level.

+825 Invalid with AUTO Ohms on - The current range cannot be set unless the unit is in Manual Ohms mode. Example ":SOUR:CURR:RANGE 1e-3"

Locked

Return to “2400 Series SourceMeter”

Who is online

Users browsing this forum: No registered users and 4 guests