SmartSDR v3.7.4 and the SmartSDR v3.7.4 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
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
- 279 Community Topics
- 2.1K New Ideas
- 520 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 143 SmartSDR for Maestro and M models
- 349 SmartSDR for Mac
- 247 SmartSDR for iOS
- 228 SmartSDR CAT
- 168 DAX
- 350 SmartSDR API
- 8.7K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 835 Maestro
- 43 FlexControl
- 842 FLEX Series (Legacy) Radios
- 786 Genius Products
- 413 Power Genius XL Amplifier
- 274 Tuner Genius XL
- 99 Antenna Genius
- 237 Shack Infrastructure
- 161 Networking
- 397 Remote Operation (SmartLink)
- 124 Contesting
- 617 Peripherals & Station Integration
- 122 Amateur Radio Interests
- 855 Third-Party Software