开云体育

Unable to Find Where a Sensor is Used and thus Cannot Delete It #sensors


 

PanelPro 5.10
Java 17.0
Windows 11
?
My config XML is attached.? It is actually working as expected and issues no errors when I'm using it.
?
I'm new to the LogixNG feature.? A few days ago, I created many LogixNGs to set routes and visually show when routes were set.? Then, I found my approach should be different.? I added new LogixNGs and sensors and deleted the unneeded LogixNGs.? I saved my XML and restarted and, again, all is working okay.
?
Now, if I?try to delete sensor "Set Route: Bypass Main" (IS20) and I get this message:?
?
I actually get this message when I try to delete several of the old sensors.? What's really bad is if I try this several times and then try to save my XML, I get a Java exception saying something about a nullReference.? I was able to use a backup copy of the XML to get back working but I need to be careful about trying to delete the old stuff now.
?
I examined the attached XML and found some lines with "IQDA:AUTO:0047".? It looks like the LogixNGs that I thought I had deleted still have some remnant components in the XML.? Here's the list of LogixNGs that PanelPro shows:
I can see that this list matches up with the list in the XML.? However, there are lots of "leftover" DirectActions (and other stuff) that didn't get deleted when I deleted the LogixNGs.? Suggestions?


 

I forgot to add:
?
When I use PanelPro to see where the sensor is used, it shows nothing, indicating it is not used anywhere.? That's why I thought it was safe to try to delete it.


 

Bob,

You need to remove the LogixNG clipboard entry that refers to be sensor. ?Go to "Tools -> Tables -> LogixNG". ?Use the "Tools -> Open clipboard" menu entry. ?After you remove the affected entry (or all of them), you will need to do a Store and restart to clear the reference to the sensor.

Dave Sand


----- Original message -----
From: "Bob Wesneski via groups.io" <rswesne=[email protected]>
Subject: Re: [jmriusers] Unable to Find Where a Sensor is Used and thus Cannot Delete It
Date: Wednesday, February 26, 2025 12:11 PM

I forgot to add:
?
When I use PanelPro to see where the sensor is used, it shows nothing, indicating it is not used anywhere.? That's why I thought it was safe to try to delete it.