cesarluisg
The program is hardware-agnostic and that's why it’s saved separately, okay! But I want to have everything together: a program and its associated hardware configuration for a project. I don't want them to be separated and stored in hard-to-find folders. What should I do?
This problem happened when I created a program for an Arduino Nano board, compiled it, and uploaded it to the board using a laptop. Then, I synced the project folder to another laptop and tried to upload the program. I thought I had everything I needed, but it turned out that the input/output configuration and the board settings weren't saved. I couldn't do the update, and I had to go back to the original laptop where I compiled and uploaded the program to replicate the same configuration on the other laptop. Is there a way to have the entire project in a single folder?
Thank you very much!
Reply 0 0
thiagoralves
Good point! I’ll work on that so that all hardware information is stored in a file in the project folder. Meanwhile, maybe a work around can be to write all the hardware configuration as a comment on your program, so that you can replicate it every time.
Reply 0 0
thiagoralves
Your request is now part of the latest version of the OpenPLC Editor, thanks to contributions from @Joluxer here: https://github.com/thiagoralves/OpenPLC_Editor/pull/124
 
Update your editor to the latest version and let us know how it works for you.
Reply 0 0
cesarluisg
Thank you for the quick update! I just updated to the latest version of OpenPLC Editor and followed the steps, but I’m still having issues. After updating and restarting the editor, I opened my existing project, but the pins I had defined were erased. I reconfigured them to match my setup with the Arduino Nano, compiled, and everything worked fine.
However, when I moved the entire project folder to a new location, closed OpenPLC, reopened it, and loaded the project from the new location, it didn’t work. The editor didn’t remember the board was an Arduino Nano, nor did it retain the pin configurations.
Let me know if there’s anything else I should try.
 
Thank you very much!
César
 
Image when a try Transfer program from other location
[203128%2F8936594%2Fmceclip0]
Reply 0 0
Reply