30.01.2015 Views

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

DS335 Synthesized Function Generator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Programming Commands 3-7<br />

Hardware Test and Calibration Commands<br />

NOTE: These commands are primarily intended for factory calibration use and should never be needed<br />

during normal operation. Incorrect use of some of these commands can destroy the calibration of the<br />

<strong>DS335</strong>.<br />

$CLK<br />

The $CLK command queries the <strong>DS335</strong> for the status of its calibration<br />

jumper. Shown below are the different status values that the <strong>DS335</strong> can<br />

return:<br />

Status value Meaning<br />

0 Calibration disabled<br />

1 Calibration enabled<br />

$FCL<br />

*TST<br />

The $FCL command recalls the factory calibration bytes. This command will<br />

generate an error if calibration is not enabled.<br />

The *TST common query runs the <strong>DS335</strong> internal self-tests. After the tests<br />

are complete the test status is returned. The status may have the following<br />

values (see the TROUBLESHOOTING section for more details):<br />

Status value Meaning<br />

0 No Error.<br />

1 CPU Error. The <strong>DS335</strong> has detected a problem in its CPU.<br />

2 Code Error. The <strong>DS335</strong>'s ROM firmware has a checksum<br />

error.<br />

3 Sys RAM Error. The system RAM failed its test.<br />

4 Cal Data Error. The <strong>DS335</strong>'s calibration data has become<br />

corrupt.<br />

5 Unused.<br />

6 Program Data Error. The modulation program RAM failed its<br />

test.<br />

7 <strong>DS335</strong> not warmed up. At least 2 minutes must elapse<br />

between power on and calibration.<br />

$PRE () i The $PRE command sets the <strong>DS335</strong>'s pre-amplifier attenuators to range i.<br />

The integer i is the attanuation value in dB and ranges from 0 to 14 in<br />

increments of two. Resetting the amplitude will return the attenuators to their<br />

normal position. The $PRE query returns the current attenuator position.<br />

$PST () i The $PST command sets the <strong>DS335</strong>'s post-amplifier attenuators to range i.<br />

The integer i is the attenuation value in dB and ranges from 0 to 30 in<br />

increments of two. Resetting the amplitude will return the attenuators to their<br />

normal position. The $PST query returns the current attenuator position.<br />

$WRD () j{,k}<br />

The $WRD command sets the value of calibration word j to k. Parameter j<br />

may have a value from 0 to 554, while k may range from -127 to +65535.<br />

This command will generate an error if calibration is not enabled. NOTE: this<br />

command will alter the calibration of the <strong>DS335</strong>. To correct the calibration<br />

the factory calibration bytes may be recalled (see the $FCL command). The<br />

calibration bytes cannot be altered unless the warm-up bit has been set.<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!