¿ªÔÆÌåÓý

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

Re: LP100A SWR and Power

 

That did it Dave, interesting?Flow Looks like the LPA100 uses a serial connection where the WAVE node uses Ethernet??
Thanks a lot guys
73's
Bret
WX7Y


On Fri, Jul 10, 2020 at 5:17 PM David De Coons wo2x <RocketNJ@...> wrote:

I think he is referring to the string nodes.

?

From Manage Pallette search for node-red-contrib-string

?

Dave wo2x

?

From: [email protected] <[email protected]> On Behalf Of Michael Walker
Sent: Friday, July 10, 2020 6:25 PM
To: [email protected]
Subject: Re: [nodered-hamradio] LP100A SWR and Power

?

Hi Brett

?

Those must be from the Dashboard.? If you look manage palette?and search for Dashboard, you might have to install it.

?

Is that the one?

?

Mike

?

?

On Fri, Jul 10, 2020 at 6:12 PM Bret Mills <bret.wx7y@...> wrote:

Hi Michael, Hay looking at your Node-Red Flow for the LPA100 and I don't have the NODE installed I guess for the "Power" and "SWR" could you fill me in on those Please

Thanks

Bret

WX7Y

?

?

On Fri, Jul 10, 2020 at 8:02 AM Michael Walker <va3mw@...> wrote:

I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.

?

I took out the Gate since the LP100A handles clearing the display nicely.

?

I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??

?

Still a play in progress!? :)

?

Mike

?

?

?

image.png

?

[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡­\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡­ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡­\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

?

On Fri, Jul 10, 2020 at 7:09 AM David De Coons <RocketNJ@...> wrote:

Interesting.?

?

I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.

?

Mike, can you post the code?

?

I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.

?

Dave wo2x



On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:

?

I'm not sure if it is being simple or lazy.

?

Mike

?

?

On Thu, Jul 9, 2020 at 4:36 PM Alan Blind <a.alan.blind@...> wrote:

Mike; Nice.

?

I like your simplicity.....not one of my skill sets.

?

Alan

WA9WUD

?

?

On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote:

I blows me away when I have to add new code for a new device.

?

Here is the flow for the LP100A and I even found the STRING node that made this so simple

?

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

?

Mike va3mw

?

?

<image.png>

?


Re: LP100A SWR and Power

 

¿ªÔÆÌåÓý

I think he is referring to the string nodes.

?

From Manage Pallette search for node-red-contrib-string

?

Dave wo2x

?

From: [email protected] <[email protected]> On Behalf Of Michael Walker
Sent: Friday, July 10, 2020 6:25 PM
To: [email protected]
Subject: Re: [nodered-hamradio] LP100A SWR and Power

?

Hi Brett

?

Those must be from the Dashboard.? If you look manage palette?and search for Dashboard, you might have to install it.

?

Is that the one?

?

Mike

?

?

On Fri, Jul 10, 2020 at 6:12 PM Bret Mills <bret.wx7y@...> wrote:

Hi Michael, Hay looking at your Node-Red Flow for the LPA100 and I don't have the NODE installed I guess for the "Power" and "SWR" could you fill me in on those Please

Thanks

Bret

WX7Y

?

?

On Fri, Jul 10, 2020 at 8:02 AM Michael Walker <va3mw@...> wrote:

I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.

?

I took out the Gate since the LP100A handles clearing the display nicely.

?

I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??

?

Still a play in progress!? :)

?

Mike

?

?

?

image.png

?

[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡­\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡­ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡­\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

?

On Fri, Jul 10, 2020 at 7:09 AM David De Coons <RocketNJ@...> wrote:

Interesting.?

?

I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.

?

Mike, can you post the code?

?

I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.

?

Dave wo2x



On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:

?

I'm not sure if it is being simple or lazy.

?

Mike

?

?

On Thu, Jul 9, 2020 at 4:36 PM Alan Blind <a.alan.blind@...> wrote:

Mike; Nice.

?

I like your simplicity.....not one of my skill sets.

?

Alan

WA9WUD

?

?

On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote:

I blows me away when I have to add new code for a new device.

?

Here is the flow for the LP100A and I even found the STRING node that made this so simple

?

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

?

Mike va3mw

?

?

<image.png>

?


Re: LP100A SWR and Power

 

Hi Brett

Those must be from the Dashboard.? If you look manage palette?and search for Dashboard, you might have to install it.

Is that the one?

Mike


On Fri, Jul 10, 2020 at 6:12 PM Bret Mills <bret.wx7y@...> wrote:
Hi Michael, Hay looking at your Node-Red Flow for the LPA100 and I don't have the NODE installed I guess for the "Power" and "SWR" could you fill me in on those Please
Thanks
Bret
WX7Y


On Fri, Jul 10, 2020 at 8:02 AM Michael Walker <va3mw@...> wrote:
I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.

I took out the Gate since the LP100A handles clearing the display nicely.

I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??

Still a play in progress!? :)

Mike



image.png

[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡­\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡­ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡­\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

On Fri, Jul 10, 2020 at 7:09 AM David De Coons <RocketNJ@...> wrote:
Interesting.?

I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.

Mike, can you post the code?

I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.

Dave wo2x


On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:

?
I'm not sure if it is being simple or lazy.

Mike


On Thu, Jul 9, 2020 at 4:36 PM Alan Blind <a.alan.blind@...> wrote:
Mike; Nice.

I like your simplicity.....not one of my skill sets.

Alan
WA9WUD


On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote:
I blows me away when I have to add new code for a new device.

Here is the flow for the LP100A and I even found the STRING node that made this so simple

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

Mike va3mw


<image.png>


Re: LP100A SWR and Power

 

Hi Michael, Hay looking at your Node-Red Flow for the LPA100 and I don't have the NODE installed I guess for the "Power" and "SWR" could you fill me in on those Please
Thanks
Bret
WX7Y


On Fri, Jul 10, 2020 at 8:02 AM Michael Walker <va3mw@...> wrote:
I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.

I took out the Gate since the LP100A handles clearing the display nicely.

I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??

Still a play in progress!? :)

Mike



image.png

[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡­\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡­ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡­\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]

On Fri, Jul 10, 2020 at 7:09 AM David De Coons <RocketNJ@...> wrote:
Interesting.?

I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.

Mike, can you post the code?

I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.

Dave wo2x


On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:

?
I'm not sure if it is being simple or lazy.

Mike


On Thu, Jul 9, 2020 at 4:36 PM Alan Blind <a.alan.blind@...> wrote:
Mike; Nice.

I like your simplicity.....not one of my skill sets.

Alan
WA9WUD


On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote:
I blows me away when I have to add new code for a new device.

Here is the flow for the LP100A and I even found the STRING node that made this so simple

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

Mike va3mw


<image.png>


Re: parsing characters after specific text in a string - ideas?

 

¿ªÔÆÌåÓý

I addition to wanting to parse x characters after a specific phrase in a string I would like to be able to do the same with a buffer stream.

?

Thanks

Dave wo2x

?

?

Sent from for Windows 10

?

From: David De Coons wo2x via groups.io
Sent: Friday, July 10, 2020 11:06 AM
To: [email protected]
Subject: [nodered-hamradio] parsing characters after specific text in a string - ideas?

?

Hi All,

hoping the collective brainpower of the group may have a solution.
Sometimes I get stuck on the simple things.


I need to work on displaying TX power setting for current band and looking for a way to parse specific characters after a particular part of a string.

Let¡¯s say the string coming in is afgfadaefdvdvsdsscdwqout23fdhhgfgsjdgfsdfiop

I want to parse the 23 after out. So need to look at the string for out then parse the next two characters after out. Any ideas? Sometimes I get stuck on the easiest things.

This will help with the ability to reliably parse all meter data out of the Flex radio.?

73
Dave wo2x

?


Re: parsing characters after specific text in a string - ideas?

 

¿ªÔÆÌåÓý

I do have the string node installed. I probably should have also been a little more specific. If I send the UDP listener to buffer I get a hex stream Meter 16 shows up as 00 16 d ce

?

I want to parse the c de then convert to base 10 and divide by 240 to result in 13.725 volts.

?

The meter stream is not consistent in length or position as some meters update quicker than others.

?

73

Dave wo2x

?

?

Sent from for Windows 10

?

From: Michael Walker
Sent: Friday, July 10, 2020 11:30 AM
To: [email protected]
Subject: Re: [nodered-hamradio] parsing characters after specific text in a string - ideas?

?

Dave

?

Did you try the string node?

?

?

?

It is not installed by default.? ? It has about 20 parsing options.

?

Mike??

?

