User Tools

Site Tools


slice:qt:api

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
Next revisionBoth sides next revision
slice:qt:api [2019/06/05 15:53] Michael Radunskyslice:qt:api [2020/05/11 21:04] – [Temperature Settings] Michael Radunsky
Line 43: Line 43:
 ---- ----
 ===== Temperature Settings ===== ===== Temperature Settings =====
-----+==== Query Temperature Set Point ==== 
 <function=ICEfunc|0=TempSet?&1=I:CHANNEL:3&2=26.28&-1> <function=ICEfunc|0=TempSet?&1=I:CHANNEL:3&2=26.28&-1>
 Returns the temperature set point for CHANNEL. Returns the temperature set point for CHANNEL.
 ---- ----
 +==== Set Temperature Set Point ====
 <function=ICEfunc|0=TempSet&1=I:CHANNEL:3;F:TEMPERATURE:26.283&2=26.282&-1> <function=ICEfunc|0=TempSet&1=I:CHANNEL:3;F:TEMPERATURE:26.283&2=26.282&-1>
 Sets the temperature set point for CHANNEL to TEMPERATURE. Returns **TempSet?**. The temperature set point cannot be set outside the range set by the minimum and maximum allowed temperatures (set by the user). If TEMPERATURE is outside this range, the set point will not be adjusted. Also, the temperature set point will be coerced to a value that has a internal digital representation closest to TEMPERATURE. Sets the temperature set point for CHANNEL to TEMPERATURE. Returns **TempSet?**. The temperature set point cannot be set outside the range set by the minimum and maximum allowed temperatures (set by the user). If TEMPERATURE is outside this range, the set point will not be adjusted. Also, the temperature set point will be coerced to a value that has a internal digital representation closest to TEMPERATURE.
Line 110: Line 112:
 ---- ----
 <function=ICEfunc|0=Beta&1=I:CHANNEL:2;F:VALUE:3450&2=3450.0&-1> <function=ICEfunc|0=Beta&1=I:CHANNEL:2;F:VALUE:3450&2=3450.0&-1>
-For the B-parameter thermistor model: Sets the Beta coefficient in Kelvin [K] to VALUE for CHANNEL. Returns **Beta?**.+For the B-parameter thermistor model: Sets the Beta coefficient in Kelvin [K] to VALUE for CHANNEL. Returns **Beta?**.  When a new Beta-parameter is set, new Steinhart-Hart coefficients are calculated. Execute a TEMPLUT command after setting Beta through the API (QC firmware versions 1.14 & lower).
 ---- ----
 <function=ICEfunc|0=RefTemp?&1=I:CHANNEL:1&2=25.0&-1> <function=ICEfunc|0=RefTemp?&1=I:CHANNEL:1&2=25.0&-1>
Line 116: Line 118:
 ---- ----
 <function=ICEfunc|0=RefTemp&1=I:CHANNEL:2;F:VALUE:25.0&2=25.0&-1> <function=ICEfunc|0=RefTemp&1=I:CHANNEL:2;F:VALUE:25.0&2=25.0&-1>
-For the B-parameter thermistor model: Sets the Reference Temperature in degrees Celsius [˚C] to VALUE for CHANNEL. Returns **RefTemp?**.+For the B-parameter thermistor model: Sets the Reference Temperature in degrees Celsius [˚C] to VALUE for CHANNEL. Returns **RefTemp?**. When a new Reference Temperature is set, new Steinhart-Hart coefficients are calculated. Execute a TEMPLUT command after setting the Reference Temperature through the API (QC firmware versions 1.14 & lower).
 ---- ----
 <function=ICEfunc|0=RefRes?&1=I:CHANNEL:1&2=10000.0&-1> <function=ICEfunc|0=RefRes?&1=I:CHANNEL:1&2=10000.0&-1>
Line 128: Line 130:
 ---- ----
 <function=ICEfunc|0=TCoefA&1=I:CHANNEL:1;F:VALUE:2.108508173&2=2.108508173&-1> <function=ICEfunc|0=TCoefA&1=I:CHANNEL:1;F:VALUE:2.108508173&2=2.108508173&-1>
-For the Steinhart-Hart thermistor model: Sets the A coefficient to VALUE for CHANNEL. Returns **TCoefA?**.+For the Steinhart-Hart thermistor model: Sets the A coefficient to VALUE for CHANNEL. Returns **TCoefA?**. Execute a TEMPLUT command after setting any of the Steinhart-Hart coefficients through the API (QC firmware versions 1.14 & lower).
 ---- ----
 <function=ICEfunc|0=TCoefB?&1=I:CHANNEL:1&2=0.797204727&-1> <function=ICEfunc|0=TCoefB?&1=I:CHANNEL:1&2=0.797204727&-1>
