Instruction manual

Marlin Technical ManualV.2.7.0
222
Configuration of the camera
In general this advanced register is a wrapper around the standard memory
channel registers with some extensions. In order to query the number of avail-
able user profiles please check the Memory_Channel field of the BASIC_-
FUNC_INQ register at offset 0x400 (see IIDC V1.3x for details).
The ProfileID is equivalent to the memory channel number and specifies the
profile number to store settings to or to restore settings from. In any case profile
#0 is the hard-coded factory profile and cannot be overwritten.
After an initialization command, startup or reset of the camera, the ProfileID
also indicates which profile was loaded on startup, reset or initialization.
Store To store the current camera settings into a profile:
1. Write the desired ProfileID with the SaveProfile flag set.
2. Read back the register and check the ErrorCode field.
Restore To restore the settings from a previous stored profile:
1. Write the desired ProfileID with the RestoreProfile flag set.
2. Read back the register and check the ErrorCode field.
Set default To set the default profile to be loaded on startup, reset or initialization
1. Write the desired ProfileID with the SetDefaultID flag set.
2. Read back the register and check the ErrorCode field.
Factory default To go back to the factory default profile:
1. Select ProfileID=0 and toggle the SetDefaultID flag set.
2. Read back the register and check the ErrorCode field.
Error codes
Note
The default profile is the profile that is loaded on power-
up or an INITIALIZE command.
A save or load operation delays the response of the cam-
era until the operation is completed. At a time only one
operation can be performed.
ErrorCode # Description
0x00 No error
0x01 Profile data corrupted
0x02 Camera not idle during restore operation
0x03 Feature not available (feature not present)
0x04 Profile doesn’t exist
0x05 ProfileID out of range
0x06 Restoring the default profile failed
Table 128: User profile: Error codes