This is an old revision of the document!
Offset Phase Lock and Current Controller Command Set
List of commands for the ICE Offst PHase Lock and Current Controller. Please see Common Laser Controller Command Set for commands relating to the laser controller and Common Commands to all ICE Slave Boards for generic slave board commands.
Arguments:
No Arguments Taken
Example:
8
I2C Command Number: 32
Description
Returns the value of the N divider. <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Set the value of the N divider. Valid settings are 8,16,32 and 64. Returns output from N? command. <html></div></html>
Arguments:
No Arguments Taken
Example:
On
I2C Command Number: 34
Description
Returns whether the error signal is being inverted or not. <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Turns on or off inverting the error signal. Effectively changes the gain sign of the loop and whether the slave laser will be to the red or blue of the master laser. Returns output of Invert? Command. <html></div></html>
Arguments:
No Arguments Taken
Example:
Off
I2C Command Number: 36
Description
Returns if the internal reference oscillator is active (as opposed to using an external reference). <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Enables or disables using the internal reference (instead of external reference). Returns output of IntRef? command. <html></div></html>
Arguments:
No Arguments Taken
Example:
162875345.34
I2C Command Number: 38
Description
Returns the internal reference’s oscillator’s frequency in Hz. <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Sets the internal reference oscillator’s frequency to FREQ, where FREQ is a the frequency in Hz. Returns the output of the IntFreq? command. <html></div></html>
Arguments:
No Arguments Taken
Example:
On
I2C Command Number: 40
Description
Returns the status of the laser servo (on or off). <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Turns on the laser servo (engages the integrator). Returns the output of the command Servo?. <html></div></html>
Arguments:
No Arguments Taken
Example:
25
I2C Command Number: 42
Description
Returns Servo Gain. Range is from 0-64 in steps of 2 dB. 0 is a special gain setting where there is no gain (error signal does not go to integrator). <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Sets the Servo Gain. Range is from 0-28 in steps of 2 dB. 0 is a special gain setting where there is no gain (error signal does not go to integrator). Returns the output of the command GetGain? <html></div></html>
Arguments:
No Arguments Taken
Example:
2.341
I2C Command Number: 44
Description
Returns Servo Offset voltage (in volts). When the servo is engaged, this voltage is the starting voltage that the servo integrates from. <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Sets the Servo Offset voltage (in volts) to OUTPUT when the servo is turned off. When the servo is engaged, this voltage is the starting voltage that the servo integrates from. Returns the output of the command SvOffst?. <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Returns the voltage measured on channel CHANNEL (in volts). The channels refer to:- Servo Out
- Error Signal
- NA
- NA
- Laser Current (1V = 1A)
- +2.5V Ref
- NA
- Ground
<html></div></html>
Arguments:
No Arguments Taken
Example:
2.34
I2C Command Number: 47
Description
Reads the starting voltage for the ramp. <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Writes the starting voltage for the ramp. Range is from -10V to +10V. Returns the output from the command RampBeg?. Sets the SvOffset to the ramp begin voltage. This way, laser starts at RampBeg value before ramp is initialized, enabling a smooth ramp. <html></div></html>
Arguments:
No Arguments Taken
Example:
5.72
I2C Command Number: 49
Description
Reads the ending voltage for the ramp. <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Writes the ending voltage for the ramp. Range is from -10V to +10V. Returns the output from the command RampEnd?.Note: RampEnd value is rounded up to be consistent with the RampInc value. <html></div></html>
Arguments:
No Arguments Taken
Example:
3
I2C Command Number: 51
Description
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. <html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number:
Description
Sets the increment step size of the ramp. Multiply the RampInc value by 3.05e-4 V to get the ramp step size in volts. RampInc cannot be set to 0. <html></div></html>
Arguments:
No Arguments Taken
Example:
100
I2C Command Number: 53
Description
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. Number of data points to calculated by the following formula:$$ \frac{RampEnd-RampBeg}{3.05\cdot 10^{-4} \times RampStep} $$
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.
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.
<html></div></html>
Arguments:
No Arguments Taken
Example:
I2C Command Number: