Display panel to show numbers?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
User avatar
Dixi
Fast Inserter
Fast Inserter
Posts: 210
Joined: Sat Nov 04, 2017 1:47 pm
Contact:

Display panel to show numbers?

Post by Dixi »

Is it possible to configure display panel to show % of container content or just raw numbers?

I used Nixie Tubes mod for that, but trying to run without mods for now.
mmmPI
Smart Inserter
Smart Inserter
Posts: 4544
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Display panel to show numbers?

Post by mmmPI »

Yes it is possible to use the display pannel to display 'raw numbers'. At least i saw someone use them for this purpose by setting up filters so that if the input "R" = 1 ,then output [signal 1], if "R" = 2 then output [signal 2], if "R" = 3 then output [signal 3] and so on.

This means only the individual digits, and if you want to show " 24" or "472" , you have to make the logic to display "2" and "4" or "4","7","2" using modulo operation and subtraction or division to isolate each digit in the number, unlike using nixies tube.
User avatar
Dixi
Fast Inserter
Fast Inserter
Posts: 210
Joined: Sat Nov 04, 2017 1:47 pm
Contact:

Re: Display panel to show numbers?

Post by Dixi »

Yes, I got it. Not as easy as with Nixie Tubes, but doable. Main disadvantage that Display panel is rather small, and numbers inside are icons, that also have some spacing and background, as a result digits are really small.
mmmPI
Smart Inserter
Smart Inserter
Posts: 4544
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Display panel to show numbers?

Post by mmmPI »

I agree that the little space occupied by the display pannel and its design doesn't leave a lot of room for what's being displayed x) Although for visibility, it is possible to have them display on map view with "always show on chart". Which allow dynamic map view ( very large ) display.
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3234
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: Display panel to show numbers?

Post by BlueTemplar »

I was hoping to do a «7» segments display using them, but sadly (?), rotating display panels doesn't rotate the icons... :(
7_segmens_display_and_shape_icons.png
7_segmens_display_and_shape_icons.png (201.3 KiB) Viewed 14170 times
(Which is weird, there are 8 icons for arrows, 1 per rotation, including diagonal ones... but what is the point of the shape ones when they are missing other rotations ?)

Or am I missing something, and they can be rotated ?
BobDiggity (mod-scenario-pack)
mmmPI
Smart Inserter
Smart Inserter
Posts: 4544
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Display panel to show numbers?

Post by mmmPI »

BlueTemplar wrote: Wed Oct 23, 2024 10:15 am Or am I missing something, and they can be rotated ?
I think you are correct that they can't be rotated, however that is not necessary for a "7" segment display, as those don't involve the corners you tried to make, but only the straight line, 3 above 3 below and an horizontal one in the middle, for "7" segment.

It may look better if you double them, but i'm not sure that woul qualify as a 7 display segment.

The rotation of the diagonal segment would allow to make 14 segment display or even 16 segment display

But what we have currently allow for 9 segment display i think

I have to say i don't understand why the pieces we have were choosen though x). The 1/4 circle ? without the other 3 ? I guess mods will fill that gap :)
CosmicTaco
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun Feb 16, 2025 10:39 am
Contact:

Re: Display panel to show numbers?

Post by CosmicTaco »

This is the best I came up with. It takes the input and displays the number corresponding.
02-16-2025, 10-40-25.png
02-16-2025, 10-40-25.png (103.81 KiB) Viewed 4485 times
Adding it to this and it will show the whole number corresponding with the input
02-16-2025, 10-43-17.png
02-16-2025, 10-43-17.png (145.34 KiB) Viewed 4485 times
The division combinators are from right to left: Num/10, Num/100, Num/1000 etc
The Modulus combinators are all Num%10
You can chain this indefinitely for any length desired.

Hope this helps anyone!
Tertius
Smart Inserter
Smart Inserter
Posts: 1322
Joined: Fri Mar 19, 2021 5:58 pm
Contact:

Re: Display panel to show numbers?

Post by Tertius »

Look here, for display panels to show multi digit numbers, this is the final development with just 1 arithmetic and 1 constant combinator :
viewtopic.php?p=644584#p644584
Last edited by Tertius on Sun Feb 16, 2025 12:18 pm, edited 1 time in total.
mmmPI
Smart Inserter
Smart Inserter
Posts: 4544
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Display panel to show numbers?

Post by mmmPI »

CosmicTaco wrote: Sun Feb 16, 2025 10:47 am This is the best I came up with. It takes the input and displays the number corresponding.
This is very similar to :
mmmPI wrote: Wed Oct 23, 2024 9:01 am Yes it is possible to use the display pannel to display 'raw numbers'. At least i saw someone use them for this purpose by setting up filters so that if the input "R" = 1 ,then output [signal 1], if "R" = 2 then output [signal 2], if "R" = 3 then output [signal 3]
But since then i saw ways to reduce the number of combinator for the part where you used the modulo operations , there are different evolution there but i haven't delved into the magic yet :

19825
(edit : same link as previous )
Post Reply

Return to “Gameplay Help”