Programming Commands
3-9
Setup Control Commands
*IDN?
The *IDN common query returns the DS345's device configuration. This
string is in the format: StanfordResearchSystems,DS345,serial num-
ber,version number. Where "serial number" is the five digit serial number of
the particular unit, and "version number" is the 3 digit firmware version num-
ber.
*RCL i
The *RCL command recalls stored setting number i, where i may range from
0 to 9. If the stored setting is corrupt or has never been stored an execution
error will be generated.
*RST
The *RST common command resets the DS345 to its default configurations.
*SAV i
The *SAV command saves the current instrument settings as setting number
i.
Status Reporting Commands
(See tables at the end of the Programming section for Status Byte definitions.)
*CLS
The *CLS common command clears all status registers. This command
does not affect the status enable registers.
*ESE (?) i
The *ESE command sets the standard event status byte enable register to
the decimal value i.
*ESR? {i}
The *ESR common command reads the value of the standard event status
register. If the parameter i is present the value of bit i is returned (0 or 1).
Reading this register will clear it while reading bit i will clear just bit i.
*PSC (?) i
The *PSC common command sets the value of the power-on status clear bit.
If i = 1 the power on status clear bit is set and all status registers and enable
registers are cleared on power up. If i = 0 the bit is cleared and the status
enable registers maintain their values at power down. This allows the pro-
duction of a service request at power up.
*SRE (?) i
The *SRE common command sets the serial poll enable register to the deci-
mal value of the parameter i.
*STB? {i}
The *STB? common query reads the value of the serial poll byte. If the pa-
rameter i is present the value of bit i is returned (0 or 1). Reading this regis-
ter has no effect on its value as it is a summary of the other status registers.
DENA (?) i
The DENA command sets the DDS status enable register to the decimal val-
ue i.
STAT? {i}
The STAT? query reads the value of the DDS status byte. If the parameter i
is present the value of bit i is returned. Reading this register will clear it while
reading bit i will clear just bit i.
Summary of Contents for DS345
Page 2: ......
Page 5: ...DS345 Synthesized Function Generator iii...
Page 20: ...Introduction 2 4...
Page 64: ...Programming Commands 3 14...
Page 72: ...Program Examples 3 22...
Page 78: ...Troubleshooting 4 6...
Page 82: ...Performance Tests 5 4...
Page 101: ...Calibration 6 10...
Page 109: ...Arbitrary Waveform Composer 7 8...
Page 117: ...DS345 Circuitry 8 8...