2 <step id="inputselection" nextstep="modeselection" timeout="10" timeoutaction="selectnext">
3 <text value="Video input selction\n\nPlease press OK if you can see this page on your TV (or select a different input port).\n\nThe next input port will be automatically probed in 10 seconds." />
4 <displaytext value="Select video input" />
5 <list type="dynamic" source="listInputChannels" evaluation="inputSelectionMade" onselect="inputSelectionMoved" />
8 self["arrowdown"].moveTo(557, 232, 1)
9 self["arrowdown"].startMoving()
10 self["arrowup"].moveTo(800, 232, 1)
11 self["arrowup"].startMoving()
12 self["rc"].moveTo(500, 50, 1)
13 self["rc"].startMoving()
16 <step id="modeselection" nextstep="rateselection" timeout="10" timeoutaction="selectnext">
17 <text value="Video mode selection." />
18 <displaytext value="Select video mode" />
19 <list type="dynamic" source="listModes" evaluation="modeSelectionMade" onselect="modeSelectionMoved" />
21 self["arrowup2"].moveTo(800, 320, 1)
22 self["arrowup2"].startMoving()
23 self["arrowdown"].moveTo(557, 200, 1)
24 self["arrowup"].moveTo(557, 355, 1)
25 self["arrowdown"].startMoving()
26 self["arrowup"].startMoving()
27 self["rc"].moveTo(500, 50, 1)
28 self["rc"].startMoving()
29 self["portpic"].hide()
32 <step id="rateselection" nextstep="dvirateintroduction" timeout="10" timeoutaction="selectnext">
34 self.condition = (self.port != "DVI")
36 <text value="Refresh rate selection." />
37 <displaytext value="Select refresh rate" />
38 <list type="dynamic" source="listRates" evaluation="rateSelectionMade" onselect="rateSelectionMoved" />
40 self["arrowup2"].moveTo(800, 320, 1)
41 self["arrowup2"].startMoving()
42 self["arrowdown"].moveTo(557, 200, 1)
43 self["arrowup"].moveTo(557, 355, 1)
44 self["arrowdown"].startMoving()
45 self["arrowup"].startMoving()
46 self["rc"].moveTo(500, 50, 1)
47 self["rc"].startMoving()
50 <step id="dvirateintroduction" nextstep="dvirateselection">
52 self.condition = (self.port == "DVI")
54 <text value="We will now test if your TV can also display this resolution at 50hz. If your screen goes black, wait 20 seconds and it will switch back to 60hz.\nPlease press OK to begin." />
55 <displaytext value="Please follow the instructions on the TV" />
57 self["arrowdown"].moveTo(557, 232, 1)
58 self["arrowdown"].startMoving()
59 self["arrowup"].moveTo(800, 232, 1)
60 self["arrowup"].startMoving()
61 self["rc"].moveTo(500, 50, 1)
62 self["rc"].startMoving()
63 self.rateSelect("60Hz")
66 <step id="dvirateselection" timeout="10" timeoutaction="changestep" timeoutstep="notworking50Hz">
68 self.condition = (self.port == "DVI")
70 <text value="If you can see this page, please press OK." />
71 <displaytext value="" />
73 <listentry caption="50 Hz" step="working50Hz" />
76 self["arrowdown"].moveTo(557, 232, 1)
77 self["arrowdown"].startMoving()
78 self["arrowup"].moveTo(800, 232, 1)
79 self["arrowup"].startMoving()
80 self["rc"].moveTo(500, 50, 1)
81 self["rc"].startMoving()
82 self.rateSelect("50Hz")
85 self.rateSelect("60Hz")
88 <step id="notworking50Hz" nextstep="end">
90 self.condition = (self.port == "DVI")
92 <text value="No 50 Hz, sorry. :(" />
93 <displaytext value="" />
95 self["arrowdown"].moveTo(557, 232, 1)
96 self["arrowdown"].startMoving()
97 self["arrowup"].moveTo(800, 232, 1)
98 self["arrowup"].startMoving()
99 self["rc"].moveTo(500, 50, 1)
100 self["rc"].startMoving()
103 <step id="working50Hz" nextstep="end" timeout="10" timeoutaction="nextstep">
105 self.condition = (self.port == "DVI")
107 <text value="Your TV works with 50 Hz. Good!" />
108 <displaytext value="" />
110 self["arrowdown"].moveTo(557, 232, 1)
111 self["arrowdown"].startMoving()
112 self["arrowup"].moveTo(800, 232, 1)
113 self["arrowup"].startMoving()
114 self["rc"].moveTo(500, 50, 1)
115 self["rc"].startMoving()
116 self.rateSelect("50Hz")
121 self.hw.saveMode(self.port, self.mode, self.rate)
123 <text value="The input port should be configured now.\nYou can now configure the screen by displaying some test pictures. Do you want to do that now?" />
124 <!--text value="You have successfully finished the video setup. If you want to change the settings later, you can do this in the settings menu."/-->
125 <displaytext value="No picture on TV? Press EXIT and retry." />
126 <list evaluation="showTestCard" onselect="showTestCard">
127 <listentry caption="Yes" step="yes" />
128 <listentry caption="No" step="no" />