User Tools

Site Tools


commands:afadj

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
commands:afadj [2016/09/07 22:03]
asiadmin ↷ Page moved from documentation:commands:afadj to commands:afadj
commands:afadj [2019/04/18 23:32] (current)
Line 1: Line 1:
 +====== Command:​AFADJ ======
  
 +--> MS2000 and RM2000 Syntax#
 +^Shortcut ​ |AFADJ | 
 +^Format ​ |AFADJ [X= zero pot value] [Y= video amplitude value] [Z= value]|
 +^Units ​   |integer|
 +^Remembered |Using SS Z |
 +
 +<--
 +
 +--> Tiger Syntax#
 +^Shortcut ​ |AFADJ | 
 +^Format ​ |[Addr#​]AFADJ [X= zero pot value] [Y= video amplitude value] [Z= value]|
 +^Units ​   |integer|
 +^Type |Card-Addressed|
 +^Remembered |Using [Addr#]SS Z |
 +
 +<--
 +
 +**X** & **Y** values range between ''​0 and 100''​. ​ Y determines amplitude of the video signal entering the system. ​ Setting a 0 value attenuates a video signal completely, while a setting of 100 lets the full signal go through. ​ Attenuating a video signal also reduces the noise in the signal. ​ If the focus value on the LCD reads ''​2047'',​ then the system is saturated with too much signal, try reducing the **Y** value.
 +
 +**X** is the zeroing potentiometer;​ the value of X should be set such that, when **Y** is ''​0'',​ the //focus value// is also ''​0000''​ (or as close as possible).
 +
 +**Z** sets the gain of the final Analog to Digital Converter (ADC) in the auto-focus system. ​ Range: ​ ''​0 to 3''​. ​ By adjusting this setting, a //focus value// for a sparse sample can be magnified to get better focus. ​ If an incorrect value of gain is used, the ADC saturates and the focus value reaches ''​2047''​. ​ Upon system restart, the setting returns to its default value of 0.  Perform an [[commands:​saveset|SS Z command]] to save the current gain setting in non-volatile memory.
 +
 +^AFADJ ^GAIN ^
 +|Z=0 |1x|
 +|Z=1 |2x|
 +|Z=2 |4x|
 +|Z=3 |8x|
 +
 +== Response ==
 +<wrap reply> :A </​wrap>​ or Error Reply 
 +
 +== Example ==
 +
 +<asi> $ AFADJ X=15 Y=95
 +:​A<​CR><​LF></​asi>​
 +<asi> $ AFADJ
 +:​N-3</​asi> ​
 +(Error indicates missing arguments)
 +<asi> $ AFADJ X=1000 Y=-12 Z=4
 +:​N-4</​asi> ​
 +(Error indicates arguments out of range)
 +<asi> $ AFADJ X=20 Y=90
 +:​N-5</​asi> ​
 +(Error indicates operation failed, try entering one argument at a time) 
 +<asi> $ AFADJ X? Y?
 +:A X=20 Y=95</​asi>​
 +
 +
 +
 +
 +
 +{{tag>​commands ms2000 autofocus}}
commands/afadj.txt · Last modified: 2019/04/18 23:32 (external edit)