Signal Display

by AckEmma

Allows Display Panels and Programmable Speakers to show the count associated with a signal from the circuit network.

Utilities
a month ago
2.0
1.12K
Circuit network

i Update Message after manual clear without new signal value

3 months ago

I'm trying to send a few (virtual) signals to the display but I can't get the mod to update values.
I'm using a constant combinator to send virtual-signal=down-arrow with quantity=7, and virtual-signal=up-arrow with quantity=50, and possibly additional signals.
In the display string, I'm setting the text as [virtual-signal=down-arrow][][virtual-signal=up-arrow][]
I've set the string's conditional to "everything" > 0 so that all signals are passing into the display line.
However, I'm not getting any updates to the string. I'm hoping/expecting it to show the down arrow [7] and up arrow [50].

Setup screenshots:
https://imgur.com/a/lkkRIwl

Setup Blueprint:
0eNqlVNuOgjAQ/Zd5LkZQ3IXE/RFCSMUqTUrLtkUlhn/fafG2BPeavgxzOWdmTssZNqJljebSQnoGXippIM3OYPheUuF8ktYMUnARS6UNSlVvuKRWaegJcLllJ0jDnkzUbLlpBO2ChkomHrKjPifApOWWs4HOf3SFbOsN0whHvqIl0CiDtUo6LsQL4mU0iwl0aC7CZBYjFRZarUSxYRU9cKzCVMNKV2U+20h/nYLAjgvL9Nh7acYoQfVlGgLvLRXYNPql0jV1Lmyyodo3mcLaO1q3Wb+e6/AEbNc4uAPXtvV1132powyo1ur4O/iXB/jFc/i2+Qt4PO9zPL3jGMkUkWmlpwQKfyKQa6BmNwEwZXuD2XFtbHG/Y8+mHDICdmC6sxWXexjI/DWCdD6a9M3fy3LgmNAZo5adsBCyC1UwMKzvauVZPg5ed40hwO39H+S7Jqk40s4UpkJ9U6tbRsDZBZdFWVFtB6d7eEeu/avLQhK5k6OPW1Yj5v1nQAD3Z/zq41WULJMkXibR62o57/sPkMxvZg==

Thanks for any assistance.

3 months ago
(updated 3 months ago)

Even with rich text parsing turned on, I can't get the virtual signal for down-arrow to show its quantity alongside the up-arrow quantity. no idea what i'm doing wrong - i've tried every combination I can think of for the signal filters for the display line and for the display icon (changing the display icon weirdly seems to affect the text, even though I don't think that seems right?)

3 months ago
(updated 3 months ago)

Okay, it's some sort of caching issue.

Deleting the display and pasting it back fixed it. Reconnecting the signal wires also seemed to fix it. Changing signal values also fixed it. Just editing the signal display itself doesn't seem to trigger anything leading me to believe it was broken when tweaking output.

3 months ago
(updated 3 months ago)

Hey, thanks for using the mod.
I just wanted to check that everything was now working as expected?

From what you’ve said I imagine you had it configured to work and then added or changed the message, removing the number associated with the signal. After saving it then didn’t update the signal again?

If so, you are correct in believing that is a cache issue, the mod will only attempt to update the signal if that signal has a DIFFERENT value to when it was last updated for performance reasons. So if the signal doesn’t change after manually removing the number it won’t update until a new signal value is sent (clearing wire is equivalent of setting to 0).

While this isn’t a bug, but rather intended behaviour, I can see that it’s not intuitive so I’ll see if I can code a solution for this special case in the next release

3 months ago

I'm triggering this issue constantly when I paste the signal display from a blueprint. I use a constant combinator in the blueprint to control a bunch of things and to set the display value, so I paste the blueprint and then that signal never changes, so the value in the display never gets updated to match the constant combinator's value.

3 months ago

Blueprint with constant combinator and display that triggers this frequently:
0eNrtXFlv28YW/itTvty2oAKuWoymhdumSIA6vbcNiha2QVDi2JqW5LBDUooa6L/fMzMUF5kUF8uLAj/leDQ823xnG1H5pMz9FEeMhIly9kkhCxrGytnlJyUmt6Hr87XQDbByprhxjIO5T8LbUeAuliTEI1PZqgoJPfxROdO3as1DHl4QD7PRggZzEroJZaVHjO21quAwIQnBUqj4Y+OEaTDHDHiqOz5xQkHe2vV9RVUiGsMjNORygM3InhqvbFXZAGnak1f2lquyx8rIWXkkjnx3M4rcENdym0wLbmPgpirglIRR35njpbsiYANsjVwG/BLMpOawxcvZ3BAWJ07hjGQTcckrwpLU5TJ3VokdIzfcJODPW0WKihOXH4bG/wi4GO61M+Vb4bmFlNCDY4I/Ajfl0jSvle313kLBMWOQmzXS+MOuv3Y3sRMv6Vo5S1iKa1xr9nCt+Vm6Vtf0Pd+KlWM41+oYAuNZawjY6sFQrosrrWBqi+PyCMMLuWdaf3gLwhYpSRwcunMfe9IwNV9+pMP06S2JE7Koyqvs+4bv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XewBMaqV8RzDOugg1rkskKtLulgXXp3taNgjfWmV9oDIjAZA7P14NQM7jEw5yP4rv/HlI5XX1L2MKuWu/Wd5orZksjJcqzviTDHsQvoFCZWDm3VNK+12P7bsLrEuii0Kqnfqdx6nySizm5G4KAplJUpaZO+Z3ptpWVV57Y7E0IjEN8mDeGr7+QuVToYnCF4vuAn5f58BPY07x5AJlXPZr4EW/5MHjFY658d/3ydO3h4bM2s2s62ZMR1b2nb7f84B9H4=

3 months ago

As to your question - yes, if I cut/paste the display, or mess with the signals a bit, I can usually get it to update the display when I want.

3 months ago
(updated 3 months ago)

For the first blueprint, once I enabled rich text parsing (not enabled by default for now) it worked immediately. It will set the first value to one as without rich text parsing the icon will just replace the first '[]' found, which in this case is for the up arrow.

As for the second blueprint, when I update the value in the constant combinator, the display value does as well (just make sure you update the correct quality one, the anything, anything will just select the first available signal), updating the value in the parameters of the blueprint always updates the display to the correct value.

Are you developing these blueprints in a special surface at all?

3 months ago

I'm putting these blueprints on fulgora. I don't change the constant combinator after placement - it's set by blueprint parameters and I never touch it

3 months ago

I’ll take another look.
Blueprint parameters had worked in my test world but I’ll go to fulgora in case that matters. Have you got other displays updated correctly on that surface?

New response