<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
Martin Shepherd wrote:<br>
<blockquote type="cite"
cite="midPine.LNX.4.58.0403111653480.18303@goblin.caltech.edu">
<pre wrap="">In my reply to Melinda's query I unfortunately got the ordering of the
phase-switch bins completely wrong. Sorry for the confusion.
Fortunately Tim's reply reminded me.
The ordering of the phase-switch bins in the data array for a given
ADC, won't be their time order within the phase-switch cycle, as I
incorrectly stated in my previous email, but rather:
Switch A Switch B
Bin 0: 0 0
Bin 1: 0 1
Bin 2: 1 0
Bin 3: 1 1
Where 0 means that the phase switch is off, and 1 means that it is
on. In other words they will be ordered in the binary order of a 2-bit
integer formed by concantenating the boolean control bits of switches
A and B.
Note that there will always be 4 bins per ADC, regardless of how many
phase-switches are enabled. The bins that aren't sampled will simply
hold zeroes. Thus the data array will always contain 64 elements.
Martin
_______________________________________________
gb-ccb mailing list
<a class="moz-txt-link-abbreviated"
href="mailto:gb-ccb@listmgr.cv.nrao.edu">gb-ccb@listmgr.cv.nrao.edu</a>
<a class="moz-txt-link-freetext"
href="http://listmgr.cv.nrao.edu/mailman/listinfo/gb-ccb">http://listmgr.cv.nrao.edu/mailman/listinfo/gb-ccb</a>
</pre>
</blockquote>
Then, as I understand it, the "PHASE STATES" are related to the "BINS"
as follows...<br>
<br>
The "PHASE STATES" run <u>chronologically</u> as...<br>
<br>
<u>"PHASE STATE"</u> <u>SWITCH A</u> <u> SWITCH B</u><br>
<br>
00 0 0<br>
01 0 1<br>
11 1 1<br>
10 1 0<br>
00 0 0<br>
01 0 1<br>
11 1 1<br>
10 1 0<br>
etc... etc... etc...<br>
<br>
(Which uses "quadrature" to minimize the switching rate of each
switch.)<br>
<br>
And writing to the corresponding "BINS" goes as follows...<br>
<br>
<u>"PHASE STATE"</u> <u>SWITCH A</u> <u> SWITCH B</u> <u>"BIN"</u><br>
<br>
00 0
0 0<br>
01 0
1 1<br>
11 1
1 3<br>
10 1
0 2<br>
00 0
0 0<br>
01 0
1 1<br>
11 1
1 3<br>
10 1
0 2<br>
etc... etc...
etc... etc...<br>
<br>
Is this correct???<br>
<br>
Randy<br>
</body>
</html>