thiagoralves
They say a picture is worth a thousand words. Well, a video then might be worth more...
 
Reply 16 0
Seafoxc
What! Super nice. 👍 One of the best features added! 
I have no Idea what I'm doing...
Reply 3 0
CloudHead84
This is amazing! Good job! Cannot wait to test.
Reply 2 0
Grz
Amazing...good job Thiago ...
Reply 1 0
carol_lo
Can't wait!!
Reply 1 0
Xiangming
Good job guy! 
Reply 1 0
Ianpepper
Amazing work!
Reply 1 0
PauloLouro
Great work.
 
If the board has ethernet connection, can we route the debugging from Serial to Ethernet?
Reply 0 0
thiagoralves
Right now debugging only works over Ethernet or WiFi (the usb cable on the video is only used for power).
 
I’m working on bringing the debugger to serial as well so that it will work on simpler boards that only have Serial like Arduino Unos and Megas.
 
The debugger is based on Modbus, so in theory if your board can talk Modbus of any kind, it should work.
Reply 0 0
thiagoralves
UPDATE IS OUT!!!!!
 
If you want to check what changed, well, it was just a minor change 😂
 
However...
The new editor depends on a new package called 'Jinja2'. If you're on Windows and you update as you usually do, the editor will crash the next time you try to open it because Jinja2 is missing. I will put out a new Windows installer to take care of that. Or, you can manually install Jinja2 on the local OpenPLC Editor python2 environment with:
python.exe -m pip install jinja2
That will make the editor work again.
 
If you're on Linux, then that's easy. Just open terminal and type:
python2.7 -m pip install jinja2
And then everything will be good.
 
 
Glitches:
The code appears to be fully functional. I tested removing a board while it was connected, resetting, and some other tricks. What is not working yet is debug over Serial. So, to test this, you will have to use a board with TCP/IP capabilities (Ethernet or WiFi). Also, since debugging works over Modbus, you will have to enable Modbus on the upload dialog as well.
Reply 0 0
cunnagin
Still getting the launch crash after the instructed Jinja2 package install.
 
Installed it separately for 2.7.18 and 3.12.0 versions of Python. Running with pyenv global set to 3.12.0 (was working prior).
 
Log attached.
Reply 0 0
thiagoralves
You must install it specifically on the python that comes bundled with OpenPLC Editor, otherwise it won’t work. In general, if you open command prompt and type this (assuming your prompt is at your user home folder) it should work:
cd OpenPLC_Editor
cd python
python.exe -m pip install jinja2
 
Reply 0 0
thiagoralves
Ahh, just realized from your bug report that you’re on Linux. In that case, make sure you’re installing for the exact version of Python that is being used to launch OpenPLC Editor. In your case it seems to be python 2.7.18
Reply 0 0
cunnagin
Ok - forget the previous; I did a full, clean install of Ubuntu latest LTS and installed everything from scratch, updated and corrected per instructions. Installed only python 2.7.18. Now I can launch OpenPLC editor - but when I go to download to the target (Opta) I get the following error - instead of the normal target selection dialog:
 
[203128%2F8408172%2Fmceclip0]
 
Attached is the LOG file for this bug.
Reply 0 0
thiagoralves
That part of the code is the same as previous version. Looks like there is some permission issues to access arduino.yaml file.
Reply 0 0
Reply