Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Command

Definition

BITFIELD

Write a value to a bitfield of a register.

DATATYPE

Define the data type and optional valid range of a named register or bitfield.

DELAY

Delay a certain amount of time (in milliseconds) before continuing.

ERROR_IF

Output an error message and stop execution if a condition is met.

FAR1

Write a value to a sensor register on the first attached camera.

FAR2

Write a value to a sensor register on the second attached camera.

FIELD_WR

Write to a register or bitfield by name. Command works for any kind of register, variable or SFR.

ICON

Define the icon for a User Toolbar button.

IF_FIELD

Similar to LOAD, but conditioned on the value of a register.

IF_REG

Similar to LOAD, but conditioned on the value of a register.

IF_SERIAL

Similar to IF_REG, but can access any device on the SHiP bus.

IMAGE

Set software to expect the given image size and type. Command does not change sensor mode.

LOAD

Load a preset from an ini file.

LOAD_PROM

Load a preset from an EEPROM.

LOG

Add a text string to the Log window.

MEM

Write a value to an SOC RAM location.

MEM8

Write a value to an 8-bit SOC RAM location.

MEM32

Write a value to a 32-bit SOC RAM location.

MENUITEM

Define sub-menu items for a User Toolbar button.

OPTION

Set a DevWare Option variable.

POLL_FIELD

Poll a register. Similar to DELAY, but conditioned on the value of a register.

POLL_REG

Poll a register. Similar to DELAY, but conditioned on the value of a register.

POLL_VAR

Poll a variable. Similar to DELAY, but conditioned on the value of a variable.

PROMPT

Give the user a multiple-choice dialog, or show a message.

PYTHONInvoke a one-line Python statement.

REG

Write a value to a register.

83269893REG_BURST

Write a sequence of register values in one bus transaction.

83269893SAVE_IMAGE

Write image data to files.

83269893SAVE_REGS

Write register values to a file.

83269893SENSOR_BASE

Set or detect the sensor SHiP base address.

83269893SERIAL_REG

Low-level write to Two-Wire Serial Interface register.

83269893SFR

Write a value to a special function register, on certain sensors.

83269893SFR8

Write a value to an 8-bit special function register, on certain sensors.

83269893SHORTCUT

Define a keyboard shortcut for a User Toolbar button.

83269893STATE

Set a variable within the software, not on the sensor.

83269893TOOLTIP

Define a tooltip for a User Toolbar button.

83269893VAR

Write a value to a firmware variable.

83269893VAR32

Write a value to a 32-bit firmware variable.

83269893VAR8

Write a value to an 8-bit firmware variable.

83269893XMCLK

Set the XMCLK (sensor external clock) frequency.

...

Anchor
STATE
STATE
STATE = <state>, <value> //<comment>

Set a variable within the software, not on the sensor. See State STATE Variables for a list of supported states.

Example: Set Auto Exposure Target to 50
STATE= Auto Exposure Target, 50

...