bee-eater / SystemDumpViewer

Viewer for SystemDump.xml files of B&R PLCs with a few nice features...
GNU General Public License v3.0
22 stars 2 forks source link

Download from CPU with SDM service on different port than default port 80 #37

Closed VDestra closed 4 months ago

VDestra commented 4 months ago

Hello,

I tried to use the download feature on a CPU that has SDM service on port 82 instead of the default port 80 but it has resulted in an error.

Error transferring http://IpAddress/sdm/svg.cgi?type=systemdump&action=delete&datafile=0&size=0 - server replied: Not Found

Looking at the error description, it tries to connect to SDM with the default access path, based on port 80. I looked in the software parameters and in the system.cfg file to find a parameter related to the port configuration but it seems that this kind of parameter is not available.

Would it be possible, for a future release, to have a parameter available in the software to change the SDM-associated port?

Thank you, Regards, VDestra

bee-eater commented 4 months ago

Hello VDestra,

sure, I'll have a look at it as soon as I find the time!

Regards, Marcel

bee-eater commented 4 months ago

@VDestra I modified the validation of the IP address dialog, so you should be able to add the port now! So something like: 127.0.0.1:82 should work now!

VDestra commented 4 months ago

Thank you for the reactivity. It works like a charm !