From d8f685d476e073d0cd5368fb9631db2d5dd2a4ba Mon Sep 17 00:00:00 2001 From: Kablersalat Date: Mon, 10 Feb 2025 07:27:49 +0100 Subject: Added example rdb.txt file contents --- .gitignore | 3 +++ README.md | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..664d9c9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +~$TEST.xlsx +RDBv2.txt +TEST.xlsx diff --git a/README.md b/README.md index 3e14c6a..51f466a 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,38 @@ A very simple python script to convert the TXT output from RDB to an Excel Sheet 1. Run : python3 ./rdb-to-sheets.py /your/rdb/file.txt 1. Enjoy your now converted rdb excel sheet (made in same directory as rdb-to-sheets.py by default, can also be anywhere you desire python3 like this ./rdb-to-sheets.py /your/rdb/file.txt /your/output/rdb/sheet.xslx) +### Example of RDB.txt file contents +``` +DN 0 +TYPE NARS +NTBL AC1 + +DN 1000 +TYPE RDB +ROUT 0 + +DN 1001 +TYPE RDB +ROUT 1 + +. +. +Rest of it goes here +. +. + +DN #37 +TYPE FFC +FEAT RGAD + +DN #51 +TYPE FFC +FEAT SPCC + +DN #54 +TYPE FFC +FEAT RDST +``` ## Consideration 1. I know little coding and even less python, I've tested it on my Meridian 1 Option 11e only as thats the only system I own. 1. If you have suggestions on how to improve this feel free to submit those here. -- cgit v1.2.3-70-g09d2