feat: Add helper tool#28
Conversation
killenb
left a comment
There was a problem hiding this comment.
This kind of reminds me of pogo. We somehow have too many files to touch, with too much boiler plate stuff that just "has to be like that".
The biggest benefit definitely is the creation of the xlmap. For the others I don't know if a working example with code comments would not be more useful.
What is also missing is the step that you don't want to xlmap everything. Currently you have to throw out 90 % of the registers. From the workflow it would be ideal to add one step to the "import map file" feature of the lmap editor: A wizard with a list of all registers with tick-marks where you quickly check the ones you want to import. And this adds to the existing xlmap, so you can repeat it. But that's another topic.
| import deviceaccess as da | ||
| import sys | ||
|
|
||
| try: |
There was a problem hiding this comment.
Does the try/catch add any value? Python prints the exception message anyway.
There was a problem hiding this comment.
The idea was not to have the whole python backtrace in the device statusMessage variable
This is supposed to bootstrap a very simple generic server that just mappes the device into the control system, generating a 1:1 logical name mapping
37b5404 to
bdf5e52
Compare
This is supposed to bootstrap a very simple generic server that just
mappes the device into the control system, generating a 1:1 logical name
mapping