
$ minicom -D /dev/ttyUSB0 Ctrl+A +Z (release Ctrl and A before press Z)to show the Menu, then configure minicom(Select O)-->Serial port setup-->change the Hardware Flow Control to No(Select F). Enter to previous menu, then choose Exit.
Check the current IP
Type SET to check the current IP. (PS: Type HE for help. In the list popped out, SOCKET --> SET. )
Then assign a new IP address, if applicable.
SET 1 165.91.180.63 to reset IP address for the DCRC;
SET 2 165.91.180.1 to reset the GateWay;
SET 3 255.255.254.0 to reset the NetMask
NETSAV and then SET to chekc if new IP address is saved.
RESET the board
Exit minicom with Ctrl+A then X
Disconnect the board
Download the iphython git package.
Go the directory you'd like to download the git package.
$ git clone ssh://nero.stanford.edu:26/data/git/DCRC/RevD_testbench.git$ cd RevD_testbench/$ git branch -av #Check which branch you are currently in$ git checkout --track origin/feature/jsw_DCRC_controls #CommentsTips: You could switch between branches you already have by the following commands as an example.
$ git branch -av #Check which branch you are currently in$ git checkout master #Switch to another branch 'master'$ git branch -av$ git checkout feature/jsw_DCRC_controls #Switch to branch 'jsw_DCRC_controls'There are two methods you can use to connect to DCRC. 1.1 is remommended
The code is included in the git package, what you need to do is to run these lines or the cell contains these lines. Don't forget to change the IP address and port number with yours.
DCRC = DCRC_controls.DCRC('165.91.180.63', 5001) # Four port numbers available: 5000, 5001, 5002, 5003. If one is used pick another. DCRC.open() #Connect to the DCRCIn terminal run the following commands,
$ telnet IPAddress.or.HostName PortNumber
Change IPAddress.or.Host and PortNumber to yours. Tpye q and enter to Exit
Check the slopes and find the offsets, and their uncertainties.
Slopes:
%%timepoints = 0x8000 + array([-0x800, -0x400, -0x200, -0x100, -0x80, -0x40, -0x10, -0x5, 0, 0x5, 0x10, 0x40, 0x80, 0x100, 0x200, 0x400, 0x800])results = array([cal_point(0x760, p, 5, DCRC, scope) for p in points])print(results.shape)print(results)
The slope and offset, and their uncertainties, for each pin will be calculated by the code. Fill these values in the calibration sheet. Here is the values you will find in the code.

At the end of the code you will see the plot of Measured Values vs Expected Values. Visual Check: ALL the datapoints should follow the fitting line.

0x760 in results = array([cal_point(0x760, p, 5, DCRC, scope) for p in points])) when you are ready to calibrate another pin.Test the noise performance for ALL channels. Channel 0~11 are phonon channels and Channel 12~15 are charge channels. When you run the code, it will show the traces and PSDs of all channels. Check them visually.





Check Feedback Polarity with difference soruces for each phonon channel. Src 0 is Test Signal and Src 1 is Test Signal + Input Signal.








The baseline of the pulses shift ???

The amplitudes of the pulses are reduced to ×1, ×1/2, ×1/4, ×1/8.

Similar to the procedure except for "I. Trigger from Charge Pulser". Will be added after the we are happy with "3.2 Phonon Test"
Here is the sample results from previous tests.