Skip to content

SCPI Overview

The device implements a SCPI (Standard Commands for Programmable Instruments) command interface over two transport protocols.

Transport Protocols

Raw TCP (Port 5025)

Property Value
Protocol TCP
Port 5025
Format Text-based, newline-terminated

Example connections:

telnet <device-ip> 5025
nc <device-ip> 5025

HiSLIP (Port 4880)

HiSLIP (High-Speed LAN Instrument Protocol) is defined by IVI Foundation specification IVI-6.1. It provides improved performance over raw TCP and supports VISA resource strings.

Property Value
Protocol HiSLIP (IVI-6.1)
Port 4880
Vendor ID NF

VISA resource string:

TCPIP::<device-ip>::hislip0::INSTR

Example (Python with PyVISA):

import pyvisa
rm = pyvisa.ResourceManager()
inst = rm.open_resource("TCPIP::192.168.0.95::hislip0::INSTR")
print(inst.query("*IDN?"))

All commands documented in this section are available on both transport protocols.

Command Syntax

Case Insensitivity

Commands are case-insensitive:

*IDN?
*idn?
*Idn?

Short Forms

SCPI supports abbreviated commands. Uppercase letters in the documentation indicate the minimum required characters:

Full Form Short Form
:SYSTem:NETwork:ETHernet:MODE? :SYST:NET:ETH:MODE?
:SYSTem:FIRMware:VERSion? :SYST:FIRM:VERS?
SWITch:MAIN:STATe? SWIT:MAIN:STAT?

Multiple Commands

Multiple commands can be sent on one line, separated by semicolons:

*IDN?; :ATT?

Error Codes

Code Range Description
-100 to -199 Command errors (invalid syntax, missing or invalid parameters)
-200 to -299 Execution errors (hardware operation failures)
Code Description
-101 Invalid or missing parameter
-102 Invalid state value
-103 Invalid IP address
-104 Invalid or unsupported mode
-108 Invalid attenuation value
-200 Hardware or configuration operation failed