AMU Library 3.0
C/C++ library for communicating with AMU (Aerospace Measurement Unit) devices
Loading...
Searching...
No Matches
I2C Auxiliary Commands

I2C auxiliary subsystem control commands. More...

Enumerations

enum  CMD_AUX_t {
  CMD_AUX_DAC_STATE = 0x0100 + 0x50+ 0x00 ,
  CMD_AUX_DAC_CURRENT = 0x0100 + 0x50+ 0x01 ,
  CMD_AUX_DAC_CURRENT_RAW = 0x0100 + 0x50+ 0x02 ,
  CMD_AUX_DAC_VOLTAGE = 0x0100 + 0x50+ 0x03 ,
  CMD_AUX_DAC_VOLTAGE_RAW = 0x0100 + 0x50+ 0x04 ,
  CMD_AUX_DAC_OFFSET = 0x0100 + 0x50+ 0x05 ,
  CMD_AUX_DAC_OFFSET_CORRECTION = 0x0100 + 0x50+ 0x06 ,
  CMD_AUX_DAC_GAIN_CORRECTION = 0x0100 + 0x50+ 0x07 ,
  CMD_AUX_HEATER_STATE = 0x0100 + 0x50+ 0x08 ,
  CMD_AUX_HEATER_SETPOINT = 0x0100 + 0x50+ 0x09 ,
  CMD_AUX_HEATER_PID = 0x0100 + 0x50+ 0x0A ,
  CMD_AUX_SUNSENSOR_FIT_YAW_COEFF = 0x0100 + 0x50+ 0x0B ,
  CMD_AUX_SUNSENSOR_FIT_PITCH_COEFF = 0x0100 + 0x50+ 0x0C ,
  CMD_AUX_SUNSENSOR_HVAL = 0x0100 + 0x50+ 0x0D ,
  CMD_AUX_SUNSENSOR_RVAL = 0x0100 + 0x50+ 0x0E ,
  CMD_AUX_SUNSENSOR_THRESHOLD = 0x0100 + 0x50+ 0x0F
}
 Auxiliary subsystem command identifiers. More...

Detailed Description

I2C auxiliary subsystem control commands.

These I2C commands control auxiliary subsystems including:

  • DAC output control (CMD_AUX_DAC_*)
  • Heater control (CMD_AUX_HEATER_*)
  • Sun sensor calibration (CMD_AUX_SUNSENSOR_*)
  • Voltage and current output settings
  • Temperature control and monitoring
  • Sensor calibration coefficients

All commands use the 0x015x range for auxiliary subsystem operations.

Enumeration Type Documentation

◆ CMD_AUX_t

enum CMD_AUX_t

Auxiliary subsystem command identifiers.

These commands control auxiliary subsystems including DAC output, heater control, and sun sensor calibration. Commands support both raw values and calibrated units.

Enumerator
CMD_AUX_DAC_STATE 0x0100 + 0x50+ 0x00 

Sets or queries DAC output enable state.

Sets or queries DAC output enable state (0=disabled, 1=enabled)

Parameters
stateDAC enable state (0=disabled, 1=enabled)
Returns
Current DAC enable state
SCPI Equivalent:
DAC:STATE[?] Root command for I2C/USB commands
CMD_AUX_DAC_CURRENT 0x0100 + 0x50+ 0x01 

Sets or queries DAC current output.

Sets or queries DAC current output in amperes

Parameters
currentCurrent output in amperes
Returns
Current DAC current setting in amperes
SCPI Equivalent:
DAC:CURRent[?] Root command for I2C/USB commands
CMD_AUX_DAC_CURRENT_RAW 0x0100 + 0x50+ 0x02 

Sets or queries DAC current output (raw)

Sets or queries DAC current output as raw 16-bit value

Parameters
raw_valueRaw 16-bit DAC value
Returns
Current raw DAC value
SCPI Equivalent:
DAC:CURRent:RAW[?] Root command for I2C/USB commands
CMD_AUX_DAC_VOLTAGE 0x0100 + 0x50+ 0x03 

Sets or queries DAC voltage output.

Sets or queries DAC voltage output in volts

Parameters
voltageVoltage output in volts
Returns
Current DAC voltage setting in volts
SCPI Equivalent:
DAC:VOLTage[?] Root command for I2C/USB commands
CMD_AUX_DAC_VOLTAGE_RAW 0x0100 + 0x50+ 0x04 

Sets or queries DAC voltage output (raw)

Sets or queries DAC voltage output as raw 16-bit value

