Skip to content

With no FR card (or RP/NE before FR), onec echoes the deck and computes nothing #48

Closed

Description

@stevenmburns

NEC-2 runs at its default frequency, 299.8 MHz, when an execution card (XQ,
RP, NE/NH) comes before any FR. onec echoes every card and exits 0
with no ANTENNA INPUT PARAMETERS at all.

  • Your examples/DL5SAY collection/EX4.nec has no FR card. nec2c solves it at 299.8 MHz (180.73+j217.65); onec prints the cards and stops. (On upstream it first needs the patch fix in Count two unknowns per patch in the sequential frequency loop #45; with that fix it still computes nothing until an FR is added.)
  • xnec2c's examples/1MHz_tower.nec has NH, NE and RP before its only FR, with EN straight after. nec2c solves once at 299.8 MHz (739.2+j160770); onec prints the cards (the LD loads echo correctly, 85 µH) and computes nothing.

This was silent, exit 0, so a script running onec over a folder of decks gets no
error. Either default to 299.8 MHz as NEC-2 does, or refuse the deck with
a message.

🤖 Generated with Claude Code

Activity

  1. maurymarkowitz commented on Nov 21, 2026

    @maurymarkowitz
    Owner

    fixed for 2.4.3! Really kinda confused how these got in there, the sequential code was a simplification....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions