hutcheb / acd Goto Github PK
View Code? Open in Web Editor NEWRockwell ACD Tools
License: Apache License 2.0
Rockwell ACD Tools
License: Apache License 2.0
Hi I came across this project several months ago, and was interested, but never had time to dig into it much. About 1-2 months ago I had a bit of time, and noticed this project hadn't been updated in a while. Thinking this project might be dead, I actually started digging through your code, and building a Kaitai Struct File based on it, that I might be able to use later to try and change/expand/make my own version of this library.
I notice now that the project isn't dead, just was on hiatus, and while I haven't finished these Kaitai Struct files, they still might be useful (and maybe I will get some time to keep working on them). I was wondering if you might be interested in adding them to your repo, or if you think you would use them at all?
If you aren't familiar Katai Struct, you essentially create a YAML file describing a binary file format. You can use the IDE to visualize files as you work on the YAML file. I find it useful when reverse engineering file formats.
You can then use the Katai Struct compiler to generate parsing code in a bunch of different languages, including Python.
Let me know if you are interested, and I'll see if I can clean them up a bit and do a pull request. I've been meaning to clean them up and make the repo public but I just haven't had a chance.
See attached Template ACD with IOs
Is there any reason these self._db.commit() lines indented into the for loop?
log.info("Getting records from ACD Comments file and storing in sqllite database")
comments_db = DbExtract(os.path.join(self._temp_dir, "Comments.Dat"))
for record in comments_db.records:
CommentsRecord(self._cur, record)
self._db.commit()
log.info("Getting records from ACD Nameless file and storing in sqllite database")
nameless_db = DbExtract(os.path.join(self._temp_dir, "Nameless.Dat"))
for record in nameless_db.records:
NamelessRecord(self._cur, record)
self._db.commit()
Here is a real production ACD file with a lot of IOs (remote and local IOs). Trying to get the Model, Firmware, Channel info from it as well as SERIAL number from CPU. See attached files for info.
Thanks
Project_SIL.zip
Hello,
I have a decoding error, I am using version 0.2a8.
This decoding error seems to be referencing a key that doesn't exist.
I have used 2 different ACD files with both failing in the same section.
This is the error message:
"elements.py", line 394, in build name_length = struct.unpack("<H", extended_records[0x01][0:2])[0] KeyError: 1"
And this is the INFO message
2024-07-29 07:51:00.027 | INFO | acd.l5x.export_l5x:post_init:117 - Getting records from ACD Nameless file and storing in sqllite database
There is a decode error I think error handling system has to be in place
This is really cool!!!
Do you guys have any knowledge of old? RSS files. I would really like to beable to read those
Is there a way to extract forces? Any kind of hint would be much appreciated. I'm suspecting it has to do something with xrefs.dat. Any hints to parse xrefs?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.