User Tools

Site Tools


ice:commands:opls

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
ice:commands:opls [2020/09/24 22:57] Michael Radunskyice:commands:opls [2023/11/30 21:32] (current) – external edit 127.0.0.1
Line 5: Line 5:
 The theory, usage, and performance of the ICE-CP1 can be [[ice:servo-opls|found here]].  The ICE-CP1 web page can be [[http://www.vescent.com/products/electronics/icetm-integrated-control-electronics/ice-cp1-current-control-and-offset-phase-lock/|found here]]. The theory, usage, and performance of the ICE-CP1 can be [[ice:servo-opls|found here]].  The ICE-CP1 web page can be [[http://www.vescent.com/products/electronics/icetm-integrated-control-electronics/ice-cp1-current-control-and-offset-phase-lock/|found here]].
  
-<function=ICEfunc|0=N?&2=8&3=32>+<function=ICEfunc?0=N&2=8&3=32>
 Returns the value of the N divider.  Returns the value of the N divider. 
  
-<function=ICEfunc|0=N&1=I:VALUE:16;&2=16&3=33>+<function=ICEfunc?0=N&1=I:VALUE:16;&2=16&3=33>
 Set the value of the N divider. Valid settings are 8,16,32 and 64. Returns output from **N?** command. Set the value of the N divider. Valid settings are 8,16,32 and 64. Returns output from **N?** command.
  
-<function=ICEfunc|0=Invert?&2=On&3=34>+<function=ICEfunc?0=Invert&2=On&3=34>
 Returns whether the error signal is being inverted or not.  Returns whether the error signal is being inverted or not. 
  
-<function=ICEfunc|0=Invert&1=A:On/Off:Off;&2=Off&3=35>+<function=ICEfunc?0=Invert&1=A:On/Off:Off;&2=Off&3=35>
 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. 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.
  
-<function=ICEfunc|0=IntRef?&2=Off&3=36>+<function=ICEfunc?0=IntRef&2=Off&3=36>
 Returns if the internal reference oscillator is active (as opposed to using an external reference). Returns if the internal reference oscillator is active (as opposed to using an external reference).
  
-<function=ICEfunc|0=IntRef&1=A:On/Off:On;&2=On&3=37>+<function=ICEfunc?0=IntRef&1=A:On/Off:On;&2=On&3=37>
 Enables or disables using the internal reference (instead of external reference). Returns output of **IntRef?** command. Enables or disables using the internal reference (instead of external reference). Returns output of **IntRef?** command.
  
-<function=ICEfunc|0=IntFreq?&2=162.875345&3=38>+<function=ICEfunc?0=IntFreq&2=162.875345&3=38>
 Returns the internal reference’s oscillator’s frequency in MHz. Returns the internal reference’s oscillator’s frequency in MHz.
  
-<function=ICEfunc|0=IntFreq&1=F:FREQ:204.543765;&2=204.543765&3=39>+<function=ICEfunc?0=IntFreq&1=F:FREQ:204.543765;&2=204.543765&3=39>
 Sets the internal reference oscillator’s frequency to FREQ, where FREQ is a the frequency in MHz. Returns the output of the **IntFreq?** command. Sets the internal reference oscillator’s frequency to FREQ, where FREQ is a the frequency in MHz. Returns the output of the **IntFreq?** command.
  
-<function=ICEfunc|0=Servo?&2=On&3=40>+<function=ICEfunc?0=Servo&2=On&3=40>
 Returns the status of the laser servo (on or off). Returns the status of the laser servo (on or off).
  
-<function=ICEfunc|0=Servo&1=A:On/Off:On;&2=Off&3=41>+<function=ICEfunc?0=Servo&1=A:On/Off:On;&2=Off&3=41>
 Turns on the laser servo (engages the integrator). Returns the output of the command **Servo?**. Turns on the laser servo (engages the integrator). Returns the output of the command **Servo?**.
  
-<function=ICEfunc|0=Gain?&2=25&3=42>+<function=ICEfunc?0=Gain&2=25&3=42>
 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).  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). 
  
-<function=ICEfunc|0=Gain&1=I:GAIN:24;&2=24&3=43>+<function=ICEfunc?0=Gain&1=I:GAIN:24;&2=24&3=43>
 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?** 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?**
  
-<function=ICEfunc|0=SvOffst?&2=2.341&3=44>+<function=ICEfunc?0=SvOffst&2=2.341&3=44>
 Returns Servo Offset voltage (in volts). When the servo is engaged, this voltage is the starting voltage that the servo integrates from. Returns Servo Offset voltage (in volts). When the servo is engaged, this voltage is the starting voltage that the servo integrates from.
  
