Welcome to the new FlexRadio Community! Please review the new Community Rules and other important new Community information on the Message Board.
Need the latest SmartSDR, Power Genius, Tuner Genius and Antenna Genius Software?
SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
If you are having a problem, please refer to the product documentation or check the Help Center for known solutions.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
PA Temp readings
James Whiteway
Member
Somewhere I read a post by Steve that detailed the changes in Flexlib api that corrected the value returned from the api when reading the PA temp. Try as I might, I cannot find that post!
So, I'm hoping someone, (Steve maybe) has the correct method to read the meter with v1.4 of the api. Currently, using my testbed program, I get a reading of 5,180 degrees F ! Of course, that's using a workaround that was posted in the API section that corrected erroneous readings that the previous version of the api returned.
Any leads?
:-)
james
WD5GWY
So, I'm hoping someone, (Steve maybe) has the correct method to read the meter with v1.4 of the api. Currently, using my testbed program, I get a reading of 5,180 degrees F ! Of course, that's using a workaround that was posted in the API section that corrected erroneous readings that the previous version of the api returned.
Any leads?
:-)
james
WD5GWY
0
Answers
-
Hi James: The value returned to your method will now be in degrees C. No need for multiplier. I have not done much to my flex app but will definitely look at that wiki. 73, Tom K1FR1
-
Here is what I use - all I had to do was comment out the *64.0f multiplier:
private void radio_PATempDataReady(float data) {
Console.WriteLine(",,,,,,,,,,,PA Temp data event handler fired");
float PA_temp_data = data;
//PA_temp_data *= 64.0f;
PA_temp_data = (PA_temp_data * 9.0f / 5.0f) + 32.0f;
textPATemp.Text = String.Format("{0:f1}", PA_temp_data) + " F";
}
1 -
works like a champ! So nice to have folks here that are willing to help.
james
WD5GWY
0 -
Just for your reference, here's what I wrote for temp James:
private void OnPaTempDataReady(float data) {
//
// Need a multiplier to correct the value on 1.3.8
//
if (data < 1)
{
data *= 64;
}
PaTempTextBox.Text = data.ToString("###0.00");
//
// At 70, fan goes to its highest setting according to Eric
if (data >= 70)
{
//
// The radio shuts down at 90! So give 10 degrees warning.
//
PaTempTextBox.ForeColor = data >= 80 ? Color.Red : Color.Yellow;
}
}1 -
Ohhhhhhhh, I like that! I'm assuming you're using Celsius instead of Fahrenheit for readout. So, I am thinking of making a selection where the user (me for now) can choose between degrees Celsius and degrees Fahrenheit. I think I can actually do that one !! hehehe
Thanks again for posting Peter. Definitely adding this to the test app and my code snippet collection.
james
WD5GWY
1
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 535 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 360 SmartSDR for Mac
- 249 SmartSDR for iOS
- 231 SmartSDR CAT
- 172 DAX
- 352 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 26 FLEX-8000 Signature Series
- 850 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 796 Genius Products
- 416 Power Genius XL Amplifier
- 277 Tuner Genius XL
- 103 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 631 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 870 Third-Party Software