EasyManua.ls Logo

Rohde & Schwarz SMU200A - SCPI Command Structure

Rohde & Schwarz SMU200A
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Remote Control Basics
R&S
®
SMU200A
468Operating Manual 1007.9845.32 ─ 15
client.receive( rcStr );
cout << rcStr;
}
}
if( useSingleCommand )
{
terminate = true;
}
}
}catch( const string errorString )
{
cout<<errorString<<endl<<endl;
cout<<"Press Enter to exit"<<endl;
getchar();
}
client.disconnect( );
return errorCode;
}
6.3 SCPI Command Structure
SCPI commands consist of a so-called header and, in most cases, one or more param-
eters. The header and the parameters are separated by a "white space" (ASCII code 0
to 9, 11 to 32 decimal, e.g. blank). The headers may consist of several mnemonics (key-
words). Queries are formed by appending a question mark directly to the header.
The commands can be either device-specific or device-independent (common com-
mands). Common and device-specific commands differ in their syntax.
6.3.1 Syntax for Common Commands
Common (=device-independent) commands consist of a header preceded by an asterisk
(*) and possibly one or more parameters.
Examples:
*RST RESET Resets the instrument.
*ESE EVENT STATUS ENABLE Sets the bits of the event status enable
registers.
*ESR? EVENT STATUS QUERY Queries the contents of the event status
register.
*IDN? IDENTIFICATION QUERY Queries the instrument identification
string.
SCPI Command Structure

Table of Contents

Other manuals for Rohde & Schwarz SMU200A

Related product manuals