30.01.2015 Views

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3-6 Programming Commands<br />

Setup Control Commands<br />

*IDN<br />

*RCL i<br />

*RST<br />

*SAV i<br />

The *IDN common query returns the <strong>DS335</strong>'s device configuration. This<br />

string is in the format: StanfordResearchSystems,<strong>DS335</strong>,serial<br />

number,version number. Where "serial number" is the five digit serial<br />

number of the particular unit, and "version number" is the 3 digit firmware<br />

version number.<br />

The *RCL command recalls stored setting number i, where i may range from<br />

0 to 9. If the stored setting is corrupt or has never been stored an execution<br />

error will be generated.<br />

The *RST common command resets the <strong>DS335</strong> to its default configurations.<br />

The *SAV command saves the current instrument settings as setting number<br />

i.<br />

Status Reporting Commands<br />

(See tables at the end of the Programming section for Status Byte definitions.)<br />

*CLS<br />

*ESE () i<br />

*ESR {i}<br />

*PSC () i<br />

*SRE () i<br />

*STB {i}<br />

DENA () i<br />

STAT {i}<br />

The *CLS common command clears all status registers. This command<br />

does not affect the status enable registers.<br />

The *ESE command sets the standard event status byte enable register to<br />

the decimal value i.<br />

The *ESR common command reads the value of the standard event status<br />

register. If the parameter i is present the value of bit i is returned (0 or 1).<br />

Reading this register will clear it while reading bit i will clear just bit i.<br />

The *PSC common command sets the value of the power-on status clear bit.<br />

If i = 1 the power on status clear bit is set and all status registers and enable<br />

registers are cleared on power up. If i = 0 the bit is cleared and the status<br />

enable registers maintain their values at power down. This allows the<br />

production of a service request at power up.<br />

The *SRE common command sets the serial poll enable register to the<br />

decimal value of the parameter i.<br />

The *STB common query reads the value of the serial poll byte. If the<br />

parameter i is present the value of bit i is returned (0 or 1). Reading this<br />

register has no effect on its value as it is a summary of the other status<br />

registers.<br />

The DENA command sets the DDS status enable register to the decimal<br />

value i.<br />

The STAT query reads the value of the DDS status byte. If the parameter i<br />

is present the value of bit i is returned. Reading this register will clear it while<br />

reading bit i will clear just bit i.<br />

<strong>DS335</strong> <strong>Synthesized</strong> <strong>Function</strong> <strong>Generator</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!