Hi, I've recently upgraded from a PI2 to a Pi4 and I cannot get my program working. At first I just swapped the SD card from the PI2 to PI4 and the program ran for a few seconds and then crashed. I later reinstalled PI os and upgraded the runtime/device(in codesys) to version 4. but my program won't compile and gives me the following error: [ERROR] raspberry pi peripherals, 4.0.0.0 (3s - smart software solutions gmbh): C0521: The library "raspberry pi peripherals, 4.0.0.0 (3s - smart software solutions...
Sometimes the sloppy solution is the only solution! Especially when it's for yourself and when look matters as much as functionality.
The file is located on the root folder on my pi You'll have to re-do it every time you download a new program. But it only takes a minute and once the program is done I don't plan on updating it so it works for me. Any re-download from codesys will break it and you'll have to re-do it. otherwise it'll stay there forever. Like I said I don't plan to keep updating my code so once it's final I'll download it to the pi, change the colors and leave it there forever so it should never break.
You'll have to re-do it every time you download a new program. But it only takes a minute and once the program is done I don't plan on updating it so it works for me.
Ok so I was able to do it. I edited the webvisu.js file with the find/replace function. The animation is still there but it's all black so it's impossible to see. Here are the colours I replaced "#F4F4F4" TO "#000000" "#a90018" TO "#000000" "#CD001C" TO "#000000" "#FFFFFF" TO "#000000" This solution might not work for everyone but since I've not used any white text/shape/lines etc I have not seen any issues.
Ok so I was able to do it. I edited the webvisu.js file with the find/replace function. The animation is still there but it's all black so it's impossible to see. Here are the colours I replaced "#F4F4F4" TO "#000000" "#a90018" TO "#000000" "#CD001C" TO "#000000" "#FFFFFF" TO "#000000" This solution might not work for everyone since but since I've not used any white text/button tooltip I have not seen any issues.
Not possible at all might be a bit harsh no? Changing the background to black should just be a color value in the htm or .js file and removing the animation maybe removing a few lines in the .js file? EDIT: Yep, that was it. See solution below.
Ok so I was able to do it. I edited the webvisu.js file with the find/replace function. Here are the colours I replaced "#F4F4F4" TO "#000000" "#a90018" TO "#000000" "#CD001C" TO "#000000" "#FFFFFF" TO "#000000" This solution might not work for everyone since but since I've not used any white text/button tooltip I have not seen any issues.
Not possible at all might be a bit harsh no? Changing the background to black should just be a color value in the htm or .js file and removing the animation maybe removing a few lines in the .js file?
Not possible at all might be a bit harsh no? Changing the background to black should just be a color value in the htm or .js file and removing the animation removing a few lines in the .js file?
I'm working on a project on a raspberry pi and I would like the screen to remain completely black when the webvisu is loading. I'm talking about the white page with the spinning red circle whenever you're starting the visualization. My guess was the webvisu.js file but I have no javascript knowledge and the file is an enormous wall of text with no break or comments. Any help is appreciated.
I'm working on a project and I would like the screen to remain completely black when the webvisu is loading. I'm talking about the white page with the spinning red circle whenever you're starting the visualization. My guess was the webvisu.js file but I have no javascript knowledge and the file is an enormous wall of text with no break or comments. Any help is appreciated.
Pardon my ignorance but I've added the folder in /programdata/codesys/managed libraries (It was already there but I overwrited it) but it's still not working. On a side note this issue appeared all of the sudden, I've been working on this project for a few hours and all was well, I could compile and simulate it with no problem but when I tried to upload it to my raspberry it gave me this error (all 500 of them) I've also tried to delete and re-add the library but it didn't work I also have the basic...
Pardon my ignorance but I've added the folder in /programdata/codesys/managed libraries (It was already there but I overwrited it) but it's still not working. On a side note this issue appeared all of the sudden, I've been working on this project for a few hours and all was well, I could compile and simulate it with no problem but when I tried to upload it to my raspberry it gave me this error (all 500 of them) I've also tried to delete and re-add the library but it didn't work I also have the basic...
Pardon my ignorance but I've added the folder in /programdata/codesys/managed libraries (It was already there but I overwrited it) but it's still not working. On a side note this issue appeared all of the sudden, I've been working on this project for a few hours and all was well, I could compile and simulate it with no problem but when I tried to upload it to my raspberry it gave me this error (all 500 of them) I've also tried to delete and re-add the library but it didn't work I also have the basic...
Pardon my ignorance but I've added the folder in /programdata/codesys/managed libraries (It was already there but I overwrited it) but it's still not working. On a side note this issue appeared all of the sudden, I've been working on this project for a few hours and all was well, I could compile and simulate it with no problem but when I tried to upload it to my raspberry it gave me this error (all 500 of them) I've also tried to delete and re-add the library but it didn't work I also have the basic...
Pardon my ignorance but I've added the folder in /programdata/codesys/managed libraries (It was already there but I overwrited it) but it's still not working. On a side note this issue appeared all of the sudden, I've been working on this project for a few hours and all was well, I could compile and simulate it with no problem but when I tried to upload it to my raspberry it gave me this error (all 500 of them) I've also tried to delete and re-add the library but it didn't work
Pardon my ignorance but I've added the folder in /programdata/codesys/managed libraries (It was already there but I overwrited it) but it's still not working. On a side note this issue appeared all of the sudden, I've been working on this project for a few hours and all was well, I could compile and simulate it with no problem but when I tried to upload it to my raspberry it gave me this error (all 500 of them)
Hi everyone! I'm a total noob when it comes to programming and I have a problem with my codesys program. it says it's missing a library but the download fails and I can't install it manually because I can't find this library anywhere on the internet. The library is CmpVisuHandler. I hope someone is able to help me. Thank you