Technical data
238 Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
13 Common Commands
*PSC
(Power- on Status Clear)
Command
*PSC {{ON|1} | {OFF|0}}
The *PSC command determines whether or not the SRQ line is set upon
the completion of the oscilloscope's boot process. When the *PSC flag is
set to 1, the Power On (PON) bit of the Standard Event Status Register is
0 during the boot process. When the *PSC flag is set to 0, the PON bit is
set to a 1 during the boot process.
When the *PSC flag is set to 0, the Standard Event Status Enable Register
must be set to 128 decimal and the Service Request Enable Register must
be set to 32 decimal. This allows the Power On (PON) bit to set the SRQ
line when the oscilloscope is ready to receive commands.
Example This example sets the *PSC flag to 0 which sets the SRQ line during the
boot process.
myScope.WriteString "*PSC 0;*SRE 32;*ESE 128"
Query The *PSC? query returns the value of the *PSC flag.
Returned Format
1<NL>
Example This example places the *PSC flag into the integer variable varPscflag.
myScope.WriteString "*PSC?"
varPscflag = myScope.ReadNumber
Debug.Print FormatNumber(varPscflag, 0)
NOTE
If you are using a LAN interface rather than a GPIB interface, it is not possible to receive the
SRQ during the boot process.