User Tools

Site Tools


ice:commands:peaklock

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
ice:commands:peaklock [2014/02/08 18:35] Ben Lueyice:commands:peaklock [2018/11/27 01:33] Michael Radunsky
Line 1: Line 1:
 ====== Peak Lock and Current Controller Command Set ====== ====== Peak Lock and Current Controller Command Set ======
  
-List of commands for the ICE Quad Temperate Controller. Please see [[ice:commands:lasercurrent|Common Laser Controller Command Set]] for commands relating to the laser controller.+List of commands for the ICE Peak Lock Servo. Please see [[ice:commands:lasercurrent|Common Laser Controller Command Set]] for commands relating to the laser controller.
  
 <function=ICEfunc|0=Phase?&2=58&3=32> <function=ICEfunc|0=Phase?&2=58&3=32>
Line 69: Line 69:
  
 <function=ICEfunc|0=OpOffst&1=I:OFFSET:142;&2=142&3=46> <function=ICEfunc|0=OpOffst&1=I:OFFSET:142;&2=142&3=46>
-Sets the Integrator Op-Amp’s Offset Voltage adjustment value. This should be factory set, but it controls the DC Error Input voltage that the servo locks to (should be 0V) OFFSET is an integer from 0-255. Returns the output of the command **OpOffst?**.+Sets the Integrator Op-Amp’s Offset Voltage adjustment value. This should be factory set and typically should be set to 128, but it controls the DC Error Input voltage that the servo locks to (should be 0V) OFFSET is an integer from 0-255. Returns the output of the command **OpOffst?**.
 <html></div></html> <html></div></html>
  
Line 93: Line 93:
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampBeg?&2=2.34&3=51> +<function=ICEfunc|0=RampSwp?&2=5.72&3=51> 
-Reads the starting voltage for the ramp. +Reads the sweep range (in volts) for the ramp. 
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampBeg&1=F:VOLTAGE:-2.64&2=-2.65&3=52> +<function=ICEfunc|0=RampSwp&1=F:VOLTAGE:2.64&2=2.65&3=52> 
-Writes the starting voltage for the ramp.  Range is from -10V to +10V. Returns the output from the command **RampBeg?**.+Writes the sweep range (in volts) for the ramp.  Range is from 0V to +10V. Returns the output from the command **RampSwp?**. The ramp will step from SvOffst - RampSwp/2 to SvOffst + RampSwp/2 by increments determined by RampSwp and RampNum and then return to SvOffst every time a RampRun command is initiated.\\  
 +\\ 
 +//Note: RampSwp value is rounded and truncated to match range of the servo offset. //
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampEnd?&2=5.72&3=53> +<function=ICEfunc|0=RampNum?&2=100&3=53> 
-Reads the ending voltage for the ramp. +Returns the number of data points to be acquired during the ramp. Number of data points is also the number of steps for the ramp.  
 + 
 +Note that the amount of bytes stored by the ramp is 2*RampNum. The amount of bytes stored set how much data needs to be read back via the **ReadBlk** command.  
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampEnd&1=F:VOLTAGE:2.64&2=2.65&3=54> +<function=ICEfunc|0=RampNum&1=I:NUMBER:100&2=100&3=54> 
-Writes the ending voltage for the ramp.  Range is from -10V to +10V. Returns the output from the command **RampEnd?**.\\  +Sets the number of data points to be acquired during the ramp. Number of data points is also the number of steps for the ramp.  
-\\ +
-//Note: RampEnd value is rounded to keep step size constant despite quantization of the servo output.//+
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampInc?&2=3&3=55> +<function=ICEfunc|0=RampRun&2=Busy&3=55> 
-Reads the increment step size of the ramp. Multiply the RampInc value by 3.05e-4 V to get the ramp step size in volts  +Begins ramping the servo output and taking data according to the values set for **RampSwp** and **SvOffst** as described above. The Ramp begins at SvOffst - RampSwp/2 and ends of SvOffst + RampSwp/2. When the ramp is completed, the servo output is returned to its starting value of SvOffstData can be retrieved with the **ReadBlk** command. Board will not respond to any new commands while taking data. Returns status of execution of the ramp, either Busy or Finished. Returns fault if ramp is misconfigured. See **RampNum?** for details. Returns fail if laser is off.
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampInc&1=I:STEPSIZE:3&2=3&3=56> +<function=ICEfunc|0=Poles?&2=3 0&3=56> 
-Sets the increment step size of the rampMultiply the RampInc value by 3.05e-4 V to get the ramp step size in voltsRampInc cannot be set to 0.+Returns two columns of dataFirst column is a number 1-5 representing the integrator pole value. Values are kHz, 10 kHz, 30 kHz, 100 kHz and 300 kHz1 is the slowest integrator (3 kHz) and 5 is fastest integrator (300 kHz)The second column is a when the differential pole is off and a 1 when it is on. When differential is on, the pole is ~3 times the integrator pole. So if PI pole is 30 kHz, the differential pole is 100 kHz
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampNum?&2=100&3=57> +<function=ICEfunc|0=Poles&1=I:INTEGRATOR:3;I:DIFFERENTIAL:1&2=3 1&3=57> 
-Returns the number of data points to be acquired during the rampNumber of data points is also the number of steps for the ramp. Number of data points to calculated by the following formula: +Sets the integrator and differential pole positionsINTEGRATOR is a value from 1-5DIFFERENTIAL is either on (1or off (0)See **Poles?** for more details
- +<html></div></html>
-$$ \frac{RampEnd-RampBeg}{3.05e-4 \times RampStep} $$ +
- +
-Note that the amount of bytes stored by the ramp is 2*RampNum when **DataChn** is in Mode 1 or 2; when **DataChn** in in Mode 3, the amount of data stored is 4*RampNumThe amount of bytes stored set how much data needs to be read back via the **ReadBlk** command.  +
- +
-RampNum returns 0 if there is a configuration error (ramp increment larger than ramp range) or if number of data points exceeds storage capacity on device, which is 3072 bytes.+
  
 +<function=ICEfunc|0=EvtLOff?&2=4&3=58>
 +Reads the event address for turning the laser off. Address range is 0-7 where address 0 is no event. 
 <html></div></html> <html></div></html>
  
-<function=ICEfunc|0=RampRun&2=Busy&3=58+<function=ICEfunc|0=EvtLOff&1=I:ADDRESS:2&2=2&3=59
-Begins ramping the servo output and taking data according to the values set for RampNum, RampBeg, RampEnd and DataChn as described above. Data can be retrieved with the **ReadBlk** commandBoard will not respond to any new commands while taking data. Returns status of execution of the ramp, either Busy or Finished.+Sets the event address for turning the laser offAddress range is 0-7 where address 0 is no event
 <html></div></html> <html></div></html>
 +
  
  
ice/commands/peaklock.txt · Last modified: 2023/11/30 21:32 by 127.0.0.1