Recent

Author Topic: TUI design (and ham radio control)  (Read 511 times)

MarkMLl

  • Hero Member
  • *****
  • Posts: 7633
TUI design (and ham radio control)
« on: September 15, 2024, 10:22:15 am »
Some years ago I wrote a media tester (SD-Card etc.) with a frontend which could either be driven from the command line, from a GUI using Lazarus/LCL, or from a TUI.

I was able to design the TUI using Dialedit3 ** which was somewhat laborious but better than laying it out by hand.

The GUI and TUI end results presented a very similar "look and feel", except that the TUI had no WINCH signal handling so couldn't be resized (that might be why I added window-resize tracking to the Lazarus IDE's console window).

Since we've moved on about ten years, has there been any improvement in the availability of TUI design tools for FreeVision?

Context: I've got an Icom IC-PCR1000 receiver, which uses traditional Rx techniques (i.e. has a better frontend etc. than an SDR) but requires a computer to control it. By now there are a few Linux programs that drive it (as well as Icom's own Windows-only software) but I thought it might be a "fun winter project" to run off a demo using Lazarus + FPC which would be a useful showcase of their capabilities (and which would very carefully avoid interfering with any existing SDRs etc. which might be being used in parallel with the analogue receiver).

However /if/ I do this, it would be useful to be able to say "...and look how easily you can write something which will run in a shell without a desktop!".

** https://github.com/MarkMLl/Dialedit3b  https://forum.lazarus.freepascal.org/index.php?topic=18998.0  plus sporadic other discussion most of which loops back to the same place.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

jamie

  • Hero Member
  • *****
  • Posts: 6556
Re: TUI design (and ham radio control)
« Reply #1 on: September 15, 2024, 03:27:10 pm »
How does the icom interface?

high speed USB serial port ? Bult in standard serial port or vender specific USB drivers?


The only true wisdom is knowing you know nothing

MarkMLl

  • Hero Member
  • *****
  • Posts: 7633
Re: TUI design (and ham radio control)
« Reply #2 on: September 15, 2024, 03:45:28 pm »
How does the icom interface?

high speed USB serial port ? Bult in standard serial port or vender specific USB drivers?

RS232. Don't see that as relevant.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

jamie

  • Hero Member
  • *****
  • Posts: 6556
Re: TUI design (and ham radio control)
« Reply #3 on: September 15, 2024, 05:44:17 pm »
How does the icom interface?

high speed USB serial port ? Bult in standard serial port or vender specific USB drivers?

RS232. Don't see that as relevant.

MarkMLl

Ok, so.
 Just though maybe you were doing SDR with it.

I know with mine Icoms,  I can control the radio via the serial port.

Excuse me for being stupid.
 %)
The only true wisdom is knowing you know nothing

MarkMLl

  • Hero Member
  • *****
  • Posts: 7633
Re: TUI design (and ham radio control)
« Reply #4 on: September 15, 2024, 05:56:57 pm »
Ok, so.
 Just though maybe you were doing SDR with it.

No, might be using it for voice monitoring and would very much want to keep it distinct from SDRs doing other work (e.g. monitoring 1090MHz with a 1MHz offset either way to have the best shot at picking up contacts with wandering tuning).

Quote
I know with mine Icoms,  I can control the radio via the serial port.

This one /only/ has serial control (but I'd not have been able to afford it otherwise). One particularly useful point (which was significant in my choice) is that it can work way down into VLF.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Curt Carpenter

  • Hero Member
  • *****
  • Posts: 517
Re: TUI design (and ham radio control)
« Reply #5 on: September 15, 2024, 06:34:29 pm »
Do either of you know of an up-to-date equivalent to the Icom IC-PCR1000 in a similar price range?  I haven't had the itch for a long time, but my antennas are still up...   

MarkMLl

  • Hero Member
  • *****
  • Posts: 7633
Re: TUI design (and ham radio control)
« Reply #6 on: September 15, 2024, 07:05:49 pm »
Do either of you know of an up-to-date equivalent to the Icom IC-PCR1000 in a similar price range?  I haven't had the itch for a long time, but my antennas are still up...

Well, just to get "price range" into the record: a Yorkshire dealer is currently having a "junk sale" and is asking £159 for a PCR1000: which is almost exactly twice what I gave for mine, and substantially more than many second-hand transcievers. Not to mention that few things have anything like the coverage.

These days, people would almost certainly say "go for an SDR". But the problem is that- certainly if affordable- they don't have anything like the frontend performance.

I guess that something with a nicely-selective tuned frontend and IF followed by a broadband ADC and suitable software would be quite attractive. But GOK how much it would cost...

Which means that I guess I'm asking the same question that you are :-)

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018