Commands by Subsystem 3
Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Reference 117

:SERial

(see page 530)
Query Syntax :SERial?
The :SERial? query returns the serial number of the instrument.
Return Format: Unquoted string<NL>
See Also "Introduction to Root (:) Commands" on page 88