SmartSDR v3.8.20 and the SmartSDR v3.8.20 Release Notes
SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
Power Genius XL Utility v3.8.9 and the Power Genius XL Release Notes v3.8.9
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
The Tune button and the API ....
Sorry if I have missed the obvious, however is there a means to determine if the 6400 is in Tune rather than TX mode?
73
Many thanks
Andrew G1RVD
Best Answer
-
Hi Andrew, Yes!
Look in the G09_TransmitEvents.ino file in Enzo's library:
In my case, I am just using the fact that the Tune button in SmartSDR was pressed to take my TeensyMaestro out of screen saver mode.
0
Answers
-
Ah ... Thank you Len.
Also ... thank you for your efforts to keep the Library alive.
I've ported it to an Arduino GIGA with only one change necessary. The GIGA and an external W5500 Ethernet board, didn't like having interrupts suspended in the int FlexRig::send(String cmd, int parserId) function in FlexRigTeensy.cpp around line 108.
Otherwise, although I'm still learning my way around, evidenced by my question, it seems to work well.
73
Andrew0 -
I'm glad it is working for you Andrew! What are you building with your GIGA?
0 -
Hi Len,
I'm building a SSPA using the Ampleon ART2K using W6QPL/DJ0ABR's designs as inspiration. Plus a Vacuum Cap & roller inductor auto ATU, driving an antenna switcher. The LPF is driven from the Flex API (seems to be working).
Could I ask you another question: What's the best way to determine that the Flex has entered RX mode, i.e. stopped TX or Tuning?
73 Andrew
1 -
Hi Andrew, It's not intuitive, but look in G08_InterlockEvents.ini for the state_event:
That is the only one I use, so I commented out the rest to save space.
In the onInterlock_state() routine, I test for the word "TRANSMITTING" to determine if it is transmitting for any reason, including the tune button. There are several other states, but I can't remember what they all are now. A Serial.print(fRig.interlock.state) statement will show you the states that the radio goes through as it transitions from RX to TX and back. For most purposes, just testing fRig.interlock.state for equal or not equal to "TRANSMITTING" should suffice.
In this example, I am only using the transmitting state to turn on and off a little red circle to annunciate transmit status on the screen.
0 -
I'm building a SSPA using the Ampleon ART2K using W6QPL/DJ0ABR's designs as inspiration. Plus a Vacuum Cap & roller inductor auto ATU, driving an antenna switcher. The LPF is driven from the Flex API (seems to be working).
Wow, that is an ambitious project! You won't likely run out of IO pins with that Giga board!
0 -
Hi Len,
The interesting feature of the GIGA is dual cores. I have the smaller (M4) core sensing real time signals like the power meters and stepper motor POTs (& controlling the steppers), and the larger M7 core handing the slower communications tasks (mqtt to node-red and CAN to the power supply, etc).
It's not working yet … let's see 😀
Thank you for your tips. They save an awful lot of time.
73 Andrew
0 -
The Flex seems to send READY when coming out of TX.
0 -
Ah, that's right. I can't remember why that did not work well for me. I found that the TRANSMITTING message was the one for my needs.
0
Leave a Comment
Categories
- All Categories
- 260 Community Topics
- 2.1K New Ideas
- 538 The Flea Market
- 7.6K Software
- 6K SmartSDR for Windows
- 139 SmartSDR for Maestro and M models
- 368 SmartSDR for Mac
- 242 SmartSDR for iOS
- 226 SmartSDR CAT
- 175 DAX
- 345 SmartSDR API
- 8.8K Radios and Accessories
- 6.9K FLEX-6000 Signature Series
- 44 FLEX-8000 Signature Series
- 859 Maestro
- 45 FlexControl
- 849 FLEX Series (Legacy) Radios
- 807 Genius Products
- 424 Power Genius XL Amplifier
- 262 Tuner Genius XL
- 87 Antenna Genius
- 227 Shack Infrastructure
- 153 Networking
- 377 Remote Operation (SmartLink)
- 130 Contesting
- 639 Peripherals & Station Integration
- 116 Amateur Radio Interests
- 878 Third-Party Software