Module property

Canon Properties

Usage:

     function property.SHUTTER:handler(value)
         print("shutter: "..value)
     end

Fields

BURST_COUNT
BAT_INFO
TFT_STATUS
LENS_NAME
LENS_SOMETHING
LENS
HDMI_CHANGE
HDMI_CHANGE_CODE
USBRCA_MONITOR
MVR_REC_START
REC_TIME
GUI_STATE
LIVE_VIEW_FACE_AF
LV_LOCK
LV_ACTION
LCD_POSITION
USBDEVICE_CONNECT
MVR_MOVW_START0
MVR_MOVW_START1
AF_MODE
MVR_REC
LV_LENS
LV_LENS_STABILIZE
LV_MANIPULATION
LV_AFFRAME
LV_FOCUS
LV_FOCUS_DONE
LV_FOCUS_STOP
LV_FOCUS_BAD
LV_FOCUS_STATE
LV_FOCUS_STATUS
LV_FOCUS_CMD
LV_FOCUS_DATA
LV_STATE
LV_DISPSIZE
LVCAF_STATE
HALF_SHUTTER
ORIENTATION
LV_LENS_DRIVE_REMOTE
LIVE_VIEW_VIEWTYPE
MODE
DRIVE
SHUTTER
SHUTTER_RANGE
APERTURE
ISO
AE
UILOCK
ISO_AUTO
SHUTTER_AUTO
APERTURE_AUTO
APERTURE3
SHUTTER_RELEASE
AVAIL_SHOT
MIC_INSERTED
SENSOR
DISPSENSOR_CTRL
LV_OUTPUT_DEVICE
HOUTPUT_TYPE
MIRROR_DOWN
MYMENU_LISTING
LV_MOVIE_SELECT
SHOOTING_TYPE
ERR_BATTERY
CUSTOM_SETTING
DEFAULT_CUSTOM
DEFAULT_BRACKET
PARTIAL_SETTING
EMPOWER_OFF
LVAF_MODE
ACTIVE_SWEEP_STATUS
EFIC_TEMP
LANGUAGE
VIDEO_SYSTEM
DATE_FORMAT
ICU_UILOCK
SHOOTING_MODE
SHOOTING_MODE_2
WB_MODE_LV
WB_KELVIN_LV
WB_MODE_PH
WB_KELVIN_PH
WBS_GM
WBS_BA
CUSTOM_WB
METERING_MODE
LAST_JOB_ID
PICTURE_STYLE
PC_FLAVOR1_PARAM
PC_FLAVOR2_PARAM
PC_FLAVOR3_PARAM
STROBO_FIRING
STROBO_ETTLMETER
STROBO_CURTAIN
STROBO_AECOMP
STROBO_SETTING
STROBO_REDEYE
POPUP_BUILTIN_FLASH
LCD_BRIGHTNESS
LCD_BRIGHTNESS_MODE
LCD_BRIGHTNESS_AUTO_LEVEL
STROBO_FIRING
DOF_PREVIEW_MAYBE
REMOTE_SW1
REMOTE_SW2
PROGRAM_SHIFT
QUICKREVIEW
QUICKREVIEW_MODE
REMOTE_AFSTART_BUTTON
REMOTE_BULB_RELEASE_END
REMOTE_BULB_RELEASE_START
REMOTE_RELEASE
REMOTE_SET_BUTTON
FA_ADJUST_FLAG
CARD_SELECT
FOLDER_NUMBER_A
FILE_NUMBER_A
CLUSTER_SIZE_A
FREE_SPACE_A
CARD_RECORD_A
FOLDER_NUMBER_B
FILE_NUMBER_B
CLUSTER_SIZE_B
FREE_SPACE_B
CARD_RECORD_B
FOLDER_NUMBER_C
FILE_NUMBER_C
CLUSTER_SIZE_C
FREE_SPACE_C
CARD_RECORD_C
USER_FILE_PREFIX
SELECTED_FILE_PREFIX
CARD_COVER
TERMINATE_SHUT_REQ
BUTTON_ASSIGNMENT
PIC_QUALITY
PIC_QUALITY2
PIC_QUALITY3
IMAGE_REVIEW_TIME
BATTERY_REPORT
BATTERY_HISTORY
BATTERY_CHECK
BATTERY_POWER
AE_MODE_MOVIE
WINDCUT_MODE
SCREEN_COLOR
ROLLING_PITCHING_LEVEL
VRAM_SIZE_MAYBE
ICU_AUTO_POWEROFF
AUTO_POWEROFF_TIME
REBOOT
DIGITAL_ZOOM_RATIO
INFO_BUTTON_FUNCTION
CONTINUOUS_AF_MODE
CONTINUOUS_AF_VALID
REGISTRATION_DATA_UPDATE_FUNC
MOVIE_REC_AF
LIMITED_TV_VALUE_AT_AUTOISO
LOUDNESS_BUILT_IN_SPEAKER
LED_LIGHT
AFSHIFT_LVASSIST_STATUS
AFSHIFT_LVASSIST_SHIFT_RESULT
MULTIPLE_EXPOSURE_CTRL
MIRROR_DOWN_IN_MOVIE_MODE
SHUTTER_COUNTER
AFPOINT
BEEP
ELECTRIC_SHUTTER
LOGICAL_CONNECT
BV
LV_BV
STROBO_CHARGE_INFO_MAYBE
ONESHOT_RAW
AEB