Parameters
raw_valueRaw 16-bit DAC value
Returns
Current raw DAC voltage value
SCPI Equivalent:
DAC:VOLTage:RAW[?] Root command for I2C/USB commands
CMD_AUX_DAC_OFFSET 0x0100 + 0x50+ 0x05 

Sets or queries DAC offset calibration.

Sets or queries DAC offset calibration value

Parameters
offsetDAC offset calibration value
Returns
Current DAC offset value
SCPI Equivalent:
DAC:OFFset[?] Root command for I2C/USB commands
CMD_AUX_DAC_OFFSET_CORRECTION 0x0100 + 0x50+ 0x06 

Sets or queries DAC offset correction coefficient.

Sets or queries DAC offset correction coefficient

Parameters
correctionDAC offset correction coefficient
Returns
Current DAC offset correction coefficient
SCPI Equivalent:
DAC:OFFset:CORRection[?] Root command for I2C/USB commands
CMD_AUX_DAC_GAIN_CORRECTION 0x0100 + 0x50+ 0x07 

Sets or queries DAC gain correction coefficient.

Sets or queries DAC gain correction coefficient

Parameters
correctionDAC gain correction coefficient
Returns
Current DAC gain correction coefficient
SCPI Equivalent:
DAC:GAIN:CORRection[?] Root command for I2C/USB commands
CMD_AUX_HEATER_STATE 0x0100 + 0x50+ 0x08 

Sets or queries heater enable state.

Sets or queries heater enable state (0=off, 1=on)

Parameters
stateHeater enable state (0=off, 1=on)
Returns
Current heater enable state
SCPI Equivalent:
HEATer:STATE[?] Root command for I2C/USB commands
CMD_AUX_HEATER_SETPOINT 0x0100 + 0x50+ 0x09 

Sets or queries heater temperature setpoint.

Sets or queries heater temperature setpoint in Celsius

Parameters
setpointTemperature setpoint in Celsius
Returns
Current heater temperature setpoint
SCPI Equivalent:
HEATer:SETpoint[?] Root command for I2C/USB commands
CMD_AUX_HEATER_PID 0x0100 + 0x50+ 0x0A 

Sets or queries heater PID controller coefficients.

Sets or queries heater PID controller coefficients (Kp, Ki, Kd)

Parameters
coeffsPID controller coefficients [Kp, Ki, Kd]
Returns
Current PID controller coefficients
SCPI Equivalent:
HEATer:PID[?] Root command for I2C/USB commands
CMD_AUX_SUNSENSOR_FIT_YAW_COEFF 0x0100 + 0x50+ 0x0B 

Sets or queries sun sensor yaw calibration coefficients.

Sets or queries sun sensor yaw angle calibration polynomial coefficients

Parameters
coeffsYaw angle calibration polynomial coefficients
Returns
Current yaw angle calibration coefficients
SCPI Equivalent:
SUNSensor:FIT:YAW[?] Root command for I2C/USB commands
CMD_AUX_SUNSENSOR_FIT_PITCH_COEFF 0x0100 + 0x50+ 0x0C 

Sets or queries sun sensor pitch calibration coefficients.

Sets or queries sun sensor pitch angle calibration polynomial coefficients

Parameters
coeffsPitch angle calibration polynomial coefficients
Returns
Current pitch angle calibration coefficients
SCPI Equivalent:
SUNSensor:FIT:PITCH[?] Root command for I2C/USB commands
CMD_AUX_SUNSENSOR_HVAL 0x0100 + 0x50+ 0x0D 

Sets or queries sun sensor horizontal reference.

Sets or queries sun sensor horizontal reference calibration value

Parameters
hvalHorizontal reference calibration value
Returns
Current horizontal reference value
SCPI Equivalent:
SUNSensor:HVAL[?] Root command for I2C/USB commands
CMD_AUX_SUNSENSOR_RVAL 0x0100 + 0x50+ 0x0E 

Sets or queries sun sensor radial reference.

Sets or queries sun sensor radial reference calibration value

Parameters
rvalRadial reference calibration value
Returns
Current radial reference value
SCPI Equivalent:
SUNSensor:RVAL[?] Root command for I2C/USB commands
CMD_AUX_SUNSENSOR_THRESHOLD 0x0100 + 0x50+ 0x0F 

Sets or queries sun sensor detection threshold.

Sets or queries sun sensor detection threshold value

Parameters
thresholdSun sensor detection threshold value
Returns
Current detection threshold value
SCPI Equivalent:
SUNSensor:THRESHold[?] Root command for I2C/USB commands

Definition at line 644 of file amu_commands.h.