DS335 Synthesized Function Generator
DS335 Synthesized Function Generator
DS335 Synthesized Function Generator
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
3-8 Programming Commands<br />
STATUS BYTE DEFINITIONS<br />
Status Reporting<br />
The <strong>DS335</strong> reports on its status by means of three status bytes: the serial poll byte, the standard status byte,<br />
and the DDS status byte.<br />
On power on the <strong>DS335</strong> may either clear all of its status enable registers or maintain them in the state they<br />
were in on power down. The action taken is set by the *PSC command and allows things such as SRQ on<br />
power up.<br />
Serial Poll Status Byte:<br />
bit name<br />
usage<br />
0 Sweep Done set when no sweeps are in progress<br />
1 Sweep Enable set when sweep is enabled<br />
2 User SRQ set if the user sends a SRQ from the front panel<br />
3 DDS An unmasked bit in the DDS status register has been set.<br />
4 MAV The gpib output queue is non-empty<br />
5 ESB An unmasked bit in the standard status byte has been set.<br />
6 RQS/MSS SRQ (Service Request)bit.<br />
7 No Command There are no unexecuted commands in the input queue<br />
The DDS and ESB bits are set whenever any unmasked bit (bit with the corresponding bit in the byte enable<br />
register set) in their respective status registers is set. They are not cleared until the condition which set the bit<br />
is cleared. Thus, these bits give a constant summary of the enabled status bits. A service request will be<br />
generated whenever an unmasked bit in the serial poll register is set. Note that service requests are only<br />
produced when the bit is first set and thus any condition will only produce one service request. Accordingly, if<br />
a service request is desired every time an event occurs the status bit must be cleared between events.<br />
Standard Event Status Byte:<br />
bit name<br />
usage<br />
0 unused<br />
1 unused<br />
2 Query Error Set on output queue overflow<br />
3 unused<br />
4 Execution err Set by an out of range parameter, or non-completion of some command due<br />
to a condition such as an incorrect waveform type.<br />
5 Command err Set by a command syntax error, or unrecognized command<br />
<strong>DS335</strong> <strong>Synthesized</strong> <strong>Function</strong> <strong>Generator</strong>