12.07.2015 Views

Time Interval and Frequency Counter

Time Interval and Frequency Counter

Time Interval and Frequency Counter

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.

34 Programming Comm<strong>and</strong>sOnce in binary dump mode the SR620 will takedata <strong>and</strong> send it to the controller as fast as it can.Binary dump mode is terminated when: the countexpires, the front panel reset key is pressed, orANY comm<strong>and</strong> is received. Because of the lastrestriction, the BDMP comm<strong>and</strong> should always bethe last comm<strong>and</strong> on a comm<strong>and</strong> line. The binarydata taken in this mode is NOT buffered. TheSR620 will take a data point, wait until thecontroller has read the entire point, take anotherpoint , etc.. Thus the maximum throughput maybe limited by the controller. It is recommended thatsome form of direct memory access transfer beused to maximize the transfer rate.The binary data is return as a 8 byte 2'scomplement binary integer. The least significantbyte is always sent first <strong>and</strong> an EOI is sent withthe most significant byte. To convert this numberto a number with the correct units the followingmust be done: 1) Convert the 2's complementnumber to signed integer form, <strong>and</strong> 2) multiply bya mode dependent scaling factor. The scalingfactors are given below.Examples of the binary dump mode are given inthe Programming Examples section of the manual.Scan Control Comm<strong>and</strong>sANMD (?) jThe ANMD comm<strong>and</strong> sets the mode of the rearpanel DAC outputs. The parameter j =0 setsoutput #0 to produce a voltage proportional to themeasurement mean value, <strong>and</strong> DAC output #1 toproduce a voltage proportional to the jitter of themeasurement. The parameter j = 1 sets output 0to be a programmable voltage source <strong>and</strong> output 1to be proportional to the jitter. The parameter j = 2sets output 0 to be proportional to the mean <strong>and</strong>output 1 to be a programmable voltage source. If j= 3 both outputs are programmable sources.Binary Dump Scale FactorsDBEG (?) jThe DBEG comm<strong>and</strong> sets the start position of theinternal delay scan. The parameter j is the desireddelay in units of number of gate widths. Theallowable range is between 1 <strong>and</strong> 50000.DSEN (?) jThe DSEN comm<strong>and</strong> controls the enable status ofthe scanning delay. The parameter j = 0 sets thedelay OFF. If j =1 the delay is set to HOLD, that is, active but fixed in position. If j = 2 the delay isset to SCAN <strong>and</strong> will step by 1 step at the end ofeach group of samples. Note that the SR620MUST be in arming mode 6,7, or 8 for the delayscan to be functional <strong>and</strong> that an external trigger isrequired. (See the SCEN comm<strong>and</strong>.)DSTP (?) xThe DSTP comm<strong>and</strong> sets the size of the scanningdelay's step. The range of sizes that may be set isbetween 1us <strong>and</strong> 10ms in a 1,2,5 sequence. TheDSTP? query returns a floating point number with1 significant digit.HOLD (?) xThe HOLD comm<strong>and</strong> sets the hold time at eachscan point when in scan mode. The hold timemay range between 10ms <strong>and</strong> 1000s in 10msincrements. The HOLD? query return the holdtime as a floating point number.SCANThe SCAN comm<strong>and</strong> clears the current scan <strong>and</strong>starts a new scan. The SCAN comm<strong>and</strong>automatically turns on the automeasure mode.This comm<strong>and</strong> should not be used if one wants tomanually control the acquisition of data during ascan. One should use the SCLR <strong>and</strong> STRTcomm<strong>and</strong>s instead.<strong>Time</strong> (2.712673611111111 E-12)/256 • 1.05963812934 E-14Width (2.712673611111111 E-12)/256 • 1.05963812934 E-14Rise/fall time (2.712673611111111 E-12)/256 • 1.05963812934 E-14<strong>Frequency</strong> (1.0 E 12)/(2.71267361111111 * 2^68) • 1.24900090270331 E-9 (x1000 OFF)<strong>Frequency</strong> (1.0 E 9)/(2.71267361111111 * 2^68) • 1.24900090270331 E-12 (x1000 ON)Period(2.712673611111111 E-12/256 •1.05963812934 E-14 (x1000 OFF)Period(2.712673611111111 E-15)/256 • 1.05963812934 E-17 (x1000 ON)Phase 360.000/2^32 • 8.3819032 E-8Count 1/256Ratio 1/2^40 • 9.094947017729282 E-13SR620 Universal <strong>Time</strong> <strong>Interval</strong> <strong>Counter</strong>

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

Saved successfully!

Ooh no, something went wrong!