开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Moderated Re: Trying to read things from Flex 3000 using CAT commands

 

开云体育

Maybe an email to ke9ns and ask him?

73
Dave wo2x


On Feb 27, 2021, at 9:40 PM, Charlie Rubenstein <charlier@...> wrote:

?It's currently going thru a TCP port to a "TCP CAT Server" in PowerSDR. I don't know how I can adjust it's baud rate.

Charlie KB8CR


Moderated Re: Trying to read things from Flex 3000 using CAT commands

 

It's currently going thru a TCP port to a "TCP CAT Server" in PowerSDR. I don't know how I can adjust it's baud rate.

Charlie KB8CR


Moderated Re: Trying to read things from Flex 3000 using CAT commands

 

开云体育

You could use a USB crossover cable to go from the Pi to PC. Then use a serial request Node on the Pi and in PowerSDR you choose the com port the cable creates.?

Another thing to check, can you increase the baud rate you are using now?

73
Dave wo2x

Sent from my waxed string and tin cans.?

On Feb 27, 2021, at 8:52 PM, Charlie Rubenstein <charlier@...> wrote:

?I uploaded v.0.2 of the Flex 3000 flow. I finally (after a couple of ridiculously late nights) get most of the bugs out.?

What I can't do still is to send commands to the radio through the same TCP serial connection as the polling I'm doing now.
It seems to ignore the commands. I guess it's just too much to ask of the one connection.....That's why I thought about running NodeRed?ON the PC that runs PowerSDR. Then, I could use a virtual serial port, and PowerSDR allows for several COM port connections to it, that usually work FB. But alas I'm having problems getting NodeRed to run on the PC. It runs, but won't display the dashboard to a web browser.?

Here's what it looks like now:
<dummyfile.0.part>


Charlie KB8CR


Re: Newbie Programming Question

 

开云体育

Hi Steve

Welcome aboard!

The people on here have done a lot of great things with Node Red.

?It is an easy was to integrate software, hardware, and Internet services together! (That is from the Node Red description on node red.org)

73
Dave wo2x


On Feb 27, 2021, at 7:35 PM, Steve Nance <snance@...> wrote:

?Thanks Alan.
--
Steve - K5FR


Moderated Re: Trying to read things from Flex 3000 using CAT commands

 

I uploaded v.0.2 of the Flex 3000 flow. I finally (after a couple of ridiculously late nights) get most of the bugs out.?

What I can't do still is to send commands to the radio through the same TCP serial connection as the polling I'm doing now.
It seems to ignore the commands. I guess it's just too much to ask of the one connection.....That's why I thought about running NodeRed?ON the PC that runs PowerSDR. Then, I could use a virtual serial port, and PowerSDR allows for several COM port connections to it, that usually work FB. But alas I'm having problems getting NodeRed to run on the PC. It runs, but won't display the dashboard to a web browser.?

Here's what it looks like now:


Charlie KB8CR


Re: Newbie Programming Question

 

Thanks Alan.
--
Steve - K5FR


Re: Newbie Programming Question

 

The Node-Red website has excellent education/reference documentation.



Alan
WA9WUD


Newbie Programming Question

 

While I've done a lot of Windows programming I'm new to Node-Red and its programming languages specifically Node.js and JSON. However, I do have some background with Java Script. I would appreciate some guidance on which reference books would be good ones to add to the library.

TIA and 73,
Steve - K5FR


File //KB8CR&#39;s Flows/Flex3000v02.json updated #file-notice

[email protected] Notification
 

The following files have been updated in the Files area of the [email protected] group.

By: Charlie Rubenstein <charlier@...>

Description:
This version zeros the meters on shutdown, and fixes the problem with TX meters retaining last setting on RX. Also some improvements on the dashboard, and bug fixes where Errors were being reported by NodeRed. Most of this should work on the Flex5000. On the Flex 1500, you will not be able to use the swr metering, as the radio does not have the hardware Charlie KB8CR


File /Webswitch Remoterig 1216H.json uploaded #file-notice

[email protected] Notification
 

The following files have been uploaded to the Files area of the [email protected] group.

By: Simon Ravni? <s53zo@...>

Description:
Remoterig.com Webswitch 1216H Flow has built in logic to turn Flex remote off and 45 sec after that kills 13,8V power supply. TNX WO2X for guidance


Re: File /Flex3000Flow.rtf uploaded #file-notice

 

Dave:

OK, I already had changed the IP for the radio in the FlexRadio flow, but I hadn't put the IP in the ping node. Now it is returning FALSE, so that function node I made works again.? Now I know TWO ways to zero the meters. :-)?

Thanks !!

Charlie


Re: File /Flex3000Flow.rtf uploaded #file-notice

 

开云体育

Make sure you use both my VITA49 and FlexRadio v6 flows. They are in a single zip file. ?Read the comment nodes in both. You need to set the IP to the radio IP in the TCP FlexRadio flow and the ping node in the VITA49 flow. Start Node Red first, then connect the client.

Dave wo2x

