Conversation
|
The most important changes are the ipfs for the LS625 and IPS120 power supplies! |
| rampK2400Voltage(S.instrIDx, startx, ramprate = rampratex) | ||
|
|
||
| // Let gates settle | ||
| sc_sleep(S.delayy*20) |
There was a problem hiding this comment.
It is probably better to keep delayy instead of hard coding a 2 second sleep. It would be better to add an optional parameter to Scank2400 that allows you to set delayy and if not set will use default of 2.
| rampK2400Voltage(S.instrIDx, setpointx, ramprate=S.rampratex) | ||
| else | ||
| setK2400Voltage(S.instrIDx, setpointx) | ||
| endif |
There was a problem hiding this comment.
Not essential, but nice to keep orderly indenting.
| fast=0 | ||
| endif | ||
|
|
||
|
|
There was a problem hiding this comment.
In IGOR if the parameter is default it is already set to 0. But it is good to be explicit.
A nice 1 liner would be:
fast = paramisdefault(fast) ? 1 : fast
| sc_sleep(S.delayx) | ||
| if(fast==1) | ||
| setlS625field(S.instrIDx, setpointx) | ||
| sc_sleep(max(S.delayx, (S.delayx+60*abs(finx-startx)/numptsx/ramprate))) |
There was a problem hiding this comment.
What does this math do? Looks like you have the time in minutes for a ramp to complete divided by the number of points in x. So if you take 1 data point this is the same as setlS625fieldwait(S.instrIDx, setpointx) but if you take 1e6 data points then you will start collecting data immediately??
| writeInstr(instrID, "APHS \n") | ||
| end | ||
|
|
||
| function AutoSRSSens(instrID) |
There was a problem hiding this comment.
Write a comment on what this function does.
|
|
||
|
|
||
|
|
||
| function Scan_n_limit(instrIDx,instrIDy,fixedD,startn,finn,numptsn,delayn,rampraten, limitx, limity, [y_label, comments, nosave]) //Units: mV |
There was a problem hiding this comment.
What does this function do? Write a comment.
|
Everything looks fine to me. Most of the changes were in Scan_n_D_Bxyz.ipf which I never use. |
…he gate capacitance New updates to the scan_n_d codes incorporating a division ratio in the gate capacitance
Open connections to the lakeshore magnet power supply parameters corrected. Tested to work in the LD system
Errors associated with connecting to the IPS power supply were also corrected.