Class property

property:request_change(value, len[, wait=true[, timeout]]) Set the value of the property


WARNING This is very dangerous, setting invalid values for properties can brick your camera.

property:handler(value) Called when the property value changes


Fields

BURST_COUNT
BAT_INFO
TFT_STATUS
LENS_NAME
LENS_SOMETHING
LENS
HDMI_CHANGE
HDMI_CHANGE_CODE
USBRCA_MONITOR
MVR_REC_START
REC_TIME
GUI_STATE
LIVE_VIEW_FACE_AF
LV_LOCK
LV_ACTION
LCD_POSITION
USBDEVICE_CONNECT
MVR_MOVW_START0
MVR_MOVW_START1
AF_MODE
MVR_REC
LV_LENS
LV_LENS_STABILIZE
LV_MANIPULATION
LV_AFFRAME
LV_FOCUS
LV_FOCUS_DONE
LV_FOCUS_STOP
LV_FOCUS_BAD
LV_FOCUS_STATE
LV_FOCUS_STATUS
LV_FOCUS_CMD
LV_FOCUS_DATA
LV_STATE
LV_DISPSIZE
LVCAF_STATE
HALF_SHUTTER
ORIENTATION
LV_LENS_DRIVE_REMOTE
LIVE_VIEW_VIEWTYPE
MODE
DRIVE
SHUTTER
SHUTTER_RANGE
APERTURE
ISO
AE
UILOCK
ISO_AUTO
SHUTTER_AUTO
APERTURE_AUTO
APERTURE3
SHUTTER_RELEASE
AVAIL_SHOT
MIC_INSERTED
SENSOR
DISPSENSOR_CTRL
LV_OUTPUT_DEVICE
HOUTPUT_TYPE
MIRROR_DOWN
MYMENU_LISTING
LV_MOVIE_SELECT
SHOOTING_TYPE
ERR_BATTERY
CUSTOM_SETTING
DEFAULT_CUSTOM
DEFAULT_BRACKET
PARTIAL_SETTING
EMPOWER_OFF
LVAF_MODE
ACTIVE_SWEEP_STATUS
EFIC_TEMP
LANGUAGE
VIDEO_SYSTEM
DATE_FORMAT
ICU_UILOCK
SHOOTING_MODE
SHOOTING_MODE_2
WB_MODE_LV
WB_KELVIN_LV
WB_MODE_PH
WB_KELVIN_PH
WBS_GM
WBS_BA
CUSTOM_WB
METERING_MODE
LAST_JOB_ID
PICTURE_STYLE
PC_FLAVOR1_PARAM
PC_FLAVOR2_PARAM
PC_FLAVOR3_PARAM
STROBO_FIRING
STROBO_ETTLMETER
STROBO_CURTAIN
STROBO_AECOMP
STROBO_SETTING
STROBO_REDEYE
POPUP_BUILTIN_FLASH
LCD_BRIGHTNESS
LCD_BRIGHTNESS_MODE
LCD_BRIGHTNESS_AUTO_LEVEL
STROBO_FIRING
DOF_PREVIEW_MAYBE
REMOTE_SW1
REMOTE_SW2
PROGRAM_SHIFT
QUICKREVIEW
QUICKREVIEW_MODE
REMOTE_AFSTART_BUTTON
REMOTE_BULB_RELEASE_END
REMOTE_BULB_RELEASE_START
REMOTE_RELEASE
REMOTE_SET_BUTTON
FA_ADJUST_FLAG
CARD_SELECT
FOLDER_NUMBER_A
FILE_NUMBER_A
CLUSTER_SIZE_A
FREE_SPACE_A
CARD_RECORD_A
FOLDER_NUMBER_B
FILE_NUMBER_B
CLUSTER_SIZE_B
FREE_SPACE_B
CARD_RECORD_B
FOLDER_NUMBER_C
FILE_NUMBER_C
CLUSTER_SIZE_C
FREE_SPACE_C
CARD_RECORD_C
USER_FILE_PREFIX
SELECTED_FILE_PREFIX
CARD_COVER
TERMINATE_SHUT_REQ
BUTTON_ASSIGNMENT
PIC_QUALITY
PIC_QUALITY2
PIC_QUALITY3
IMAGE_REVIEW_TIME
BATTERY_REPORT
BATTERY_HISTORY
BATTERY_CHECK
BATTERY_POWER
AE_MODE_MOVIE
WINDCUT_MODE
SCREEN_COLOR
ROLLING_PITCHING_LEVEL
VRAM_SIZE_MAYBE
ICU_AUTO_POWEROFF
AUTO_POWEROFF_TIME
REBOOT
DIGITAL_ZOOM_RATIO
INFO_BUTTON_FUNCTION
CONTINUOUS_AF_MODE
CONTINUOUS_AF_VALID
REGISTRATION_DATA_UPDATE_FUNC
  • REGISTRATION_DATA_UPDATE_FUNC property