On Fri, Jul 10, 2020 at 11:06 AM David De Coons wo2x <RocketNJ@...> wrote:

Hi All,

hoping the collective brainpower of the group may have a solution.
Sometimes I get stuck on the simple things.


I need to work on displaying TX power setting for current band and looking for a way to parse specific characters after a particular part of a string.

Let¡¯s say the string coming in is afgfadaefdvdvsdsscdwqout23fdhhgfgsjdgfsdfiop

I want to parse the 23 after out. So need to look at the string for out then parse the next two characters after out. Any ideas? Sometimes I get stuck on the easiest things.

This will help with the ability to reliably parse all meter data out of the Flex radio.?

73
Dave wo2x

?


Re: parsing characters after specific text in a string - ideas?

 

Dave

Did you try the string node?

?

It is not installed by default.? ? It has about 20 parsing options.

Mike??


On Fri, Jul 10, 2020 at 11:06 AM David De Coons wo2x <RocketNJ@...> wrote:
Hi All,

hoping the collective brainpower of the group may have a solution.
Sometimes I get stuck on the simple things.


I need to work on displaying TX power setting for current band and looking for a way to parse specific characters after a particular part of a string.

Let¡¯s say the string coming in is afgfadaefdvdvsdsscdwqout23fdhhgfgsjdgfsdfiop

I want to parse the 23 after out. So need to look at the string for out then parse the next two characters after out. Any ideas? Sometimes I get stuck on the easiest things.

This will help with the ability to reliably parse all meter data out of the Flex radio.
?

73
Dave wo2x


Re: LP100A SWR and Power

 

I asked Larry about how the LP100A peak reading works.? Very interesting.

This is why some peak meters don't actually catch the peak as? you don't sample at the right time.??

Mike va3mw


It determines peak power by sampling the peak voltage 100 times per second with 4X oversampling. So there are 100 samples per second, but each sample includes 4 sub-samples.

If the meter is in the peak hold mode, the number reported back is the same as the number displayed on the meter, which includes the highest reading obtained within the peak hold time. 200 ms should be fine for peak hold mode, but you could query as fast as every 10 ms if you wanted to get every sample.

Of course the sample value may or may not be the actual highest available peak, though, since the highest peak may have occurred in-between samples. The more samples, the greater the likelihood that a given peak will be registered. The LP-500, for example, samples at 20,000 samples per second in order to catch more peaks, but the processor is a generation newer.

Regards,
Larry N8LP??


parsing characters after specific text in a string - ideas?

 

Hi All,

hoping the collective brainpower of the group may have a solution.
Sometimes I get stuck on the simple things.


I need to work on displaying TX power setting for current band and looking for a way to parse specific characters after a particular part of a string.

Let¡¯s say the string coming in is afgfadaefdvdvsdsscdwqout23fdhhgfgsjdgfsdfiop

I want to parse the 23 after out. So need to look at the string for out then parse the next two characters after out. Any ideas? Sometimes I get stuck on the easiest things.

This will help with the ability to reliably parse all meter data out of the Flex radio.
?

73
Dave wo2x


LCD Display

 

Has anyone played with this yet?

?

?
image.png

Mike va3mw


Re: LP100A SWR and Power

 

I'm still working on it.? The key was making sure I don't corrupt the read of the initial data.? I'm adding more display info.

I took out the Gate since the LP100A handles clearing the display nicely.

I'm reading every 100ms to try to catch a nice Peak value, but I am checking with Telepost to see if I actually need to do that or if the LP100A actually holds peak from the last x-milliseconds.??

Still a play in progress!? :)

Mike



image.png

