Graphing a HAL configuration

More
4 years 11 months ago #226512 by mic
Replied by mic on topic Graphing a HAL configuration
Hi,
I think visualizing HAL-connections would be a very nice feature so I´ve also done some experiments a time ago to create a (webbased) viewer:
forum.linuxcnc.org/24-hal-components/429...-for-hal-development
Sourcecode at Github: github.com/dev-git-usr/HAL-Editor
Maybe it´s worth having a look. During the last monts I had not much time to push the project further but i´m still interested in this feature and willing to contribute if desired.

Michael

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago - 4 years 11 months ago #226653 by tjtr33
Replied by tjtr33 on topic Graphing a HAL configuration
Thank you MicI did not know of this tool
I will installl and try
Thanks TomP

EDIT:no joy , could not start server, webpack complains 'overlay' is not a valid option

Editor-master$ sudo npm start
[sudo] password for tomp:
> linuxcnc_halbuilder@0.0.1 start
> ./node_modules/.bin/webpack serve --open[webpack-cli]

Invalid options object.
Dev Server has been initialized using an options object that does not match the API schema. 
- options has an unknown property 'overlay'.
These properties are valid:   object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?,
historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, static?,
watchFiles?, webSocketServer? }

the log file is attached
(lots of unresolved deps)
Linux dbn9sda1 4.9.0-16-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.272-2 (2021-07-19) x86_64 GNU/Linux

thx
tomp
Last edit: 4 years 11 months ago by tjtr33. Reason: added log file

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #226681 by mic
Replied by mic on topic Graphing a HAL configuration
Sorry for the inconvenience,
after a quick test - i think it´s not working properly with npm version 8.x.
I did only test on debian wheezy and buster with older npm/node versions.
Is it possible to install npm v 7.x and test again?

Thanks
Mic

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #226699 by tjtr33
Replied by tjtr33 on topic Graphing a HAL configuration
Hello MIc
I installed npm 7.24.2
and it failed same way ( on npm start, invalid property )
The npm/python smart installers are way too complex for me to debug
It would be easier to set up a wheezy partiion than chase the many deps.
I am still working thue NodeEditor using PyCharm and that is being quite a headache too.
thx
tomp

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #226796 by andypugh
Whilst I enjoy re-inventing the wheel as much as the next man, have you looked at Rockhopper?

Please Log in or Create an account to join the conversation.

More
4 years 11 months ago #227731 by tjtr33
Replied by tjtr33 on topic Graphing a HAL configuration
I worked some more on the hal diagrammer. It is an editor, meaning you can chaneg the look of the diagram . Someday I may be able to make it load and save Hal files, but for now ot it loads and saves a json file. I can reposition items, take screen shots and explain the hal files, I have lots to do. I used my own EDM system as the test hal file.  I had tried RockHopper long ago whenit first came out. I IRC,  it was not able to move and edit and save and reload.  But if some kind user would tell me that Rockhopper was an editor ( add items connect items disconnect save load...) Then I would install it and look.  I have spent yonks of time in these efforts and a simple advice could save me  a lot of time. Thanks TomP
( sorry the tgz file is right at the 1.5meg limit, I dunno if it will be available )
BTW PyCharm was a bust, I only use python ( 2.7/3/3.5 all work ) and PyQt5 (no PySide)

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum