-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfull_stack_test.html
More file actions
94 lines (81 loc) · 3.63 KB
/
full_stack_test.html
File metadata and controls
94 lines (81 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<html>
<head>
<!-- <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> -->
<script src="jquery.min.js"></script>
<script src="keyer.js"></script>
<script src="noise_new.js"></script>
<script src="band.js"></script>
<script src="radio.js"></script>
<script src="station_new.js"></script>
<script src="so2rcontroller.js"></script>
<script src="full_stack_test_app.js"></script>
<link rel="stylesheet" type="text/css" href="full_stack_test.css">
<script type="text/javascript">
function LoadFile() {
var oFrame = document.getElementById("callsigns");
var strRawContents = oFrame.contentWindow.document.body.childNodes[0].innerHTML;
while (strRawContents.indexOf("\r") >= 0)
strRawContents = strRawContents.replace("\r", "");
// Intentionally global
document.callsigns = strRawContents.split("\n");
console.log("File " + oFrame.src + " has " + document.callsigns.length + " lines");
}
</script>
</head>
<body>
<iframe id="callsigns" src="master.scp.txt" onload="LoadFile();" style="display: none;"></iframe>
<h2>Test: Full App Stack</h2>
<p>
Your callsign: <input type="text" id="mycall" value="W8UM">
Keyer Speed: <input type="text" id="keyer_speed" value="50">
<div id="radios">
<div id="radio1">
Radio 1<br>
Tuner Frequency (hz): <input type="text" id="frequency" value="0" class="ignnav"> ("-" and "=" to tune)
<br>
AF Gain (0-100): <input type="text" id="gain" value="100" class="ignnav">
<br>
RX Bandwidth (100-2000): <input type="text" id="bandwidth" value="400" class="ignnav"> (click, then arrow up/down to change)
<br>
RX Filter Frequency (100-1800): <input type="text" id="filter_frequency" value="700" class="ignnav"> (click, then arrow up/down to change)
<br>
Noise Gain (0-100): <input type="text" id="noise_gain" value="40" class="ignnav">
<p>
</div>
<div id="radio2">
Radio 2<br>
Tuner Frequency (hz): <input type="text" id="frequency2" value="0" class="ignnav"> ("[" and "]" to tune)
<br>
AF Gain (0-100): <input type="text" id="gain2" value="100" class="ignnav">
<br>
RX Bandwidth (100-2000): <input type="text" id="bandwidth2" value="400" class="ignnav"> (click, then arrow up/down to change)
<br>
RX Filter Frequency (100-1800): <input type="text" id="filter_frequency2" value="700" class="ignnav"> (click, then arrow up/down to change)
<br>
Noise Gain (0-100): <input type="text" id="noise_gain2" value="40" class="ignnav">
<p>
</div>
</div>
<div id="controls">
<button type="button" id="start" class="start-button">Start</button>
<button type="button" id="stop" class="stop-button">Stop</button>
<button type="button" id="select-radio1" class="select-button">Radio 1</button>
<button type="button" id="select-radio2" class="select-button">Radio 2</button>
<button type="button" id="select-both" class="select-button">Both Radios</button>
("`" = both radios, "\" = swap focus)
</div>
<div id="fkeys">
<button type="button" id="f1" class="fkey-button">CQ</button>
<button type="button" id="f2" class="fkey-button">EXCH</button>
<button type="button" id="f3" class="fkey-button">TU</button>
<button type="button" id="f4" class="fkey-button">MY</button>
<button type="button" id="f5" class="fkey-button">HIS</button>
<button type="button" id="abort" class="fkey-button">ABORT</button>
</div>
<p>
<div id="logging">
Call: <input type="text" id="hiscall" class="ignnav">
Exchange: <input type="text" id="exchange" class="ignnav">
</div>
</body>
</html>