Re: How to add leading zeros to a number
It's nice to have that web server feature available. I keep hoping a skilled programmer will share code on how to create a panadapter client that can be served up in a webpage. I know it's been done,
By
K6HN Gary
·
#1860
·
|
Re: How to add leading zeros to a number
I wonder if the web server was built in before the code was forked. I use a version for my anan-10e. Guess I¡¯ll find out when I end my snow birding in May. If anyone gets this going for the 6000
By
Marty Boroff
·
#1859
·
|
Re: How to add leading zeros to a number
// From StackExchange - Function to pad with leading zeros function pad(n, width, z) { z = z || '0'; n = n + ''; return n.length >= width ? n : new Array(width - n.length + 1 ).join(z) + n; }
By
Dwayne Sinclair AB6A
·
#1858
·
|
Re: How to add leading zeros to a number
Gary, That's certainly not MY skill.....I just found that iframe node, and remembered that KE9NS had a web server in PowerSDR. I gave it a try. I just had to adjust a few things and it worked. Charlie
By
Charlie Rubenstein
·
#1857
·
|
Re: How to add leading zeros to a number
Very nice! I wish I had the skills to do that for the 6000 series... -- Gary K6HN
By
K6HN Gary
·
#1856
·
|
Re: How to add leading zeros to a number
I just uploaded v.0.31 to the files section (in my folder). Bear in mind that alot of the settings are custom to my setup. I have the lower group of commands going through a separate TCP to serial
By
Charlie Rubenstein
·
#1855
·
|
Re: How to add leading zeros to a number
Can¡¯t wait to see that flow. Would be cool to be able to do same for 6000 series. Would be a good step towards a full Linux client. Dave wo2x Sent from my waxed string and tin cans.
By
Dave wo2x
·
#1854
·
|
Re: How to add leading zeros to a number
Now THAT is cool! :-) Dave wo2x Sent from my waxed string and tin cans.
By
Dave wo2x
·
#1853
·
|
Re: How to add leading zeros to a number
Oh no.....somebody stop me....hi hi....I found a way to import the panadapter to the dashboard !! Wonder how much bandwidth that takes. But it's working pretty well. It's only display, not for input.
By
Charlie Rubenstein
·
#1852
·
Edited
|
Re: Which Pi?
If you buy a Pu 4 starter kit you may get an extra item you may replace but you will be sure you have a good snd card and the correct power supply. I did that for my first Pi 4 and replaced the case.
By
Marty Boroff
·
#1851
·
|
Re: How to add leading zeros to a number
First off.....HAPPY BIRTHDAY, DAVE !! I made a lot of progress on the 3000's flow (gave me something to do on a rainy day in Cincy). I now have buttons for TUNE, MUTE, and VAC, and sliders for AF
By
Charlie Rubenstein
·
#1850
·
|
Re: Which Pi?
Hi Rich Welcome aboard! I would go with a Pi 4 instead of a 3. Not much price difference. 4 GB should be plenty. That is what I run here on my development Pi which also hosts my dynamic DNS client. 73
By
Dave wo2x
·
#1849
·
|
Which Pi?
Hi all New here and keen to have some fun and see whats possible. Searching Amazon for a Pi4 and lots come up, seems you can get starter kits which come with everyhing - case, power supply, memory
By
Rich M5RIC
·
#1848
·
|
Moderated
Re: Trying to read things from Flex 3000 using CAT commands
Leslie: I'll take your wife's word for it. I didn't realize that if I copy and paste that 'code' into "import", I can see what I'm looking for. Thanks, Alan. If I am looking at it correctly, the TX
By
Charlie Rubenstein
·
#1847
·
|
Re: How to add leading zeros to a number
Well, the Format node way, kept giving errors. But the edit string node worked. Now we have SLIDERS !!. I'll repost once I'm done adding sliders. tnx, 73 de Charlie KB8CR
By
Charlie Rubenstein
·
#1846
·
|
Re: How to add leading zeros to a number
Ok two ways to get it done :-) Dave wo2x Sent from my waxed string and tin cans.
By
Dave wo2x
·
#1845
·
|
Re: How to add leading zeros to a number
Understand, I think.... The string node, pad method will keep the number of characters the same and adjust with the "fill character" to adjust the empty space. Here are two examples, 50, and 14074. In
By
Alan Blind, WA9WUD
·
#1844
·
|
Re: How to add leading zeros to a number
Alan The issue is he may need 0, 1, or two leading zeroes thus the if else statement is probably best solution. 73 Dave Sent from my waxed string and tin cans.
By
Dave wo2x
·
#1843
·
|
Re: How to add leading zeros to a number
Charlie Look at the "String" Node, "PadLeft" Method. ?You can specify the number of characters and what to use to "fill" the empty space. ?Here is an example with six digits, fill left with "0".
By
Alan Blind, WA9WUD
·
#1842
·
|
Re: How to add leading zeros to a number
Try this Only need <= and not <== Heading out to dinner for my birthday. 73 Dave wo2x Sent: Sunday, February 28, 2021 4:44 PM To: [email protected] Subject: Re: [nodered-hamradio] How to add
By
Dave wo2x
·
#1841
·
|