📄 ddp2230.applcust
字号:
<defaults>
<title> DDP2230 Application Defaults </title>
<description>
This file implements the DDP2230 common features from the API and application.
</description>
Note: All variables (id=) must start with the prefix 'ac_'
<ui>
<default type=slider style=noticks height=18 width=200/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ EEPROM Settings ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<page id=EEPROM>
<groupbox x=10 y=10 width=240 height=90 value="EEPROM Version"/>
<edit x="l+10" y="t+20" id=ac_VersionMajor height=18 width=80 />
<text x="l+90" y="t" value="Major" format=text />
<edit x="l-90" y="t+20" id=ac_VersionMinor height=18 width=80 />
<text x="l+90" y="t" value="Minor" format=text />
<edit x="l-90" y="t+20" id=ac_VersionSubMinor height=18 width=80 />
<text x="l+90" y="t" value="SubMinor" format=text />
</page>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Application Defaults ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<page id=AppDefaults>
<groupbox x=10 y=10 width=260 height=130 value="System" />
<droplist x="l+10" y="t+20" height=18 width=80 list="Normal,Standby,LowPower" id=ac_StartState/>
<text x="l+90" y="t" value="Startup State" format=text/>
<checkbox x="l-90" y="t+22" id=ac_EnabEmerShutdown text="Enable ASIC Emergency Shutdown" />
<checkbox x="l" y="t+20" id=ac_EnabWatchdog text="Enable Watchdog" />
<checkbox x="l" y="t+20" id=ac_EnabSSpectrum text="Enable S. Spectrum" />
<edit x="l" y="t+20" id=ac_WatchdogInterval height=18 width=80 />
<text x="l+90" y="t" value="Watchdog Interval (ms)" format=text />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=10 y=150 width=260 height=420 value="Reset/Illumination" />
<checkbox x="l+10" y="t+20" id=ac_LSResetEnable text="Enable Lamp Strike Reset" />
<checkbox x="l" y="t+20" id=ac_LSEnable text="Enable Lamp Sync" />
<checkbox x="l" y="t+20" id=ac_LSLitStable text="Enable Wait Lit/Stable" />
<droplist x="l" y="t+20" height=18 width=80 list="Off,Pulse,Toggle,Passthru,FFF" id=ac_LSyncType/>
<text x="l+90" y="t" value="Lamp Sync Type" format=text/>
<edit x="l-90" y="t+22" id=ac_CWMaxRetries lo=1 hi=10 height=18 width=80 />
<text x="l+90" y="t" value="Color Wheel Retries" format=text />
<edit x="l-90" y="t+20" id=ac_CooldownDelay lo=1 hi=255 height=18 width=80 />
<text x="l+90" y="t" value="Cooldown Delay (sec)" format=text />
<edit x="l-90" y="t+20" id=ac_LSResetDelay height=18 width=80 />
<text x="l+90" y="t" value="LS Reset Delay (ms)" format=text />
<edit x="l-90" y="t+20" id=ac_LampEnableDelay height=18 width=80 />
<text x="l+90" y="t" value="Lamp Enable Delay (ms)" format=text />
<edit x="l-90" y="t+20" id=ac_LampSyncEnableDelay height=18 width=80 />
<text x="l+90" y="t" value="LSync Enable Delay (ms)" format=text />
<checkbox x="l-90" y="t+35" text="Enable UART Lamp Ballast Interface" id=ac_lmp_uart_enable value=0/>
<edit x="l" y="t+20" id=ac_lmp_uart_delay value=5000 height=18 width=50 lo=0 hi=0xffff/>
<text x="l+60" y="t+2" value="UART Ballast EMI Delay (ms)" format=text/>
<droplist width="150" x="20" y="t+20" list="URT PORT 0,URT PORT 1" value="URT PORT 1" id=ac_lmp_uart_port/>
<text value="UART Port Number" x="r+5" y="t+3" format=text/>
<droplist width="150" x="20" y="t+20" list="URT_2400,URT_4800,URT_9600,URT_14400,URT_19200,URT_38400,URT_57600,URT_115200" value="URT_9600" id=ac_lmp_uart_baudrate/>
<text value="UART BaudRate" x="r+5" y="t+3" format=text/>
<droplist width="150" x="20" y="t+20" list="URT_5DBITS,URT_6DBITS,URT_7DBITS,URT_8DBITS" value="URT_8DBITS" id=ac_lmp_uart_databits/>
<text value="UART Data Bits" x="r+5" y="t+3" format=text/>
<droplist width="150" x="20" y="t+20" list="URT_1SBITS,URT_2SBITS" value="URT_1SBITS" id=ac_lmp_uart_stopbits/>
<text value="UART Stop Bits" x="r+5" y="t+3" format=text/>
<droplist width="150" x="20" y="t+20" list="URT_NONE,URT_EVEN,URT_ODD" value="URT_EVEN" id=ac_lmp_uart_parity/>
<text value="UART Parity" x="r+5" y="t+3" format=text/>
<droplist width="150" x="20" y="t+20" list="URT_NONINV_RXDPOL,URT_INV_RXDPOL" value="URT_NONINV_RXDPOL" id=ac_lmp_uart_rxd_polarity/>
<text value="UART RXD Polarity" x="r+5" y="t+3" format=text/>
<edit x="20" y="t+20" id=ac_lmp_uart_exit_uart_mode value=0x75 height=18 width=50 lo=0 hi=0xff/>
<text x="l+60" y="t+2" value="Exit UART Mode Command" format=text/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=280 y=10 width=240 height=300 value="Environment" />
<checkbox x="l+10" y="t+20" id=ac_EnableEnviroPoll text="Enable Environment Polling" />
<checkbox x="l" y="t+20" id=ac_CheckFanLock text="Check Fan Lock" />
<checkbox x="l" y="t+20" id=ac_CheckOvertemp text="Check Over Temperature" />
<text x="l" y="t+25" value="Installed Fans" format=text />
<checkbox x="l+10" y="t+15" id=ac_Fan1 text="1" />
<checkbox x="l+40" y="t" id=ac_Fan2 text="2" />
<checkbox x="l+40" y="t" id=ac_Fan3 text="3" />
<checkbox x="l+40" y="t" id=ac_Fan23 text="2/3" />
<text x="l-130" y="t+25" value="Installed Fan Lock Sensors" format=text />
<checkbox x="l+10" y="t+15" id=ac_FLSen1 text="1" />
<checkbox x="l+40" y="t" id=ac_FLSen2 text="2" />
<checkbox x="l+40" y="t" id=ac_FLSen3 text="3" />
<text x="l-90" y="t+25" value="Installed Temp Sensors" format=text />
<checkbox x="l+10" y="t+15" id=ac_TSen1 text="1" />
<checkbox x="l+40" y="t" id=ac_TSen2 text="2" />
<checkbox x="l+40" y="t" id=ac_TSen3 text="3" />
<edit x="l-90" y="t+25" id=ac_TempLoLomit height=18 width=80 />
<text x="l+90" y="t" value="Temp Low Limit (deg C)" format=text />
<edit x="l-90" y="t+20" id=ac_TempHiLimit height=18 width=80 />
<text x="l+90" y="t" value="Temp High Limit (deg C)" format=text />
<edit x="l-90" y="t+20" id=ac_TiltThreshold height=18 width=80 />
<text x="l+90" y="t" value="Tilt Threshold (14/degree)" format=text />
<edit x="l-90" y="t+20" id=ac_TiltOffset height=18 width=80 />
<text x="l+90" y="t" value="Tilt Offset (14/degree)" format=text />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=280 y=315 width=240 height=175 value="Data Path" />
<edit x="l+10" y="t+20" id=ac_FrontEndI2C height=18 width=80 />
<text x="l+90" y="t" value="Front End I2C Port" format=text />
<droplist x="l-90" y="t+20" height=18 width=80 list="Legacy,WideVer,BBorder,BbordEx" id=ac_ALCDetectMode />
<text x="l+90" y="t" value="ALC Clock Detect Mode" format=text/>
<checkbox x="l-90" y="t+25" id=ac_EnablePhaseCallback text="Enable Phase Callback" />
<checkbox x="l" y="t+20" id=ac_EnableSplash text="Enable Splash at Startup" />
<edit x="l" y="t+20" id=ac_SplashTimeout height=18 width=80 />
<text x="l+90" y="t" value="Splash Timeout" format=text />
<edit x="l-90" y="t+20" id=ac_ThrowRatio height=18 width=80 />
<text x="l+90" y="t" value="Throw Ratio" format=text />
<edit x="l-90" y="t+20" id=ac_VerticalOffset height=18 width=80 />
<text x="l+90" y="t" value="Vertical Offset" format=text />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<groupbox x=530 y=10 width=240 height=330 value="Peripherals" />
<droplist x="l+10" y="t+20" height=18 width=80 list="None,Front,Back,Both" id=ac_IRConfig />
<text x="l+90" y="t" value="IR Configuration" format=text />
<droplist x="l-90" y="t+25" height=18 width=80 list="None,Factory,User" id=ac_UsbMode />
<text x="l+90" y="t" value="Usb Mode" format=text />
<text x="l-90" y="t+30" value="Debug Output" format=text />
<droplist x="l+10" y="t+20" height=18 width=90 list="URT0-noFC,URT0-HWFC,URT1-noFC,URT1-HWFC,Unused,Unused,None,None" id=ac_debugPort />
<text x="l+100" y="t" value="Port" format=text />
<droplist x="l-100" y="t+25" height=18 width=90 list="2400,4800,9600,14400,19200,38400,57600,115200" id=ac_debugRate />
<text x="l+100" y="t" value="Rate" format=text />
<text x="l-110" y="t+30" value="Projector Control" format=text />
<droplist x="l+10" y="t+20" height=18 width=90 list="URT0-noFC,URT0-HWFC,URT1-noFC,URT1-HWFC,USB,USB,None,None" id=ac_PCPort />
<text x="l+100" y="t" value="Port" format=text />
<droplist x="l-100" y="t+25" height=18 width=90 list="2400,4800,9600,14400,19200,38400,57600,115200" id=ac_PCRate />
<text x="l+100" y="t" value="Rate" format=text />
<text x="l-110" y="t+30" value="Remote Function Call" format=text />
<droplist x="l+10" y="t+20" height=18 width=90 list="URT0-noFC,URT0-HWFC,URT1-noFC,URT1-HWFC,USB,USB,None,None" id=ac_RFCPort />
<text x="l+100" y="t" value="Port" format=text />
<droplist x="l-100" y="t+25" height=18 width=90 list="2400,4800,9600,14400,19200,38400,57600,115200" id=ac_RFCRate />
<text x="l+100" y="t" value="Rate" format=text />
<droplist x="l-110" y="t+30" height=18 width=100 list="Disabled,Enabled,Enabled w/Trace" id=ac_ddcciconfig />
<text x="l+110" y="t" value="DDC/CI Configuration" format=text />
</page>
</ui>
<adm>
<field id=Version>
<byte><var id=ac_VersionSubMinor /></byte>
<byte><var id=ac_VersionMinor /></byte>
<byte><var id=ac_VersionMajor /></byte>
<byte value=0/>
</field>
<field id=System>
<byte><var id=ac_EnabEmerShutdown /></byte>
<byte><var id=ac_StartState /></byte>
<byte><var id=ac_EnabWatchdog /></byte>
<byte><var id=ac_EnabSSpectrum /></byte>
<int16><var id=ac_WatchdogInterval /></int16>
</field>
<field id=Illum>
<byte> <var id=ac_LSResetEnable /></byte>
<byte> <var id=ac_LSEnable /></byte>
<byte> <var id=ac_LSyncType /></byte>
<byte> <var id=ac_CWMaxRetries /></byte>
<byte> <var id=ac_LSLitStable /></byte>
<byte> <var id=ac_CooldownDelay /></byte>
<int16><var id=ac_LSResetDelay /></int16>
<int16><var id=ac_LampEnableDelay /></int16>
<int16><var id=ac_LampSyncEnableDelay /></int16>
<byte value=0/>
<int08><var id=ac_lmp_uart_enable /></int08>
<int16><var id=ac_lmp_uart_delay /></int16>
<byte><var id=ac_lmp_uart_port /></byte>
<byte><var id=ac_lmp_uart_baudrate /></byte>
<byte><var id=ac_lmp_uart_databits /></byte>
<byte><var id=ac_lmp_uart_stopbits /></byte>
<byte><var id=ac_lmp_uart_parity /></byte>
<byte><var id=ac_lmp_uart_rxd_polarity /></byte>
<byte><var id=ac_lmp_uart_exit_uart_mode /></byte>
</field>
<field id=Environment>
<byte> <var id=ac_EnableEnviroPoll /></byte>
<byte> <var id=ac_CheckFanLock /></byte>
<byte> <var id=ac_CheckOvertemp /></byte>
<byte>
<var id=ac_Fan1 writemask=0x01 shiftby=0 readmask=0x01 />
<var id=ac_Fan2 writemask=0x01 shiftBy=-1 readmask=0x02 />
<var id=ac_Fan3 writemask=0x01 shiftBy=-2 readmask=0x04 />
<var id=ac_Fan23 writemask=0x01 shiftBy=-3 readmask=0x08 />
</byte>
<byte>
<var id=ac_FLSen1 writemask=0x01 shiftby=0 readmask=0x01 />
<var id=ac_FLSen2 writemask=0x01 shiftBy=-1 readmask=0x02 />
<var id=ac_FLSen3 writemask=0x01 shiftBy=-2 readmask=0x04 />
</byte>
<byte>
<var id=ac_TSen1 writemask=0x01 shiftby=0 readmask=0x01 />
<var id=ac_TSen2 writemask=0x01 shiftBy=-1 readmask=0x02 />
<var id=ac_TSen3 writemask=0x01 shiftBy=-2 readmask=0x04 />
</byte>
<int16><var id=ac_TempLoLomit /></int16>
<int16><var id=ac_TempHiLimit /></int16>
<int16><var id=ac_TiltOffset /></int16>
<int16><var id=ac_TiltThreshold /></int16>
</field>
<field id=Peripherals>
<byte>
<var id=ac_debugPort writemask=0x0f shiftby=-4 readmask=0xf0 />
<var id=ac_debugRate writemask=0x0f shiftby=0 readmask=0x0f />
</byte>
<byte>
<var id=ac_PCPort writemask=0x0f shiftby=-4 readmask=0xf0 />
<var id=ac_PCRate writemask=0x0f shiftby=0 readmask=0x0f />
</byte>
<byte>
<var id=ac_RFCPort writemask=0x0f shiftBy=-4 readmask=0xf0 />
<var id=ac_RFCRate writemask=0x0f shiftby=0 readmask=0x0f />
</byte>
<byte><var id=ac_IRConfig /></byte>
<byte><var id=ac_UsbMode /></byte>
<byte><var id=ac_ddcciconfig /></byte>
<byte value=0/>
<byte value=0/>
</field>
<field id=Datapath>
<byte> <var id=ac_EnablePhaseCallback /></byte>
<byte> <var id=ac_ALCDetectMode /></byte>
<byte> <var id=ac_FrontEndI2C /></byte>
<byte> <var id=ac_EnableSplash /></byte>
<int16><var id=ac_SplashTimeout /></int16>
<int16> <var id=ac_ThrowRatio /></int16>
<int16> <var id=ac_VerticalOffset /></int16>
</field>
</adm>
</defaults>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -