Skip to content

Commit

Permalink
#52 WIP RSP1A tuner working correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Sheirer committed Oct 10, 2022
1 parent a65cc65 commit 5dbf102
Show file tree
Hide file tree
Showing 22 changed files with 1,487 additions and 0 deletions.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
<title>Test results - RspDeviceTest</title>
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/>
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<script src="../js/report.js" type="text/javascript"></script>
</head>
<body>
<div id="content">
<h1>RspDeviceTest</h1>
<div class="breadcrumbs">
<a href="../index.html">all</a> &gt;
<a href="../packages/io.github.dsherer.sdrplay.test.html">io.github.dsherer.sdrplay.test</a> &gt; RspDeviceTest</div>
<div id="summary">
<table>
<tr>
<td>
<div class="summaryGroup">
<table>
<tr>
<td>
<div class="infoBox" id="tests">
<div class="counter">3</div>
<p>tests</p>
</div>
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">0</div>
<p>failures</p>
</div>
</td>
<td>
<div class="infoBox" id="ignored">
<div class="counter">0</div>
<p>ignored</p>
</div>
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">6.800s</div>
<p>duration</p>
</div>
</td>
</tr>
</table>
</div>
</td>
<td>
<div class="infoBox success" id="successRate">
<div class="percent">100%</div>
<p>successful</p>
</div>
</td>
</tr>
</table>
</div>
<div id="tabs">
<ul class="tabLinks">
<li>
<a href="#tab0">Tests</a>
</li>
<li>
<a href="#tab1">Standard output</a>
</li>
</ul>
<div id="tab0" class="tab">
<h2>Tests</h2>
<table>
<thead>
<tr>
<th>Test</th>
<th>Method name</th>
<th>Duration</th>
<th>Result</th>
</tr>
</thead>
<tr>
<td class="success">List available RSP devices</td>
<td class="success">listDevices()</td>
<td class="success">0.051s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="success">Test an RSP1 device</td>
<td class="success">testRSP1()</td>
<td class="success">0.054s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="success">Test an RSP1A device</td>
<td class="success">testRSP1A()</td>
<td class="success">6.695s</td>
<td class="success">passed</td>
</tr>
</table>
</div>
<div id="tab1" class="tab">
<h2>Standard output</h2>
<span class="code">
<pre>06:14:20.433 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading SDRplay Library from default install path: /usr/local/lib/libsdrplay_api.so
06:14:20.436 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - SDRPlay API library v0.0 - loaded
06:14:20.472 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading Devices ...
06:14:20.515 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loaded Device Count: 1
06:14:20.523 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Version: 3.07
06:14:20.523 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Testing: Device: RSP1A Serial #:1712032B93 Available Selection Modes [Single Tuner 1] With Device Selection Mode: Single Tuner 1
06:14:20.523 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Available Selection Modes: [Single Tuner 1]
06:14:20.559 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Device: SDRPplay Device
Type: RSP1A
Serial Number: 1712032B93
Selected: true Composite Parameters
Device Parameters:
Device Parameters
PPM: 0.0
Sample Rate: Sample Rate:2000000.0
Samples Per Packet: 0
Sync Update: com.github.dsheirer.sdrplay.parameter.device.SynchronousUpdate@6b98a075
Reset Flags: com.github.dsheirer.sdrplay.parameter.device.ResetFlags@2e61d218
Transfer Mode: ISOCHRONOUS

Tuner A Parameters:
Tuner Parameters
Bandwidth: 0.200 MHz
IF Mode: ZIF 0.000 MHz
LO Mode: AUTO
Gain: Reduction:50dB LNA:0 Min Gain Reduction Mode:NORMAL Gain Values:Current:0.0 Max:0.0 Min:0.0
RF Frequency: Frequency:2.0E8
DC Offset Tuner: DC Cal:3 Speed Up:false Track Time:1 Refresh Rate Time:2048


06:14:20.559 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Selected: class com.github.dsheirer.sdrplay.device.Rsp1aDevice
06:14:20.559 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Setting Sample Rate
06:14:20.561 [Test worker] ERROR c.g.dsheirer.sdrplay.device.Device - Can't apply update to [TUNER 1] - device is not initialized. Updates: [DEVICE_SAMPLE_RATE]
06:14:20.562 [Test worker] ERROR c.g.dsheirer.sdrplay.device.Device - Can't apply update to [TUNER 1] - device is not initialized. Updates: [CONTROL_DECIMATION]
06:14:20.562 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Setting Frequencies
06:14:20.563 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Gain Reduction: RSP1A_BAND_420_1000
06:14:20.565 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - AGC Mode: 50 Hz
06:14:20.565 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Gain: Reduction:50dB LNA:0 Min Gain Reduction Mode:NORMAL Gain Values:Current:0.0 Max:0.0 Min:0.0
06:14:20.565 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - LO Mode:AUTO
06:14:20.565 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - IF Mode:ZIF 0.000 MHz
06:14:20.565 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Capturing Samples ...
06:14:20.565 [Test worker] INFO i.g.d.s.t.l.LoggingStreamConsumer - Initializing device ...
06:14:20.591 [Thread-3] INFO i.g.d.s.t.l.LoggingDeviceEventListener - RSP1A - Gain Change - Tuner: TUNER 1 GR:50 LNA:0 CURRENT GAIN:67.60619354248047
06:14:21.020 [Thread-4] INFO i.g.d.s.t.l.LoggingDeviceEventListener - RSP1A - Gain Change - Tuner: TUNER 1 GR:52 LNA:0 CURRENT GAIN:65.60619354248047
06:14:21.023 [Thread-5] INFO i.g.d.s.t.l.LoggingStreamListener - Stream 1 - Parameters Changed [TUNER RESET]
06:14:21.072 [Thread-131] INFO i.g.d.s.t.l.LoggingDeviceEventListener - RSP1A - Gain Change - Tuner: TUNER 1 GR:57 LNA:0 CURRENT GAIN:60.60619354248047
06:14:21.072 [Thread-133] INFO c.g.dsheirer.sdrplay.device.Device - Completing gain reduction change
06:14:21.072 [Thread-133] INFO i.g.d.s.t.l.LoggingStreamListener - Stream 1 - Parameters Changed [GAIN REDUCTION]
06:14:21.119 [Thread-234] INFO i.g.d.s.t.l.LoggingDeviceEventListener - RSP1A - Gain Change - Tuner: TUNER 1 GR:59 LNA:0 CURRENT GAIN:58.60619354248047
06:14:21.119 [Thread-236] INFO c.g.dsheirer.sdrplay.device.Device - Completing gain reduction change
06:14:21.120 [Thread-236] INFO i.g.d.s.t.l.LoggingStreamListener - Stream 1 - Parameters Changed [GAIN REDUCTION]
06:14:21.166 [Thread-331] INFO c.g.dsheirer.sdrplay.device.Device - Completing gain reduction change
06:14:21.166 [Thread-331] INFO i.g.d.s.t.l.LoggingStreamListener - Stream 1 - Parameters Changed [GAIN REDUCTION]
06:14:25.956 [pool-2-thread-1] INFO i.g.d.s.t.l.LoggingStreamConsumer - Un-initializing the device
06:14:26.299 [Thread-9896] INFO i.g.d.s.t.l.LoggingDeviceEventListener - RSP1A - Power Overload - Tuner: TUNER 1 - acknowledging
06:14:26.305 [pool-2-thread-1] INFO i.g.d.s.t.l.LoggingStreamListener - Stream 1 - 1,246,014 samples captured in 5.347 secs. Approximate Sample Rate:0.233 MHz
06:14:26.306 [pool-2-thread-1] INFO i.g.d.s.t.l.LoggingStreamListener - Stream 2 - 0 samples captured in 5.350 secs. Approximate Sample Rate:0.000 MHz
06:14:26.306 [pool-2-thread-1] INFO i.g.d.s.t.l.LoggingStreamConsumer - releasing device
06:14:26.311 [Thread-9896] ERROR i.g.d.s.t.l.LoggingDeviceEventListener - Unable to acknowledge power overload for tuner(s): TUNER 1: Unable to update device parameters: [Control Overload Message Ack] Status:Not Initialized
06:14:27.112 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Released
06:14:27.120 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading SDRplay Library from default install path: /usr/local/lib/libsdrplay_api.so
06:14:27.120 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - SDRPlay API library v0.0 - loaded
06:14:27.122 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading Devices ...
06:14:27.163 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loaded Device Count: 1
06:14:27.173 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Version: 3.07
06:14:27.174 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Unable to obtain RSP device to test
06:14:27.175 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading SDRplay Library from default install path: /usr/local/lib/libsdrplay_api.so
06:14:27.175 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - SDRPlay API library v0.0 - loaded
06:14:27.183 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading Devices ...
06:14:27.225 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loaded Device Count: 1
06:14:27.225 [Test worker] INFO i.g.d.sdrplay.test.RspDeviceTest - Device: RSP1A Serial #:1712032B93 Available Selection Modes [Single Tuner 1]
</pre>
</span>
</div>
</div>
<div id="footer">
<p>
<div>
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 7.4.2</a> at Oct 9, 2022, 6:14:27 AM</p>
</div>
</div>
</body>
</html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="IE=edge"/>
<title>Test results - RspDuoTest</title>
<link href="../css/base-style.css" rel="stylesheet" type="text/css"/>
<link href="../css/style.css" rel="stylesheet" type="text/css"/>
<script src="../js/report.js" type="text/javascript"></script>
</head>
<body>
<div id="content">
<h1>RspDuoTest</h1>
<div class="breadcrumbs">
<a href="../index.html">all</a> &gt;
<a href="../packages/io.github.dsherer.sdrplay.test.html">io.github.dsherer.sdrplay.test</a> &gt; RspDuoTest</div>
<div id="summary">
<table>
<tr>
<td>
<div class="summaryGroup">
<table>
<tr>
<td>
<div class="infoBox" id="tests">
<div class="counter">6</div>
<p>tests</p>
</div>
</td>
<td>
<div class="infoBox" id="failures">
<div class="counter">0</div>
<p>failures</p>
</div>
</td>
<td>
<div class="infoBox" id="ignored">
<div class="counter">0</div>
<p>ignored</p>
</div>
</td>
<td>
<div class="infoBox" id="duration">
<div class="counter">0.302s</div>
<p>duration</p>
</div>
</td>
</tr>
</table>
</div>
</td>
<td>
<div class="infoBox success" id="successRate">
<div class="percent">100%</div>
<p>successful</p>
</div>
</td>
</tr>
</table>
</div>
<div id="tabs">
<ul class="tabLinks">
<li>
<a href="#tab0">Tests</a>
</li>
<li>
<a href="#tab1">Standard output</a>
</li>
</ul>
<div id="tab0" class="tab">
<h2>Tests</h2>
<table>
<thead>
<tr>
<th>Test</th>
<th>Method name</th>
<th>Duration</th>
<th>Result</th>
</tr>
</thead>
<tr>
<td class="success">Test an RSPduo device using dual independent tuners</td>
<td class="success">testDualIndependentTuners()</td>
<td class="success">0.051s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="success">Test an RSPduo device using dual synchronized tuners</td>
<td class="success">testDualSynchronizedTuners()</td>
<td class="success">0.050s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="success">Test an RSPduo device using master tuner mode with tuner 1</td>
<td class="success">testMasterTuner1()</td>
<td class="success">0.051s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="success">Test an RSPduo device using master tuner mode with tuner 2</td>
<td class="success">testMasterTuner2()</td>
<td class="success">0.051s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="success">Test an RSPduo device using single tuner mode with tuner 1</td>
<td class="success">testSingleTuner1()</td>
<td class="success">0.048s</td>
<td class="success">passed</td>
</tr>
<tr>
<td class="success">Test an RSPduo device using single tuner mode with tuner 2</td>
<td class="success">testSingleTuner2()</td>
<td class="success">0.051s</td>
<td class="success">passed</td>
</tr>
</table>
</div>
<div id="tab1" class="tab">
<h2>Standard output</h2>
<span class="code">
<pre>06:14:27.229 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading SDRplay Library from default install path: /usr/local/lib/libsdrplay_api.so
06:14:27.229 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - SDRPlay API library v0.0 - loaded
06:14:27.235 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading Devices ...
06:14:27.276 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loaded Device Count: 1
06:14:27.276 [Test worker] INFO i.g.dsherer.sdrplay.test.RspDuoTest - Unable to obtain RSPduo device to test
06:14:27.277 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading SDRplay Library from default install path: /usr/local/lib/libsdrplay_api.so
06:14:27.277 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - SDRPlay API library v0.0 - loaded
06:14:27.286 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading Devices ...
06:14:27.328 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loaded Device Count: 1
06:14:27.328 [Test worker] INFO i.g.dsherer.sdrplay.test.RspDuoTest - Unable to obtain RSPduo device to test
06:14:27.329 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading SDRplay Library from default install path: /usr/local/lib/libsdrplay_api.so
06:14:27.329 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - SDRPlay API library v0.0 - loaded
06:14:27.338 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading Devices ...
06:14:27.379 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loaded Device Count: 1
06:14:27.379 [Test worker] INFO i.g.dsherer.sdrplay.test.RspDuoTest - Unable to obtain RSPduo device to test
06:14:27.380 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading SDRplay Library from default install path: /usr/local/lib/libsdrplay_api.so
06:14:27.380 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - SDRPlay API library v0.0 - loaded
06:14:27.389 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading Devices ...
06:14:27.430 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loaded Device Count: 1
06:14:27.430 [Test worker] INFO i.g.dsherer.sdrplay.test.RspDuoTest - Unable to obtain RSPduo device to test
06:14:27.431 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading SDRplay Library from default install path: /usr/local/lib/libsdrplay_api.so
06:14:27.431 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - SDRPlay API library v0.0 - loaded
06:14:27.440 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading Devices ...
06:14:27.481 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loaded Device Count: 1
06:14:27.482 [Test worker] INFO i.g.dsherer.sdrplay.test.RspDuoTest - Unable to obtain RSPduo device to test
06:14:27.483 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading SDRplay Library from default install path: /usr/local/lib/libsdrplay_api.so
06:14:27.483 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - SDRPlay API library v0.0 - loaded
06:14:27.492 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loading Devices ...
06:14:27.533 [Test worker] INFO com.github.dsheirer.sdrplay.SDRplay - Loaded Device Count: 1
06:14:27.533 [Test worker] INFO i.g.dsherer.sdrplay.test.RspDuoTest - Unable to obtain RSPduo device to test
</pre>
</span>
</div>
</div>
<div id="footer">
<p>
<div>
<label class="hidden" id="label-for-line-wrapping-toggle" for="line-wrapping-toggle">Wrap lines
<input id="line-wrapping-toggle" type="checkbox" autocomplete="off"/>
</label>
</div>Generated by
<a href="http://www.gradle.org">Gradle 7.4.2</a> at Oct 9, 2022, 6:14:27 AM</p>
</div>
</div>
</body>
</html>
Loading

0 comments on commit 5dbf102

Please sign in to comment.