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.
CWX CharSent Event Timing Question
K9DUR
Member ✭✭
Does the CharSent event fire when CWX starts sending a character or when it finishes?
It appears to fire when the character starts sending. I need to be able to determine when a character has finished sending.
73, Ray, K9DUR
0
Answers
-
The OnCharSent event is triggered by a status message from the radio saying it was sent. My guess is, it means the character has left the building. Otherwise it should be charAck that the radio received it from the user.
It's probably pretty easy to test, if you can trap the event, better yet, breakpoint the event sink, and see if the transmit light has come on and gone off before the breakpoint is hit or, what I suspect is unlikely, hasn't come on at all yet.
Doesn't CWX strikeout the character as it is sent. Yeah, I give the odds 99% it left the building. But you'd have to talk to someone familiar with the radio programming to be 100% certain.
0 -
I had just gotten home from the gym. In the shower a better way came to me.
15:42:31.024 [pool-2-thread-3] - sending cmd C24|cwx send "kz1f"
15:42:31.368 [pool-2-thread-3] - received reply R24|0|8
15:42:31.369 [pool-2-thread-3] - received status S0|interlock state=PTT_REQUESTED
15:42:31.369 [pool-2-thread-3] - received status S0|interlock state=TRANSMITTING reason= source=SW
15:42:31.969 [pool-2-thread-3] - received status S0|cwx sent=80 -
Forget this whole thread. It does indeed fire after the character has been completely sent.
I found a bug elsewhere in my code that was making it look like it was firing prematurely.
73, Ray, K9DUR
0 -
FWIW, Ray, that was kind of a fun exercise. But what's amazing, and somewhat to your point as far as timing, notice the times from initially sending the request.
350ms from request to radio acknowledgement of the request
1ms for the radio to initiate the transmission, note requesting ptt.
<1ms to transition to transmit mode
300ms to get acknowledgement processed of the first character sent.
So, yes, on the event sink, the character has, in fact, left the building.
0 -
You could request, as it is your thread, that Tim mark it answered.
0
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