Comments (6)
Yes indeed LMS_GetChipTemperature seems to do the job. I remember now why I haven't included the temperature reading in the plugins GUI right away... This is a problem with multiple instances pertaining to the same physical device since we do not want the temperature test to be called all over the place but only once every n seconds.
It is more complex than it seems to centralize the temperature checking among the plugin instances that pertain to the same physical device. It should probably be done using the device "buddies" and one of the "buddies" has to take the leadership to be the one that polls the temperature. Feasible but not trivial.
from sdrangel.
This sounds like the correct way to do it. I will look at the buddies and see if I can figure it out and try to contribute somehow.
I noticed in the LimeSuiteGui that there are two different places that display the temperature. And they report slightly different numbers.
There is only one sensor listed in the BOM but maybe the FPGA has a temp sensor also or some other part on the board. Also possible that they grab the temp and calculate it differently for each of the displays in LimeSuiteGui. This would not surprise
Here I go coming up with more features...would be a nice to have thing to make the display flash or something annoying when the temps approach critical. These chips and this board is not meant to handle very high temps at all. Different parts have different critical temps but I think I read 70C and I've seen my board report near 60C without doing a lot.
from sdrangel.
One way to make things not too difficult is to elect a leader among the buddies and this instance will perform the temperature reading then post a message to all its buddies. This leader feature can be made generic.
The election takes place in the mainwindow.cpp where the source and sink instances are created or deleted.
- When adding a sink or source, if it is the only instance then it is made the leader
- When adding a sink or source, if there are any buddies then the new instance cannot be a leader
- When removing a sink or source, if it is not the leader or it is alone then nothing more happens
- When removing a sink or source, if it is the leader and it had buddies then the first buddy found is elected the leader
from sdrangel.
Now in dev branch. It's a simple text display on the last line (status) next to the FIFO gauge. I don't think we need something overly big and complex. Mine is stable ~50C. I have heatsinks and aluminium enclosure but no fan.
from sdrangel.
Implemented in v3.5.1
from sdrangel.
Nice, thanks a lot! Haven't had a chance to try it out yet.
from sdrangel.
Related Issues (20)
- Hey It NOT ISSUES But i need colormap Add cubehelix HOT 1
- qtgamepad not exist in QT6 HOT 6
- Ability to pre-cache map data (so that you can see the ADB-S map while offline) HOT 1
- 7.21.4 fails to open W11 x64. HOT 2
- Sdrangel doesn't see Hackrf on Mac HOT 2
- SDRAngel stutters 30 seconds after being put to background on Android HOT 2
- SDRAngel stops receiving after 7 hours on Android HOT 2
- Switching between software using Plutosdr HOT 1
- Cannot load library & Could not start sample source HOT 3
- SDRAngel loses connection to SDR-dongle when plugging/unplugging AC-adapter on android HOT 1
- Broadcast FM modulator plugin HOT 4
- Raspberry PI or sdarngel
- ADSB, no map display
- Build fails with `datvideorender.cpp:282:46: error: ‘AVCodecContext’ {aka ‘struct AVCodecContext’} has no member named ‘channels’`; and warning `AutoUic: /var/cache/makepkg/build/sdrangel-git/src/sdrangel/plugins/channelrx/demodft8/ft8demodgui.ui: Warning: The name 'verticalLayout_2' (QVBoxLayout) is already in use, defaulting to 'verticalLayout_21'`. HOT 4
- Windows 11 HOT 3
- server from ubuntu
- Unable to open software for nooelec SDR V5 on iMac. HOT 12
- SDRangel crashes APT
- Converting special characters in pocsag logger HOT 1
- ATV Crashes SDRangel HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdrangel.