📄 ddp2230.projector
字号:
<projector>
<title>Front Projection DDP2230</title>
<description>
This file implements the DDP2230 common features from the API and application.
</description>
Note: All variables (id=) must start with the prefix 'pc_'
(Exceptions are page ids and command ids)
<ui autopages=no>
<default type=slider style=noticks height=18 width=200/>
<page id=batchpage/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~ ADC Control (GUI) ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<page id="ADC">
<groupbox x=10 y=10 width=325 height=65 value="ADC Calibration"/>
<button x="l+10" y="t+25" text="Calibrate" action=write options=APP_CalADCGraphics width=125/>
</page>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~ AUTOLOCK Control (GUI) ~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<page id="Autolock Control">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=10 y=10 width=285 height=485 value="ASM Configuration"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="Input Type" format=text/>
<droplist x="l+120" y="t-3" width=140 list="Analog" value="Analog" id=pc_alccfg_inputtype/>
<text x="l-120" y="b+5" value="Operating Mode" format=text/>
<droplist x="l+120" y="t-3" width=140 list="Auto,Auto No Gain in Monitor,Auto w/ Calibrated Gain,Auto w/ Cal Gain Adj" value="Auto" id=pc_alccfg_opermode/>
<text x="l-120" y="b+5" value="Mode" format=text/>
<droplist x="l+120" y="t-3" width=140 list="Legacy,Wide Mode Verification,Coarse Black Border,Extensive Black Border" value="Legacy" id=pc_alccfg_mode/>
<text x="l-120" y="b+5" value="Wide Mode" format=text/>
<droplist x="l+190" y="t-3" width=70 list="FALSE, TRUE" value="FALSE" id=pc_alccfg_widemode/>
<text x="l-190" y="t+25" value="Number of Phases" format=text/>
<edit x="l+210" y="t-2" value=32 width=50 id=pc_alccfg_numphases lo=0 hi=32/>
<text x="l-210" y="t+25" value="Vsyncs Until Manual" format=text/>
<edit x="l+210" y="t-2" value=750 width=50 id=pc_alccfg_manual lo=0 hi=0xffff/>
<text x="l-210" y="t+25" value="Red Calibrated Gain" format=text/>
<edit x="l+210" y="t-2" value=0 width=50 id=pc_alccfg_redcalgain lo=0 hi=0xffff/>
<text x="l-210" y="t+25" value="Green Calibrated Gain" format=text/>
<edit x="l+210" y="t-2" value=0 width=50 id=pc_alccfg_greencalgain lo=0 hi=0xffff/>
<text x="l-210" y="t+25" value="Blue Calibrated Gain" format=text/>
<edit x="l+210" y="t-2" value=0 width=50 id=pc_alccfg_bluecalgain lo=0 hi=0xffff/>
<text x="l-210" y="t+25" value="Red Calibrated Offset" format=text/>
<edit x="l+210" y="t-2" value=0 width=50 id=pc_alccfg_redcaloffset lo=0 hi=0xffff/>
<text x="l-210" y="t+25" value="Green Calibrated Offset" format=text/>
<edit x="l+210" y="t-2" value=0 width=50 id=pc_alccfg_greencaloffset lo=0 hi=0xffff/>
<text x="l-210" y="t+25" value="Blue Calibrated Offset" format=text/>
<edit x="l+210" y="t-2" value=0 width=50 id=pc_alccfg_bluecaloffset lo=0 hi=0xffff/>
<text x="l-210" y="t+25" value="Red Mid-level Calibrated Offset" format=text/>
<edit x="l+210" y="t-2" value=0 width=50 id=pc_alccfg_redmidcaloffset lo=0 hi=0xffff/>
<text x="l-210" y="t+25" value="Blue Mid-level Calibrated Offset" format=text/>
<edit x="l+210" y="t-2" value=0 width=50 id=pc_alccfg_bluemidcaloffset lo=0 hi=0xffff/>
<text x="l-210" y="t+25" value="Group 1 Num saved modes" format=text/>
<text x="l+210" y="t" value=0 id=pc_alccfg_saved1 style=staticedge width=50 height=20/>
<text x="l-210" y="t+25" value="Group 2 Num saved modes" format=text/>
<text x="l+210" y="t" value=0 id=pc_alccfg_saved2 style=staticedge width=50 height=20/>
<text x="l-210" y="b+5" value="Saved Mode Cfg" format=text/>
<droplist x="l+120" y="t-3" width=140 list="ALC_SMT1_SMT2_ALF,ALC_SMT2_ALF,ALC_ALF,ALC_SMT1_SMT2,ALC_ALF_SMT1_SMT2,ALC_SMT1_ALF_SMT2" value="ALC_SMT1_SMT2_ALF" id=pc_alccfg_savedmodecfg/>
<text x="l-120" y="t+25" value="State Machine Disable" format=text/>
<text x="l+210" y="t" value=0 id=pc_alccfg_sm_disable style=staticedge width=50 height=20/>
<button x="l-210" y="t+30" text="Set ASM Config" action=write options=ALC_Config width=125/>
<button x="l+135" y=t text="Get ASM Config" action=read options=ALC_Config width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=10 y=500 width=285 height=90 value="DVI: First Pixel and Line"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="First Pixel" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_fp style=staticedge width=50 height=20/>
<text x="l+70" y="t" value="First Line" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_fl style=staticedge width=50 height=20/>
<button x="l-170" y="t+30" text="Get First Pixel and Line" action=read options=ALC_GetFirstPixelandLine width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=305 y=10 width=280 height=90 value="Sample Clock"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="Sample clock" format=text/>
<edit x="l+170" y="t-2" value=0 width=50 id=pc_alc_sampleclock lo=0 hi=0xffff/>
<button x="l-170" y="t+33" text="Set sample clock" action=write options=ALC_SampleClock width=125/>
<button x="l+135" y=t text="Get sample clock" action=read options=ALC_SampleClock width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=595 y=10 width=280 height=90 value="Device Sample Clock Limits"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="Min" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_clock_limitmin style=staticedge width=50 height=20/>
<text x="l+70" y="t" value="Max" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_clock_limitmax style=staticedge width=50 height=20/>
<button x="l-35" y="t+30" text="Get clock limits" action=read options=ALC_ClockLimits width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=305 y=105 width=280 height=90 value="Phase Setting"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="Phase setting" format=text/>
<edit x="l+170" y="t-2" value=0 width=50 id=pc_alc_phase_setting lo=0 hi=63/>
<button x="l-170" y="t+33" text="Set phase" action=write options=ALC_PhaseSetting width=125/>
<button x="l+135" y=t text="Get phase" action=read options=ALC_PhaseSetting width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=595 y=105 width=280 height=90 value="Device Phase Limits"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="Min" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_phase_limitmin style=staticedge width=50 height=20/>
<text x="l+70" y="t" value="Max" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_phase_limitmax style=staticedge width=50 height=20/>
<button x="l-35" y="t+30" text="Get phase" action=read options=ALC_PhaseLimits width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=305 y=200 width=280 height=90 value="Gain setting"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="R" format=text/>
<edit x="l+20" y="t" value=0 width=50 id=pc_alc_gain_settingR lo=0 hi=1023/>
<text x="l+70" y="t" value="G" format=text/>
<edit x="l+20" y="t" value=0 width=50 id=pc_alc_gain_settingG lo=0 hi=1023/>
<text x="l+70" y="t" value="B" format=text/>
<edit x="l+20" y="t-2" value=0 width=50 id=pc_alc_gain_settingB lo=0 hi=1023/>
<button x="l-200" y="t+33" text="Set Gain" action=write options=ALC_Gain width=125/>
<button x="l+135" y=t text="Get Gain" action=read options=ALC_Gain width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=595 y=200 width=280 height=90 value="Device Gain Limits"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="Min" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_gain_limitmin style=staticedge width=50 height=20/>
<text x="l+70" y="t" value="Max" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_gain_limitmax style=staticedge width=50 height=20/>
<button x="l-35" y="t+30" text="Get gain limits" action=read options=ALC_GainLimits width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=305 y=295 width=280 height=90 value="Offset setting"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="R" format=text/>
<edit x="l+20" y="t" value=0 width=50 id=pc_alc_offset_settingR format=unsigned/>
<text x="l+70" y="t" value="G" format=text/>
<edit x="l+20" y="t" value=0 width=50 id=pc_alc_offset_settingG format=unsigned/>
<text x="l+70" y="t" value="B" format=text/>
<edit x="l+20" y="t-2" value=0 width=50 id=pc_alc_offset_settingB format=unsigned/>
<button x="l-200" y="t+33" text="Set offset" action=write options=ALC_Offset width=125/>
<button x="l+135" y=t text="Get offset" action=read options=ALC_Offset width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=595 y=295 width=280 height=90 value="Device Offset Limits"/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<text x="l+10" y="t+25" value="Min" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_offset_limitmin style=staticedge width=50 height=20/>
<text x="l+70" y="t" value="Max" format=text/>
<text x="l+50" y="t" value=0 width=50 id=pc_alc_offset_limitmax style=staticedge width=50 height=20/>
<button x="l-35" y="t+30" text="Get Offset limits" action=read options=ALC_OffsetLimits width=125/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=305 y=390 width=280 height=90 value="Vertical Framing Region"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -