SmartSDR v3.9.18 and the SmartSDR v3.9.18 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.
Use of TCP/IP For TX REQ Interlocks: Interlock ID Problem
I want to use the “in motion” relay from a SteppIR SDA-100 controller to “lockout” my Flex TX.
My preference is to use the Flex API Software “Ethernet Interlock” to provide the “TX REQ” inputs. I prefer to use the API commands versus hardwire to the RCA jack.
I found the commands in the Flex API Wiki, but am having problems getting the correct “interlock ID” into the “interlock ready” and “interlock disable” commands.
First I issue the “interlock create” command:
CC21|interlock create type=ANT model=SDA100 serial=1234-5678 valid_antennas=ANT1
And I receive the response:
R0|50001000|
Next, I issue the “interlock ready” command:
C24|interlock ready 50001000
Then, and here is the problem, I receive the following response:
R24|5000008D|Invalid interlock ID
Help......apparently, I have the incorrect “interlock ID”, but I cannot figure out why?
Alan
WA9WUD
Answers
-
Alan,
I can't give you any details on how this should work but the 50001000 response to your initial command means SL_RESP_UNKNOWN, basically the radio didn't understand your command. My guess is that the format of your command is somehow incorrect.
0 -
I have a utility program that I wrote for use on an Apple Mac. When I use it to send your command, I get the same result. I tried a few variations looking for some better result. I finally tried the example I found in the Flex API Wiki ("interlock create type=amp name=KZX-2500 serial=111-2500-111 valid_antennas=ANT1,ANT2")and that received a correct reply, "Rnnn|0|1" where nnn is the sequence number of the command I sent, the zero indicates the command was accepted without error and the one is the number of the interlock created.
Attached is a picture of the commands I tried and their responses.
1 -
Doug
Thanks. I tried the WIKI example as you suggest, but I think I got the same response as before.
I will try again in xAPI Tester, but first, how do I stop the constant "scrolling" of everything the Flex Server is Sending out? I just want to see the command and the response, like in. your screenshot.
Alan0 -
And, the xAPI question;
I will try again in xAPI Tester, but first, how do I stop the constant "scrolling" of everything the Flex Server is Sending out? I just want to see the command and the response, like in. your screenshot.
0 -
I'm not sure I understand your question. In my case, no additional commands were being issued to the radio and therefore no replies were being received. It may be that you are seeing ping replies, there is a checkbox on xAPITester that when checked will ignore those.
Also I'm using a version that I have not (yet) pushed to Github. Send me an email (it's on Githib (make sure you are on my new Github, https://github.com/K3TZR. I'll try to help.0 -
Thanks to Doug for helping me get the correct syntax for the command.
Alan
WA9WUD0 -
Could you please document the correct syntax here Alan if it is relatively easy for you do to so? Thank you.0
-
1
Leave a Comment
Categories
- All Categories
- 325 Community Topics
- 2.1K New Ideas
- 590 The Flea Market
- 7.8K Software
- 6.2K SmartSDR for Windows
- 165 SmartSDR for Maestro and M models
- 394 SmartSDR for Mac
- 260 SmartSDR for iOS
- 246 SmartSDR CAT
- 178 DAX
- 368 SmartSDR API
- 9K Radios and Accessories
- 14 Aurora
- 150 FLEX-8000 Signature Series
- 7.1K FLEX-6000 Signature Series
- 906 Maestro
- 50 FlexControl
- 854 FLEX Series (Legacy) Radios
- 865 Genius Products
- 444 Power Genius XL Amplifier
- 307 Tuner Genius XL
- 114 Antenna Genius
- 273 Shack Infrastructure
- 193 Networking
- 437 Remote Operation (SmartLink)
- 135 Contesting
- 715 Peripherals & Station Integration
- 135 Amateur Radio Interests
- 938 Third-Party Software