3-8 Programming Commands
DS335 Synthesized Function Generator
STATUS BYTE DEFINITIONS
Status Reporting
The DS335 reports on its status by means of three status bytes: the serial poll byte, the standard status byte,
and the DDS status byte.
On power on the DS335 may either clear all of its status enable registers or maintain them in the state they
were in on power down. The action taken is set by the *PSC command and allows things such as SRQ on
power up.
Serial Poll Status Byte:
bit name
usage
0
Sweep Done
set when no sweeps are in progress
1
Sweep Enable
set when sweep is enabled
2
User SRQ
set if the user sends a SRQ from the front panel
3
DDS
An unmasked bit in the DDS status register has been set.
4
MAV
The gpib output queue is non-empty
5
ESB
An unmasked bit in the standard status byte has been set.
6
RQS/MSS
SRQ (Service Request)bit.
7
No Command
There are no unexecuted commands in the input queue
The DDS and ESB bits are set whenever any unmasked bit (bit with the corresponding bit in the byte enable
register set) in their respective status registers is set. They are not cleared until the condition which set the bit
is cleared. Thus, these bits give a constant summary of the enabled status bits. A service request will be
generated whenever an unmasked bit in the serial poll register is set. Note that service requests are only
produced when the bit is first set and thus any condition will only produce one service request. Accordingly, if
a service request is desired every time an event occurs the status bit must be cleared between events.
Standard Event Status Byte:
bit name
usage
0
unused
1
unused
2
Query Error
Set on output queue overflow
3
unused
4
Execution err
Set by an out of range parameter, or non-completion of some command due
to a condition such as an incorrect waveform type.
5
Command err
Set by a command syntax error, or unrecognized command
Summary of Contents for DS335
Page 2: ...DS335 Synthesized Function Generator...
Page 6: ...iv SRS Symbols DS335 Synthesized Function Generator...
Page 10: ...viii Specifications DS335 Synthesized Function Generator...
Page 18: ...2 4 Introduction DS335 Synthesized Function Generator...
Page 22: ...2 8 Features DS335 Synthesized Function Generator...
Page 26: ...2 12 Function Setting DS335 Synthesized Function Generator...
Page 30: ...2 16 Sweeps FSK DS335 Synthesized Function Generator...
Page 42: ...3 10 Programming Commands DS335 Synthesized Function Generator...
Page 46: ...3 14 Programming Examples DS335 Synthesized Function Generator...
Page 50: ...4 4 Troubleshooting DS335 Synthesized Function Generator...
Page 74: ...5 8 Circuitry DS335 Synthesized Function Generator...