MOVIE_REC_AF
LIMITED_TV_VALUE_AT_AUTOISO
LOUDNESS_BUILT_IN_SPEAKER
LED_LIGHT
AFSHIFT_LVASSIST_STATUS
AFSHIFT_LVASSIST_SHIFT_RESULT
  • AFSHIFT_LVASSIST_SHIFT_RESULT property
MULTIPLE_EXPOSURE_CTRL
MIRROR_DOWN_IN_MOVIE_MODE
SHUTTER_COUNTER
AFPOINT
BEEP
ELECTRIC_SHUTTER
LOGICAL_CONNECT
BV
LV_BV
STROBO_CHARGE_INFO_MAYBE
ONESHOT_RAW
AEB

Class property

Represents a Canon property
property:request_change(value, len[, wait=true[, timeout]])
Set the value of the property


WARNING This is very dangerous, setting invalid values for properties can brick your camera. This functionality is disabled by default, and will throw an error if you try to call it. To enable, compile with LUA_PROP_REQUEST_CHANGE

Parameters:

  • value int
  • len int
  • wait bool (default true)
  • timeout int (optional)
property:handler(value)
Called when the property value changes

Parameters:

  • value int the new value of the property

Usage:

    function property.SHUTTER:handler(value)
        print("shutter: "..value)
    end
generated by LDoc 1.4.3 Last updated 2017-09-02 23:31:52