Line 134: Line 136:
 ---- ----
 <function=ICEfunc|0=TCoefB&1=I:CHANNEL:1;F:VALUE:0.797204727&2=0.797204727&-1> <function=ICEfunc|0=TCoefB&1=I:CHANNEL:1;F:VALUE:0.797204727&2=0.797204727&-1>
-For the Steinhart-Hart thermistor model: Sets the B coefficient to VALUE for CHANNEL. Returns **TCoefB?**.+For the Steinhart-Hart thermistor model: Sets the B coefficient to VALUE for CHANNEL. Returns **TCoefB?**. Execute a TEMPLUT command after setting any of the Steinhart-Hart coefficients through the API (QC firmware versions 1.14 & lower).
 ---- ----
 <function=ICEfunc|0=TCoefC?&1=I:CHANNEL:1&2=6.535076315&-1> <function=ICEfunc|0=TCoefC?&1=I:CHANNEL:1&2=6.535076315&-1>
Line 140: Line 142:
 ---- ----
 <function=ICEfunc|0=TCoefC&1=I:CHANNEL:1;F:VALUE:6.535076315&2=6.535076315&-1> <function=ICEfunc|0=TCoefC&1=I:CHANNEL:1;F:VALUE:6.535076315&2=6.535076315&-1>
-For the Steinhart-Hart thermistor model: Sets the C coefficient to VALUE for CHANNEL. Returns **TCoefC?**.+For the Steinhart-Hart thermistor model: Sets the C coefficient to VALUE for CHANNEL. Returns **TCoefC?**. Execute a TEMPLUT command after setting any of the Steinhart-Hart coefficients through the API (QC firmware versions 1.14 & lower). 
 +---- 
 +<function=ICEfunc|0=TEMPLUT&1=I:CHANNEL:1&2=&-1> 
 +Forces recalculation of T = ƒ(A,B,C) lookup table.  There is no output from this command.  Execute this command after setting any of the Steinhart-Hart coefficients, Beta-parameter, or Reference Temperature via the API (QC firmware versions 1.14 & lower).
 ---- ----
 ===== Loop Filter Settings ===== ===== Loop Filter Settings =====
Line 208: Line 213:
 Sets the On/Off STATE of the slew rate limiter for CHANNEL. Returns **SlewEn?**. Sets the On/Off STATE of the slew rate limiter for CHANNEL. Returns **SlewEn?**.
 ---- ----
-===== I/O Channel Settings (Not yet implemented 27 Feb, 2019) =====+===== System Functions ===== 
 +---- 
 +<function=ICEfunc|0=Save&1=A:None:&2=Success&-1> 
 +Stores all current settings to the SLICE EEPROM so that they are maintained during power off.  Returns: Success or Failure. 
 +---- 
 +===== I/O Channel Settings =====
 ---- ----
 ^  Output Function    CHANNEL  ^  FUNCTION  ^  VALUE1      ^  VALUE2      ^ ^  Output Function    CHANNEL  ^  FUNCTION  ^  VALUE1      ^  VALUE2      ^
Line 242: Line 252:
 ---- ----
 <function=ICEfunc|0=InputA&1=I:CHANNEL:1;I:FUNCTION:0;F:VALUE1:1.0;F:VALUE2:0.0;I:VALUE3:0&2=1, 0, 1.0, 0.0, 0&-1> <function=ICEfunc|0=InputA&1=I:CHANNEL:1;I:FUNCTION:0;F:VALUE1:1.0;F:VALUE2:0.0;I:VALUE3:0&2=1, 0, 1.0, 0.0, 0&-1>
-Sets the FUNCTION and CHANNEL for the front panel Input with the settings prescribed by VALUE1-3. Returns **InputA?**.+Sets the FUNCTION and CHANNEL for the front panel Input with the settings prescribed by VALUE1-3. Returns **InputA?**.
 ---- ----
 <function=ICEfunc|0=InputB?&2=2, 0, 0.500, 0.0, 1&-1> <function=ICEfunc|0=InputB?&2=2, 0, 0.500, 0.0, 1&-1>
slice/qt/api.txt · Last modified: 2023/12/06 20:33 by Christiana Sasser