On Feb 26, 2021, at 10:57 PM, Charlie Rubenstein <charlier@...> wrote:

?Well.....at least it worked LAST night.....tonight the ClientStatus is NULL....don't know why. I even went to the Flex Radio flow of yours and put a debug node on the output of?? and it was nothing coming out of it.

BUT, I found another way......I found that the json string that comes from FRStack sends a "0" for the S-Meter when the radio is disconnected.
So, I made a switch that only passes the S-meter number when the number is < 0 (port 1), and if the number is equal to "0" (port2) I had a change node set the payload to -120 (which zeros the meter).? It's working that way.

Charlie KB8CR


Re: File /Flex3000Flow.rtf uploaded #file-notice

 

Well.....at least it worked LAST night.....tonight the ClientStatus is NULL....don't know why. I even went to the Flex Radio flow of yours and put a debug node on the output of?? and it was nothing coming out of it.

BUT, I found another way......I found that the json string that comes from FRStack sends a "0" for the S-Meter when the radio is disconnected.
So, I made a switch that only passes the S-meter number when the number is < 0 (port 1), and if the number is equal to "0" (port2) I had a change node set the payload to -120 (which zeros the meter).? It's working that way.

Charlie KB8CR


Re: File /Flex3000Flow.rtf uploaded #file-notice

 

开云体育

There you go!
That works.

Fun, isn’t it?

73
Dave wo2x


On Feb 26, 2021, at 10:23 PM, Charlie Rubenstein <charlier@...> wrote:

?David:

Last night (on the 6400's flow) I had the S-meter zeroing when no one was connected to the 6400 just fine. I used this Function statement to set the meter to -120dBm if the "ClientStatus" was not 1. See what I used below:
<dummyfile.0.part>

It was working like a charm yesterday.

Tonight, when I disconnected from the rig, the S-meter pegged again.? So, I went to the Flex v6 flow to see what the output of this node was
<dummyfile.1.part>


(I think it should return a "0" if no client is connected) but there is NO payload returned. Any idea what could have changed?

Charlie KB8CR


Re: File /Flex3000Flow.rtf uploaded #file-notice

 

David:

Last night (on the 6400's flow) I had the S-meter zeroing when no one was connected to the 6400 just fine. I used this Function statement to set the meter to -120dBm if the "ClientStatus" was not 1. See what I used below:

It was working like a charm yesterday.

Tonight, when I disconnected from the rig, the S-meter pegged again.? So, I went to the Flex v6 flow to see what the output of this node was


(I think it should return a "0" if no client is connected) but there is NO payload returned. Any idea what could have changed?

Charlie KB8CR


Moderated Re: Trying to read things from Flex 3000 using CAT commands

 

I *did* get the 6400's dashboard pretty well done.?



Most of the problems Im having with the 3000 is that the serial connection over TCP only sends the responses every second or so, which causes problems using the returns for gating other things.

I'll keep at it. It is a good mental exercise. I am getting better, but still lots to learn.

73 de Charlie KB8CR


Moderated Re: Trying to read things from Flex 3000 using CAT commands

 

开云体育

Ok we’ll do it sometime this week. I am working on my Node Red presentation for the QSO Today virtual ham fest in a couple of weeks. Need to get it finished.?

73
Dave wo2x

Sent from my waxed string and tin cans.?

On Feb 25, 2021, at 10:34 PM, Charlie Rubenstein <charlier@...> wrote:

?Dave:

I'd love to do that sometime this weekend if you have time. I've been playing with this all day.

Charlie


Moderated Re: Trying to read things from Flex 3000 using CAT commands

 

Dave:

I'd love to do that sometime this weekend if you have time. I've been playing with this all day.

Charlie


Moderated Re: Trying to read things from Flex 3000 using CAT commands

 

So the returned query told the story of an approx. 20? year old female that went to a store and?
used the phone. She left a 3 yr old child in the store?asking the owner's girlfriend to watch the child.?
and left and never came back.? ( Yes, my wife is Chinese)..

Smart radio, must be connected to the?internet
Love it..

On Thu, Feb 25, 2021 at 7:20 PM Charlie Rubenstein <charlier@...> wrote:
Alan:

That is what I was trying to say......that THIS:


? ? ?EQUALS THIS ==>? ?

to me.... ha ha ha.??

I'm trying to see what goes inside of the nodes when you double click on them.?

Charlie KB8CR?


Moderated Re: Trying to read things from Flex 3000 using CAT commands

 

开云体育

Charlie

Select and copy the JSON code I sent you.?

Next in your ?Node Red, select “Import” on the pull down, right top corner. ? In the pink space, paste the code. ?Deploy. ?

Now, the nodes will show up on your Node-Red editor page. ? Now you can see inside the nodes.?

Alan


On Feb 25, 2021, at 8:20 PM, Charlie Rubenstein <charlier@...> wrote:

?Alan:

That is what I was trying to say......that THIS:


? ? ?EQUALS THIS ==>? ?

to me.... ha ha ha.??

I'm trying to see what goes inside of the nodes when you double click on them.?

Charlie KB8CR?