-<function=ICEfunc|0=SvOffst&1=F:OFFSET:-1.232;&2=-1.23&3=45>+<function=ICEfunc?0=SvOffst&1=F:OFFSET:-1.232;&2=-1.23&3=45>
 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?**. 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?**.
  
-<function=ICEfunc|0=ReadVolt&1=I:CHANNEL:4&2=4.234&3=46>+<function=ICEfunc?0=ReadVolt&1=I:CHANNEL:4&2=4.234&3=46>
 Returns the voltage measured on channel CHANNEL (in volts). The channels refer to: Returns the voltage measured on channel CHANNEL (in volts). The channels refer to:
   - Servo Out   - Servo Out
Line 59: Line 59:
  
  
-<function=ICEfunc|0=RampSwp?&2=5.72&3=47>+<function=ICEfunc?0=RampSwp&2=5.72&3=47>
 Reads the sweep range (in volts) for the ramp.  Reads the sweep range (in volts) for the ramp. 
  
-<function=ICEfunc|0=RampSwp&1=F:VOLTAGE:2.64&2=2.65&3=48>+<function=ICEfunc?0=RampSwp&1=F:VOLTAGE:2.64&2=2.65&3=48>
 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.\\  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. // //Note: RampSwp value is rounded and truncated to match range of the servo offset. //
  
-<function=ICEfunc|0=RampNum?&2=100&3=49>+<function=ICEfunc?0=RampNum&2=100&3=49>
 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.  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.  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. 
  
-<function=ICEfunc|0=RampNum&1=I:NUMBER:100&2=100&3=50>+<function=ICEfunc?0=RampNum&1=I:NUMBER:100&2=100&3=50>
 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. 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.
  
-<function=ICEfunc|0=RampRun&2=Busy&3=51>+<function=ICEfunc?0=RampRun&2=Busy&3=51>
 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 SvOffst. Data 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. 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 SvOffst. Data 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.
  
-<function=ICEfunc|0=Poles?&2=3 2&3=52>+<function=ICEfunc?0=Poles&2=3 2&3=52>
 Returns two columns of data. First column is a number 1-5 representing the integrator pole value. Values are 3 kHz, 10 kHz, 30 kHz, 100 kHz and 300 kHz. 1 is the slowest integrator (3 kHz), and 5 is the  fastest (300 kHz). The second column is a number 0 - 4 representing differential pole value. Values are Off, 10 kHz, 30 kHz, 100 kHz and 300 kHz. 0 is is no differential pole (Off), 1 is the slowest pole setting (10 kHz) and 4 is the fastest pole setting (300 kHz).  Returns two columns of data. First column is a number 1-5 representing the integrator pole value. Values are 3 kHz, 10 kHz, 30 kHz, 100 kHz and 300 kHz. 1 is the slowest integrator (3 kHz), and 5 is the  fastest (300 kHz). The second column is a number 0 - 4 representing differential pole value. Values are Off, 10 kHz, 30 kHz, 100 kHz and 300 kHz. 0 is is no differential pole (Off), 1 is the slowest pole setting (10 kHz) and 4 is the fastest pole setting (300 kHz). 
  
-<function=ICEfunc|0=Poles&1=I:INTEGRATOR:3;I:DIFFERENTIAL:2&2=12&3=53>+<function=ICEfunc?0=Poles&1=I:INTEGRATOR:3;I:DIFFERENTIAL:2&2=12&3=53>
 Sets the integrator and differential pole positions. INTEGRATOR is a value from 1-5 corresponding to 3 kHz (1) up to 300 kHz (5). DIFFERENTIAL is a value from 0-4 with 0 disabling differential, 1 is 10 kHz and 4 is 300 kHz. See **Poles?** for full list of all pole values. Sets the integrator and differential pole positions. INTEGRATOR is a value from 1-5 corresponding to 3 kHz (1) up to 300 kHz (5). DIFFERENTIAL is a value from 0-4 with 0 disabling differential, 1 is 10 kHz and 4 is 300 kHz. See **Poles?** for full list of all pole values.
  
-<function=ICEfunc|0=EvtJump?&2=6&3=54>+<function=ICEfunc?0=EvtJump&2=6&3=54>
 Reads the event address for jumping the offset phase lock frequency. Address range is 0-7 where address 0 is no event.  Reads the event address for jumping the offset phase lock frequency. Address range is 0-7 where address 0 is no event. 
  