[{"id":"6bf0f43f.f0ad1c","type":"tab","label":"LP-100A","disabled":false,"info":""},{"id":"98aa4756.b21c48","type":"serial in","z":"6bf0f43f.f0ad1c","name":"LP100A In","serial":"8c8041f4.047d2","x":200,"y":340,"wires":[["ada0955c.a21b08","1bbc73c5.a5115c","8b20a0ee.cc4e2"]],"info":"Under normal operating conditions, if the W2 is sent either an \"I\" or an \"i\", it returns a string of information about the state of\nthe Sensors, the Range settings, some internal settings, and which Sensor is active. If, however, the W2 is in the high SWR\nalarm mode (all SWR LED's flashing), sending the \"I\" command returns only \"A!;\"\n\nByte Property\n1 \"I\" or \"i\" (echoes back what you sent).\n2 Active Sensor (1 or 2) matching the \"S1/S2\" LED lit.\n3 Range Level (1=2W, 2=20W, 3=200W, 4=2KW) of the Active Sensor.\n4 AutoRange status (0=off, 1=on) for Active Sensor.\n5 Sensor type (0=200W, 1=2KW, 2=VHF) of Active Sensor.\n6 Sensor's internal attenuator status (0=off, 1=on) of Active Sensor.\n7 W2 LED display state (0=off, 1=on).\n8 Active Sensor (0=none, 1=S1, 2=S2).\n9 Sensor1 Range Control (0=manual, 1=auto).\n10 Sensor1 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\n11 Sensor2 Range Control (0=manual, 1=auto).\n12 Sensor2 Range Level (0=no sensor, 1=2W, 2=20W, 3=200W, 4=2KW).\nE l e c r a f t ? w w w . e l e c r a f t . c o m ? 8 3 1 - 7 6 3 - 4 2 1 1\nW"},{"id":"5587be3.fbbef4","type":"serial out","z":"6bf0f43f.f0ad1c","name":"LP100A Out","serial":"8c8041f4.047d2","x":850,"y":180,"wires":[]},{"id":"20b9631f.1a792c","type":"inject","z":"6bf0f43f.f0ad1c","name":"P Send","topic":"","payload":"P","payloadType":"str","repeat":".2","crontab":"","once":true,"onceDelay":".2","x":220,"y":240,"wires":[["5587be3.fbbef4"]]},{"id":"94416a4b.df81d8","type":"comment","z":"6bf0f43f.f0ad1c","name":"Notes for LP100A RS232","info":"* Range: Allows switching the maximum power range of the display. Choices are 25, 250, 2500W and Auto for autoranging.\n* \n* Alarm: Sets the SWR Alarm set point. Choices are Off,1.5,2.0,2.5,3.0. If the alarm on the LP-100A trips, the Alarm button turns red.\n* \n* Peak/Avg/Tune: Switches between normal and peak-hold modes. The current mode is displayed under the power reading.\n\nremote telnet facility to make a remote connection between the LP-100A and the VCP. In addition to the LP-100A VCP, you can communicate with the\nLP-100A with a terminal program or your own software using the following commands¡­\nA Increments Alarm Set Point selection\nM Increments Mode selection\nF Toggles Power Peak/Avg/Tune selection\n\n****P Poll for data. Example of response¡­ ;1457.00,49.3,005.0,2,N8LP ,0,2,61.6,1.02\n****\n\nFrom left to right, the comma separated values represent¡­\nPower, Z, Phase, SWR Alarm Set Point: 0=off, 1=1.5, 2=2.0, 3=2.5, 4=3.0, Callsign (6 digits with space padding), Power range: 0=High, 1=Mid, 2=Low,\nPeak Hold Mode: 0=Average, 1= Peak Hold, dBm, SWR","x":1410,"y":220,"wires":[]},{"id":"ada0955c.a21b08","type":"string","z":"6bf0f43f.f0ad1c","name":"Power","methods":[{"name":"between","params":[{"type":"str","value":";"},{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":320,"wires":[["862ae213.4de36","f6c3ba1e.2d34a8"]]},{"id":"1bbc73c5.a5115c","type":"string","z":"6bf0f43f.f0ad1c","name":"SWR","methods":[{"name":"getRightMost","params":[{"type":"str","value":","}]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":470,"y":380,"wires":[["70fe226e.476f7c"]]},{"id":"862ae213.4de36","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":3,"width":"5","height":"2","name":"LP100A RF PWR","label":"PGXL RF","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":0,"max":"2000","segWarn":"100","segHigh":"1500","unit":"Watts","layout":"sh","channelA":"","channelB":"","decimals":0,"animations":"soft","shape":"1","colorschema":"fixed","textoptions":"default","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":850,"y":320,"wires":[]},{"id":"e22fa6e9.3c5738","type":"ui_level","z":"6bf0f43f.f0ad1c","group":"2dbe67ac.f10de8","order":8,"width":"5","height":"2","name":"LP100A SWR","label":"SWR","colorHi":"#e60000","colorWarn":"#ff9900","colorNormal":"#00b33c","colorOff":"#595959","min":"1","max":"4","segWarn":"2.5","segHigh":"","unit":"","layout":"sh","channelA":"","channelB":"","decimals":"1","animations":"reactive","shape":"1","colorschema":"fixed","textoptions":"custom","colorText":"#eeeeee","fontLabel":"","fontValue":"","fontSmall":"","colorFromTheme":true,"x":840,"y":380,"wires":[]},{"id":"8b20a0ee.cc4e2","type":"csv","z":"6bf0f43f.f0ad1c","name":"","sep":",","hdrin":"","hdrout":"","multi":"mult","ret":"\\n","temp":"","skip":"0","strings":true,"x":470,"y":440,"wires":[[]]},{"id":"f6c3ba1e.2d34a8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"RF Power","group":"2dbe67ac.f10de8","order":2,"width":0,"height":0,"gtype":"gage","title":"RF Power","label":"units","format":"Watts","min":0,"max":"2000","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":830,"y":280,"wires":[]},{"id":"70fe226e.476f7c","type":"rbe","z":"6bf0f43f.f0ad1c","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"payload","x":640,"y":380,"wires":[["e22fa6e9.3c5738","65700f93.91d01","3b1bf053.04fc8"]]},{"id":"65700f93.91d01","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"SWR","group":"2dbe67ac.f10de8","order":7,"width":0,"height":0,"gtype":"gage","title":"SWR","label":"units","format":"","min":"1","max":"5","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":810,"y":420,"wires":[]},{"id":"3b1bf053.04fc8","type":"ui_gauge","z":"6bf0f43f.f0ad1c","name":"","order":0,"width":0,"height":0,"gtype":"gage","title":"gauge","label":"units","format":"{{value}}","min":0,"max":10,"colors":["#00B500","#E6E600","#CA3838"],"seg1":"","seg2":"","x":840,"y":520,"wires":[]},{"id":"8c8041f4.047d2","type":"serial-port","z":"","serialport":"/dev/ttyUSB0","serialbaud":"115200","databits":"8","parity":"none","stopbits":"1","waitfor":"","newline":"50","bin":"false","out":"time","addchar":"","responsetimeout":"100"},{"id":"2dbe67ac.f10de8","type":"ui_group","z":"","name":"RF Info","tab":"d6ba9a2a.f3f0d8","order":2,"disp":true,"width":"4","collapse":false},{"id":"d6ba9a2a.f3f0d8","type":"ui_tab","z":"","name":"VA3MW Shack Control","icon":"dashboard","order":1,"disabled":false,"hidden":false}]


On Fri, Jul 10, 2020 at 7:09 AM David De Coons <RocketNJ@...> wrote:
Interesting.?

I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.

Mike, can you post the code?

I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.

Dave wo2x


On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:

?
I'm not sure if it is being simple or lazy.

Mike


On Thu, Jul 9, 2020 at 4:36 PM Alan Blind <a.alan.blind@...> wrote:
Mike; Nice.

I like your simplicity.....not one of my skill sets.

Alan
WA9WUD


On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote:
I blows me away when I have to add new code for a new device.

Here is the flow for the LP100A and I even found the STRING node that made this so simple

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

Mike va3mw


<image.png>


Re: LP100A SWR and Power

 

¿ªÔÆÌåÓý

Interesting.?

I have to Look at the WaveNode manual. This might be a good starting point for Bret and his meter. I¡¯ll check it today.

Mike, can you post the code?

I have seen the internal meter info from the radio jump to incorrect values on the dashboard (internal voltage and PA temp). I fixed it by rounding off to one decimal place.

Dave wo2x


On Jul 9, 2020, at 4:42 PM, Michael Walker <va3mw@...> wrote:

?
I'm not sure if it is being simple or lazy.

Mike


On Thu, Jul 9, 2020 at 4:36 PM Alan Blind <a.alan.blind@...> wrote:
Mike; Nice.

I like your simplicity.....not one of my skill sets.

Alan
WA9WUD


On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote:
I blows me away when I have to add new code for a new device.

Here is the flow for the LP100A and I even found the STRING node that made this so simple

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

Mike va3mw


<image.png>


WX7Y Station Flows

 

? Thanks to Alan and Dave for their help!
This is Just a start on my station's NodeRed and looks kind of caveman?compared to the others on here, I have very little time to work on this project right now but making some headway.
I have 3 DLI WEB switch's (These flows work with older units and Pro switch's)
a Flex 6600M, and Flex 6700? ( Problem with VITA49 running 2 radios, toggles back and forth really fast)
HF Auto (need to add PTT drops when Radio tunes)
FLEX PGXL Amp? (Looking for a Flow if one exists)
WN2 Power Switch (working on Flow)?
73's and thanks for the help?
Bret
WX7Y




who's on the radio.PNG

Power levels.PNG
who's on the radio 6700.PNG
DLI Power Switchs.PNG
Host Ping.PNG


Re: introductions

 

¿ªÔÆÌåÓý

When you bind to a client you receive a lot more info including current band. There is a LOT of data and parsing it will be tricky.?

I¡¯d take a look at the data but doing an emergency road trip to the next state. ?Will check it tomorrow.?

Dave wo2x

Sent from my waxed string and tin cans.?

On Jul 9, 2020, at 6:34 PM, Santiago Mejia via groups.io <hi8smx@...> wrote:

? I¡¯ve look for band data and only found TX?frequency info but not band per se. Looking into converting freq to band if not.

Santiago


____________
73 de HI8SMX?
hi8smx.online
HI8SMX on Twitter, Instagram and YouTube


On Thursday, July 9, 2020, 5:26 PM, David De Coons <RocketNJ@...> wrote:

I get band data from the KPA1500. You can also get it when you subscribe to a client.

?

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of Santiago Mejia via groups.io
Sent: Thursday, July 9, 2020 5:25 PM
To: [email protected]
Subject: Re: [nodered-hamradio] introductions

?


I see. There should be a direct way to get "band" from radio to send the MQTT for the led nodes. I will pour some coffee and read about it.

Thanks
Santiago
______________
73 de Santiago
HI8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


--
______________
73 de Santiago
HI8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: introductions

 

I¡¯ve look for band data and only found TX?frequency info but not band per se. Looking into converting freq to band if not.

Santiago


____________
73 de HI8SMX?
hi8smx.online
HI8SMX on Twitter, Instagram and YouTube


On Thursday, July 9, 2020, 5:26 PM, David De Coons <RocketNJ@...> wrote:

I get band data from the KPA1500. You can also get it when you subscribe to a client.

?

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of Santiago Mejia via groups.io
Sent: Thursday, July 9, 2020 5:25 PM
To: [email protected]
Subject: Re: [nodered-hamradio] introductions

?


I see. There should be a direct way to get "band" from radio to send the MQTT for the led nodes. I will pour some coffee and read about it.

Thanks
Santiago
______________
73 de Santiago
HI8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


--
______________
73 de Santiago
HI8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: introductions

 

¿ªÔÆÌåÓý

I get band data from the KPA1500. You can also get it when you subscribe to a client.

?

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of Santiago Mejia via groups.io
Sent: Thursday, July 9, 2020 5:25 PM
To: [email protected]
Subject: Re: [nodered-hamradio] introductions

?


I see. There should be a direct way to get "band" from radio to send the MQTT for the led nodes. I will pour some coffee and read about it.

Thanks
Santiago
______________
73 de Santiago
HI8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: introductions

 


I see. There should be a direct way to get "band" from radio to send the MQTT for the led nodes. I will pour some coffee and read about it.

Thanks
Santiago
______________
73 de Santiago
HI8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: LP100A SWR and Power

 

I'm not sure if it is being simple or lazy.

Mike


On Thu, Jul 9, 2020 at 4:36 PM Alan Blind <a.alan.blind@...> wrote:
Mike; Nice.

I like your simplicity.....not one of my skill sets.

Alan
WA9WUD


On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote:
I blows me away when I have to add new code for a new device.

Here is the flow for the LP100A and I even found the STRING node that made this so simple

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

Mike va3mw


image.png


Re: LP100A SWR and Power

 

Mike; Nice.

I like your simplicity.....not one of my skill sets.

Alan
WA9WUD


On Thu, Jul 9, 2020 at 4:22 PM Michael Walker <va3mw@...> wrote:
I blows me away when I have to add new code for a new device.

Here is the flow for the LP100A and I even found the STRING node that made this so simple

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

Mike va3mw


image.png


LP100A SWR and Power

 

I blows me away when I have to add new code for a new device.

Here is the flow for the LP100A and I even found the STRING node that made this so simple

The GATE opens when the radio is in transmit.? I added that on the Elecraft W2 as I was getting some weird readings while in receive.

Mike va3mw


image.png