A tool for converting RSLogix 5/500/5000 data trend files (with *.DBF file format) to more friendly formats.
Project description
Logix Trend Converter
If you use Rockwell/Allen-Bradley's RSTrendX tool (the trending tool bundled with RSLogix 5, RSLogix 500, and RSLogix 5000/Studio 5000) and want to export the data you've trended, you'll find the "Create Snapshot" option gives you two files: a *.DBF
file and a *.IDX
file. These files contain your data and tag (trend pen) names, but they're a binary-encoded file using a defunct database format ("dBASE").
This package allows you to quickly convert those files into a more accessible format (CSV).
It's important to give credit where it's due: much of the heavy lifting of this project is performed by two other packages:
simpledbf
(PyPI.org) - the relevant code from thesimpledbf
package is bundled within this package, so it is not necessary to install thesimpledbf
package to your environment.pandas
(PyData.org) - the indispensable.
Installation
Logix Trend Converter can be installed with pip
using the following command:
pip install logix-trend-converter
Suggested Usage
from logix_trend_converter import converter as ltc
from pathlib import Path
dbf_file = Path("data/my_data.dbf")
idx_file = Path("data/my_data.idx")
df = ltc.convert_file_to_pd_dataframe(dbf_file, idx_file)
df.head()
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file logix_trend_converter-0.1.0.tar.gz
.
File metadata
- Download URL: logix_trend_converter-0.1.0.tar.gz
- Upload date:
- Size: 14.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.10 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0271f88673f5ffa11361a10e555f283b3869a4c23684e6d1d7e19e7d6a4a7da4 |
|
MD5 | 5e2ceee6fd58aef04837a2e12ee52e9b |
|
BLAKE2b-256 | 7694e2dc823deada4b64a89a5ac839767255598d819d7c62e3d7a2c22f24153e |
File details
Details for the file logix_trend_converter-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: logix_trend_converter-0.1.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.6.1 CPython/3.10.10 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a2c9e1274bfce877f3684d330c639f62b4f1b510f8bdf4ba23bbd64cfd6d5ed |
|
MD5 | 880de0cc016a82ca372a05bbc3f38d82 |
|
BLAKE2b-256 | 23662705136ed32e600b46126154e454735584cadec674d04bbd0398bcd1620e |