-<function=ICEfunc|0=EvtJump?&1=I:ADDRESS:4&2=4&3=55>+<function=ICEfunc?0=EvtJump&1=I:ADDRESS:4&2=4&3=55>
 Sets the event address for jumping the offset phase lock frequency. Address range is 0-7 where address 0 is no event.  Sets the event address for jumping the offset phase lock frequency. Address range is 0-7 where address 0 is no event. 
  
-<function=ICEfunc|0=EvtLOff?&2=4&3=56>+<function=ICEfunc?0=EvtLOff&2=4&3=56>
 Reads the event address for turning the laser off. Address range is 0-7 where address 0 is no event.  Reads the event address for turning the laser off. Address range is 0-7 where address 0 is no event. 
  
-<function=ICEfunc|0=EvtLOff?&1=I:ADDRESS:2&2=2&3=57>+<function=ICEfunc?0=EvtLOff&1=I:ADDRESS:2&2=2&3=57>
 Sets the event address for turning the laser off. Address range is 0-7 where address 0 is no event.  Sets the event address for turning the laser off. Address range is 0-7 where address 0 is no event. 
  
-<function=ICEfunc|0=EvtData&1=I:ROW:4;I:COLUMN:3;F:VALUE:203.324&2=Success&3=58>+<function=ICEfunc?0=EvtData&1=I:ROW:4;I:COLUMN:3;F:VALUE:203.324&2=Success&3=58>
 <WRAP center round important 100%> <WRAP center round important 100%>
 This function only works as described with firmware 2.3 and higher. If using an older firmware, please upgrade to the latest firmware before using this function. This function only works as described with firmware 2.3 and higher. If using an older firmware, please upgrade to the latest firmware before using this function.
Line 136: Line 136:
 The command returns SUCCESS if the data is successfully enter, FAIL if not. Data loaded is saved to memory with the **SAVE** command. The command returns SUCCESS if the data is successfully enter, FAIL if not. Data loaded is saved to memory with the **SAVE** command.
  
-<function=ICEfunc|0=EvtNum?&2=7&3=59>+<function=ICEfunc?0=EvtNum&2=7&3=59>
 Reads the number of offset phase lock values to loop through via the offset phase lock jump event system. Range from 2 - 8. If set to 4, then the sequence of offset phase lock values will be 1,2,3,4,1,2,3,4,1... where the numbers correspond to the **ELEMENT NUMBER** set when loading data in with the EvtData command. Reads the number of offset phase lock values to loop through via the offset phase lock jump event system. Range from 2 - 8. If set to 4, then the sequence of offset phase lock values will be 1,2,3,4,1,2,3,4,1... where the numbers correspond to the **ELEMENT NUMBER** set when loading data in with the EvtData command.
  
-<function=ICEfunc|0=EvtNum&1=I:NUMBER:5:&2=5&3=60>+<function=ICEfunc?0=EvtNum&1=I:NUMBER:5:&2=5&3=60>
 Sets the number of offset phase lock values to loop through via the offset phase lock jump event system. Range from 2 - 8. If set to 4, then the sequence of offset phase lock values will be 1,2,3,4,1,2,3,4,1... where the numbers correspond to the **ELEMENT NUMBER** set when loading data in with the EvtData command. Sets the number of offset phase lock values to loop through via the offset phase lock jump event system. Range from 2 - 8. If set to 4, then the sequence of offset phase lock values will be 1,2,3,4,1,2,3,4,1... where the numbers correspond to the **ELEMENT NUMBER** set when loading data in with the EvtData command.
  
-<function=ICEfunc|0=EvtJRow?&2=3&3=61>+<function=ICEfunc?0=EvtJRow&2=3&3=61>
 Return the next row that the will be read from the Event Jump Table when the device gets an event matching the event set with the **EvtJUMP** command.  Return the next row that the will be read from the Event Jump Table when the device gets an event matching the event set with the **EvtJUMP** command. 
  
-<function=ICEfunc|0=EvtData?&1=I:ROW:4;I:COLUMN:3;&2=3&3=62>+<function=ICEfunc?0=EvtData&1=I:ROW:4;I:COLUMN:3;&2=3&3=62>
 Reads back the data in the Jump Table, using the ROW and COLUMN to set what datapoint to read back. See **EvtData** for more details.  Reads back the data in the Jump Table, using the ROW and COLUMN to set what datapoint to read back. See **EvtData** for more details. 
  
ice/commands/opls.txt · Last modified: 2023/11/30 21:32 by 127.0.0.1