A small Windows console utility for managing the storage on an HP/Agilent 8563E spectrum analyzer fitted with the 85620A Mass Memory Module and a FRAM memory card. Talks to the analyzer over GPIB via NI-VISA.
It can list and clear the module's RAM, list and (semi-)clear the FRAM card, copy files MEM → CARD with per-file verification, compare the two stores, and probe individual filenames on the card without going through CATALOG?.
- HP/Agilent 8563E spectrum analyzer
- HP 85620A Mass Memory Module
- FRAM memory card seated in the 85620A
- A GPIB controller on the host PC; analyzer expected at
GPIB0::18::INSTR(changeResource8563Eif yours differs)
- Windows
- .NET Framework 4.7.2
- NI-VISA installed (the project references
Ivi.Visa.dllandNationalInstruments.Visa.dllfrom the IVI Foundation install — see theHintPathentries in MemCardTest.csproj and adjust if your VISA install lives elsewhere)
dotnet buildOr open MemCardTest.sln in Visual Studio.
Two modes share a single dispatcher, so every menu entry is also reachable from the CLI.
Run with no arguments and pick from the list:
.\MemCardTest\bin\Debug\net472\MemCardTest.exePass one or more commands as positional arguments. They run sequentially in
a single GPIB session, so you can chain connect with the operation you
actually want.
| Command | Action |
|---|---|
connect |
Open the GPIB session to the 8563E |
catalog-mem |
List files in the Mass Memory Module |
clear-mem |
DISPOSE ALL on module RAM |
catalog-card |
List files on the FRAM card |
card-info |
Show file count + BYTES FREE for card |
format-card |
Walk the user through front-panel format (cannot be done over GPIB on this analyzer) |
copy-to-card |
Copy every file MEM → CARD, verify each |
copy-from-card |
Copy every file CARD → MEM (stub) |
compare |
Diff MEM vs. CARD by name |
probe-card |
Per-name CARDLOAD probe of every MEM filename against the card |
Examples:
MemCardTest connect copy-to-card
MemCardTest connect catalog-card
MemCardTest connect comparehelp, -h, --help, or /? prints the same table.
Each session writes a fresh log file (MemCardTest.log) next to the
executable, including every GPIB command sent, every error code returned, and
the per-file summary of any copy operation. The log path is printed at
startup.
CATALOG?on CARD truncates at ~903 bytes (~55 entries). Documented inline at the use site in Program.cs — the post-copy verification works around it by issuing per-nameCARDLOADprobes instead of trusting the catalog. Root cause not yet pinned down (firmware vs. driver vs. this code); reproduction from HTBasic still pending.format-cardis front-panel only.FORMAT nover GPIB returnsERR 112 NOT CTRLbecause the PC is the system controller, and DLP-wrapped variants are stored but not executed. The command walks the user through the manual sequence and releases the analyzer to local control so the front-panel keys respond.copy-from-cardis not yet implemented.
MIT — see LICENSE.