software defined radio

[]
software defined radio – How turn off ADALM-Pluto transmitter – Amateur Radio Stack Exchange *”: { “background”: “inherit” } }, SEEditor: “mathjaxEditing” }); ]]>

Stack Exchange Network

Stack Exchange network consists of 182 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

  1. Log in
  2. Sign up

Amateur Radio Stack Exchange is a question and answer site for amateur radio enthusiasts. It only takes a minute to sign up.

Sign up to join this community

Anybody can ask a question

Anybody can answer

The best answers are voted up and rise to the top

Asked yesterday

Viewed 19 times

$begingroup$

I have a Pluto and an RTL-SDR both connected to a computer. On Matlab, I run such a script:

%Script SAMPLE_RATE = 750e3; NUM_SAMPLES = 750e3; CENTER_FREQ = 868e6; RECEIVER_GAIN = 0; TRANSMITTER_GAIN = -10; deviceNameSDR = ‘Pluto’; sdrTransmitter = sdrtx(deviceNameSDR); sdrTransmitter.RadioID = ‘usb:0’; sdrTransmitter.BasebandSampleRate = SAMPLE_RATE; sdrTransmitter.ShowAdvancedProperties = true; sdrTransmitter.CenterFrequency = CENTER_FREQ; sdrTransmitter.Gain = TRANSMITTER_GAIN; txWaveform = ones(750e3,1); sdrTransmitter(txWaveform); %Transmit tone

In the SDR-Console, I listen to the broadcast at a frequency of 868e6 Hz. When I run the script with a gain of -10 dB, the screen shows that the peak is saved. However, when I run the script at -50 dB gain, a peak appears and then it disappears. And the question is why at high gain (-10 dB) the peak remains, but at -50 dB this does not happen? Here the image of sdr-consoleThe result of the script at -10 dB

The result of the script at -50 dB

Marcus Müller's user avatar

asked yesterday

Count Zero's user avatar Count Zero is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct. $endgroup$ 1

You must log in to answer this question.

{“use strict”;var __webpack_modules__={23:(e,t,a)=>{a.d(t,{AG:()=>n,Z7:()=>l,kG:()=>r});const s=/^/tags//.test(location.pathname)||/^/questions/tagged//.test(location.pathname)?”tag-pages”:/^/$/.test(location.pathname)||/^/home/.test(location.pathname)?”home-page”:”question-pages”;let i=location.hostname;/^local./.test(location.hostname)||/.local$/.test(location.hostname)?i=”test/meta.stackexchange.local”:/^(dev|clc.dev)./.test(location.hostname)&&(i=”test/dev.stackoverflow.com”);const o={slots:{lb:[[728,90]],mlb:[[728,90]],smlb:[[728,90]],bmlb:[[728,90]],sb:e=>”dfp-tsb”===e?[[300,250],[300,600]]:[[300,250]],”tag-sponsorship”:[[730,135]],”mobile-below-question”:[[320,50],[300,250]],msb:[[300,250],[300,600]],”talent-conversion-tracking”:[[1,1]],”site-sponsorship”:[[230,60]]},ids:{“dfp-tlb”:”lb”,”dfp-mlb”:”mlb”,”dfp-smlb”:”smlb”,”dfp-bmlb”:”bmlb”,”dfp-tsb”:”sb”,”dfp-isb”:”sb”,”dfp-tag”:”tag-sponsorship”,”dfp-msb”:”msb”,”dfp-sspon”:”site-sponsorship”,”dfp-m-aq”:”mobile-below-question”},idsToExcludeFromAdReports:[“dfp-sspon”]};function r(){return Object.keys(o.ids)}function n(e){return o.idsToExcludeFromAdReports.indexOf(e)<0}function l(e){var t=e.split("_")[0];const a=o.ids[t];let r=o.slots[a];return"function"==typeof r&&(r=r(t)),{path:`/248424177/${i}/${a}/${s}`,sizes:r,zone:a}}},865:(e,t,a)=>{function s(e){return”string”==typeof e?document.getElementById(e):e}function i(e){return!!(e=s(e))&&”none”===getComputedStyle(e).display}function o(e){return!i(e)}function r(e){return!!e}function n(e){return/^s*$/.test(s(e).innerHTML)}function l(e){const{style:t}=e;t.height=t.maxHeight=t.minHeight=”auto”,t.display=”none”}function d(e){const{style:t}=e;t.height=t.maxHeight=t.minHeight=”auto”,t.display=”none”,[].forEach.call(e.children,d)}function c(e){const{style:t}=e;t.height=t.maxHeight=t.minHeight=”auto”,t.removeProperty(“display”)}function p(e){const t=document.createElement(“script”);t.src=e,document.body.appendChild(t)}function g(e){return a=e,(t=[]).push=function(e){return a(),delete this.push,this.push(e)},t;var t,a}function h(e){let t=”function”==typeof HTMLTemplateElement;var a=document.createElement(t?”template”:”div”);return e=e.trim(),a.innerHTML=e,t?a.content.firstChild:a.firstChild}a.d(t,{$Z:()=>c,Bv:()=>h,Gx:()=>p,Nj:()=>s,QZ:()=>g,cf:()=>l,pn:()=>o,wo:()=>d,xb:()=>n,xj:()=>i,yb:()=>r})},763:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{t:()=>AdReports});var _common_helper__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(865),_console__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(276),_ad_units__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(23);class AdReports{constructor(e,t){if(this.googletag=e,this.cam=t,this.allowedFileTypes=[“image/png”,”image/jpg”,”image/jpeg”],this.ignoreValidation=!1,this.cam=t,this.callOnButtonClick=e=>this.onButtonClick(e),this.googletag.pubads().addEventListener(“slotRenderEnded”,e=>this.handleSlotRendered(e)),Array.isArray(t.slotsRenderedEvents))for(var a=0;ae.addEventListener(“change”,e=>{this.$adReportReasonOther.classList.toggle(“d-none”,”3″!==e.target.value)})),this.$fileUploaderInput.addEventListener(“change”,()=>{this.validateFileInput()&&this.updateImagePreview(this.$fileUploaderInput.files)}),this.$clearImageUpload.addEventListener(“click”,e=>{e.preventDefault(),this.clearImageUpload()});try{this.$fileUploaderInput[0].value=””,this.$imageUploader.addEventListener(“dragenter dragover dragleave drop”,this.preventDefaults),this.$imageUploader.addEventListener(“dragenter dragover”,this.handleDragStart),this.$imageUploader.addEventListener(“dragleave drop”,this.handleDragEnd),this.$imageUploader.addEventListener(“drop”,this.handleDrop)}catch(e){a.classList.add(“d-none”),s.classList.remove(“d-none”)}this.$form.removeEventListener(“”,this.handleDragEnd),this.$form.addEventListener(“submit”,async e=>(e.preventDefault(),this.submitForm(),!1))}clearImageUpload(){this.$fileUploaderInput.value=””,this.$imageUploaderPreview.setAttribute(“src”,””),this.$imageUploaderPreview.classList.add(“d-none”),this.$clearImageUpload.classList.add(“d-none”),this.$imageUploaderText.classList.remove(“d-none”),this.$imageUploader.classList.add(“p16″,”ba”,”bas-dashed”,”bc-black-100″)}preventDefaults(e){e.preventDefault(),e.stopPropagation()}handleDragStart(e){this.$imageUploader.classList.remove(“bas-dashed”),this.$imageUploader.classList.add(“bas-solid”,”bc-black-100″)}handleDragEnd(e){this.$imageUploader.classList.remove(“bas-solid”,”bc-black-100″),this.$imageUploader.classList.add(“bas-dashed”)}handleDrop(e){var t=e.originalEvent.dataTransfer.files;FileReader&&t&&1===t.length&&(this.$fileUploaderInput.files=t,this.validateFileInput()&&this.updateImagePreview(t))}setError(e){this.$fileErrorMessage.parentElement.classList.toggle(“has-error”,e)}updateImagePreview(e){this.$imageUploader.classList.remove(“p16″,”ba”,”bas-dashed”,”bc-black-100″),this.$clearImageUpload.classList.remove(“d-none”),this.$imageUploaderText.classList.add(“d-none”);var t=new FileReader;t.onload=e=>{null!=e.target&&(this.$imageUploaderPreview.setAttribute(“src”,e.target.result),this.$imageUploaderPreview.classList.remove(“d-none”))},t.readAsDataURL(e[0])}validateFileInput(){if(this.ignoreValidation)return!0;const e=this.cam.opt.adReportFileTypeErrorMessage,t=this.cam.opt.adReportFileSizeErrorMessage;if(null==this.$fileUploaderInput.files)return!1;var a=this.$fileUploaderInput.files[0];return null==a?(this.setError(!0),!1):this.allowedFileTypes.indexOf(a.type)<0?(this.$fileErrorMessage.textContent=e,this.$fileErrorMessage.classList.remove("d-none"),this.setError(!0),!1):a.size>2097152?(this.$fileErrorMessage.textContent=t,this.$fileErrorMessage.classList.remove(“d-none”),this.setError(!0),!1):(this.$fileErrorMessage.classList.add(“d-none”),this.setError(!1),!0)}async submitForm(){if(!this.validateFileInput())return!1;this.$form.querySelector(“[type=submit]”).setAttribute(“disabled”,”true”);var e=JSON.parse(this.$googleEventData.value||”{}”);e.Reason=parseInt(this.$form.querySelector(“.js-ad-report-reason:checked”).value,10),e.Description=this.$adReportReasonOther.value,this.$googleEventData.value=JSON.stringify(e);var t=new FormData(this.$form);try{const e=await window.fetch(this.$form.getAttribute(“action”),{method:this.$form.getAttribute(“method”),body:t,cache:”no-cache”}),s=e.headers.get(“content-type”)||””,i=await e.text();if(!e.ok)throw new Error(“response not valid”);if(0===s.indexOf(“text/html”)){var a=(0,_common_helper__WEBPACK_IMPORTED_MODULE_1__.Bv)(i);const e=a?a.querySelector(“.js-modal-content”):null;if(_console__WEBPACK_IMPORTED_MODULE_2__.cM(“$popupContent”),_console__WEBPACK_IMPORTED_MODULE_2__.cM(e),!e)throw new Error(`Could not find .js-modal-content in response from ${this.$form.getAttribute(“action”)}`);document.querySelector(“.js-modal-content”).replaceWith(e)}else window.StackExchange.helpers.showToast(this.cam.opt.adReportThanksText,{type:”success”}),this.removeModal()}catch(e){window.StackExchange.helpers.showToast(this.cam.opt.adReportErrorText,{type:”danger”})}finally{let e=this.$form.querySelector(“[type=submit]”);e&&e.removeAttribute(“disabled”)}}}},276:(e,t,a)=>{function s(…e){}a.d(t,{cM:()=>s})}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var a=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](a,a.exports,__webpack_require__),a.exports}__webpack_require__.d=(e,t)=>{for(var a in t)__webpack_require__.o(t,a)&&!__webpack_require__.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var __webpack_exports__={};(()=>{var e=__webpack_require__(276),t=(e=>(e[e.Above=0]=”Above”,e[e.Below=1]=”Below”,e))(t||{});const a=Object.assign({},{“lib”:”https://cdn.sstatic.net/clc/js/ts/gam_loader_script/404.a13575396348590ea71f.min.js”,”style”:null,”u”:null,”wa”:true,”kt”:2000,”tto”:true,”h”:”clc.stackoverflow.com”,”allowed”:”^(((talent\.)?stackoverflow)|(blog\.codinghorror)|(.*\.googlesyndication)|(serverfault|askubuntu)|([^\.]+\.stackexchange))\.com$”,”wv”:true,”al”:false,”abd”:true,”cpa_liid”:[5882654614],”cpa_cid”:[138377597667],”dp”:false});var s=__webpack_require__(23),i=__webpack_require__(865),o=__webpack_require__(763);window.cam=new class{constructor(){this.gptImported=!1,this.collapsed={},this.clc_options=a,e.cM(“constructor”),this.initGpt(),window.StackExchange.ready(()=>this.init())}init(){if(e.cM(“init”),void 0===this.opt)throw new Error(“opt not set, required by GAM Loader”);this.opt.adReportEnabled&&googletag.cmd.push(()=>this.adReports=new o.t(googletag,this)),e.cM(“setup message handler”),window.addEventListener(“message”,e=>{this.onmessage(e)})}onmessage(t){let a=”omni”;if(t.data&&(“string”==typeof t.data||t.data instanceof String))if(0===t.data.indexOf(“get-omni-“)){e.cM(“Recevied get-omni message, sending back omni”);var s=t.source,o=this.opt.omni,r=”string”==typeof o?o:””;s.postMessage([a,r].join(“|”),”*”)}else if(0===t.data.indexOf(“collapse-“)){e.cM(“Recevied collapse message, collapse ad iframe”),e.cM(t);for(var n=t.source.window,l=document.getElementsByTagName(“IFRAME”),d=0;dt.contentWindow===e.source)[0]}classifyZoneIds(e){const t=e.map(i.Nj).filter(i.yb);return{eligible:t.filter(i.xb).filter(i.pn),ineligible:t.filter(i.xj)}}load(a=(0,s.kG)()){const o=this.opt.tlb_position===t.Above?[“dfp-mlb”,”dfp-smlb”]:[“dfp-mlb”,”dfp-smlb”,”dfp-tlb”];if(!this.isGptReady())return e.cM(“Initializing…”),this.initGpt(),void googletag.cmd.push(()=>this.load(a));e.cM(“Attempting to load ads into ids: “,a);const{eligible:r,ineligible:n}=this.classifyZoneIds(a);if(this.initDebugPanel(googletag,r.concat(n)),r.forEach(e=>(0,i.cf)(e)),n.forEach(i.wo),0!==r.length){e.cM(“Eligible ids:”,r),this.opt.abd&&this.appendAdblockDetector();var l=googletag.pubads().getSlots().filter(e=>a.indexOf(e.getSlotElementId())>=0);googletag.destroySlots(l),this.opt.sf&&(googletag.pubads().setForceSafeFrame(!0),googletag.pubads().setSafeFrameConfig({allowOverlayExpansion:!0,allowPushExpansion:!0,sandbox:!0})),e.cM(“Targeting consent: Checking…”),void 0!==this.opt.targeting_consent&&(e.cM(“Targeting consent: Parameter set”),e.cM(“Targeting consent: Consent given? “,this.opt.targeting_consent),googletag.pubads().setRequestNonPersonalizedAds(this.opt.targeting_consent?0:1),this.opt.targeting_consent||googletag.pubads().setPrivacySettings({limitedAds:!0})),this.opt.ll||googletag.pubads().enableSingleRequest(),cam.sreEvent||(googletag.pubads().addEventListener(“slotRenderEnded”,e=>this.onSlotRendered(e)),cam.sreEvent=!0),this.setTargeting(googletag);var d=r.filter(e=>!this.opt.ll||o.indexOf(e.id)<0),c=r.filter(e=>!!this.opt.ll&&o.indexOf(e.id)>=0);e.cM(“Up front ids:”,d),e.cM(“Lazy loaded ids:”,c),d.forEach(t=>{e.cM(`Defining ad for element ${t.id}`),this.defineSlot(t.id,googletag),t.setAttribute(“data-dfp-zone”,”true”)}),googletag.enableServices(),d.forEach(t=>{e.cM(`Displaying ad for element ${t.id}`),googletag.cmd.push(()=>googletag.display(t.id))}),this.opt.ll&&(e.cM(“Enabling lazy loading for GAM”),googletag.pubads().enableLazyLoad({fetchMarginPercent:0,renderMarginPercent:0}),e.cM(“Setting up lazy loaded ad units”),c.forEach(t=>{e.cM(`Lazy loading – Defining Slot ${t.id}`),this.defineSlot(t.id,googletag)}),c.forEach(t=>{e.cM(`Lazy loading – Displaying ad for element ${t.id}`),googletag.cmd.push(()=>googletag.display(t.id))}))}else e.cM(“Found no ad ids on page”)}setTargeting(t){let a=this.opt.targeting;”SystemDefault”===a.ProductVariant&&(window.matchMedia&&window.matchMedia(“(prefers-color-scheme: dark)”).matches?a.ProductVariant=”Dark”:a.ProductVariant=”Light”),Object.keys(a).forEach(s=>{e.cM(`-> targeting – ${s}: ${a[s]}`),t.pubads().setTargeting(s,a[s])})}appendAdblockDetector(){const e=document.createElement(“div”);e.className=”adsbox”,e.id=”clc-abd”,e.style.position=”absolute”,e.style.pointerEvents=”none”,e.innerHTML=” “,document.body.appendChild(e)}onSlotRendered(a){try{const r=a.slot.getSlotElementId();let n=[];r||n.push(“id=0”);const l=document.getElementById(r);if(r&&!l&&n.push(“el=0”),0!==n.length)return void this.stalled(n.join(“&”));const{path:d,sizes:c,zone:p}=(0,s.Z7)(r);if(this.collapsed[p]&&a.isEmpty)return e.cM(`No line item for the element #${l.id}… collapsing.`),void(0,i.wo)(l);if(this.slotsRenderedEvents.push(a),a.lineItemId||a.creativeId||!a.isEmpty){e.cM(`Rendered ad for element #${l.id} [line item #${a.lineItemId}]`),e.cM(a);var o=l.parentElement;if(o.classList.contains(“js-zone-container”)){switch((0,i.cf)(o),r){case”dfp-tlb”:this.opt.tlb_position===t.Above?o.classList.add(“mb8”):o.classList.add(“mt16″);break;case”dfp-tag”:o.classList.add(“mb8″);break;case”dfp-msb”:o.classList.add(“mt16″);break;case”dfp-mlb”:case”dfp-smlb”:case”dfp-bmlb”:o.classList.add(“my8″);break;case”dfp-isb”:o.classList.add(“mt24″);break;case”dfp-m-aq”:o.classList.add(“my12”),o.classList.add(“mx-auto”)}(0,i.$Z)(o),(0,i.$Z)(l)}else e.cM(`No ad for element #${l.id}, collapsing`),e.cM(a),(0,i.wo)(l)}}catch(e){this.stalled(“e=1”)}}stalled(e){(new Image).src=`https://${this.clc_options.h}/stalled.gif?${e}`}defineSlot(t,a){“dfp-isb”===t&&(e.cM(“-> targeting – Sidebar: Inline”),a.pubads().setTargeting(“Sidebar”,[“Inline”])),”dfp-tsb”===t&&(e.cM(“-> targeting – Sidebar: Right”),a.pubads().setTargeting(“Sidebar”,[“Right”]));const{path:i,sizes:o,zone:r}=(0,s.Z7)(t);e.cM(`Defining slot for ${t}: ${i}, sizes: ${JSON.stringify(o)}`),a.defineSlot(i,o,t).addService(a.pubads())}importGptLibrary(){this.gptImported||(this.gptImported=!0,void 0===this.opt.targeting_consent||this.opt.targeting_consent?(0,i.Gx)(“https://securepubads.g.doubleclick.net/tag/js/gpt.js”):(0,i.Gx)(“https://pagead2.googlesyndication.com/tag/js/gpt.js”))}isGptReady(){return”undefined”!=typeof googletag&&!!googletag.apiReady}initGpt(){this.isGptReady()||(window.googletag={cmd:(0,i.QZ)(()=>this.importGptLibrary())})}initDebugPanel(t,a){e.cM(“initDebugPanel”),e.cM(“Not showing debug panel”)}}})()})();]]>

Your privacy

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

 

Source

Leave a Reply

Your email address will not be published. Required fields are marked *