Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable scrolling for longer filenames #2

Open
ccatlett1984 opened this issue May 17, 2023 · 5 comments
Open

Enable scrolling for longer filenames #2

ccatlett1984 opened this issue May 17, 2023 · 5 comments

Comments

@ccatlett1984
Copy link

The SV06 will scroll filenames that do not fit on the screen, it would be nice if the SV06 Plus would do this for the selected file prior to starting the print. Currently I have to use short names, or only put a few files on the SD card to ensure selecting the correct file to print.

@Andy3dprinter
Copy link

Yes I agree. Please enable longer file names like the SV06 does. And can you also update Marlin to the newest version? So we can have input shaping? tks

@Sovol3d
Copy link
Owner

Sovol3d commented Aug 7, 2023 via email

@ccatlett1984
Copy link
Author

ccatlett1984 commented Aug 7, 2023 via email

@Sovol3d
Copy link
Owner

Sovol3d commented Aug 8, 2023 via email

@smkent
Copy link

smkent commented Dec 15, 2023

Copying my comment from #1:

In digging around the SV06 Plus firmware to get LCD progress working for USB prints, I've learned a bit about how the LCD works and how file names are populated. The LCD is its own little microcontroller that talks to the printer's own firmware via a serial connection; it's not like a monitor driven by a display signal from a computer. What this means is the LCD's pages are all preprogrammed and the printer firmware tells the LCD which page to go to in response to certain events, with some fields for populating data (like file names).

The SV06 Plus LCD has 4 predefined file selection pages with 5 file name slots each, and the printer firmware correspondingly fills up to these 20 file name slots (with up to 20 characters each) using file names from the root directory of the SD card.

I don't have an SV06, but my (possibly incorrect) understanding of the SV06 LCD and other simple text LCDs is the firmware sends the LCD the full text strings (e.g. long file names), and the LCD performs the scrolling. The SV06 Plus' LCD as programmed has fields that can be populated (e.g. file names), but those are displayed statically.

It might be possible to implement long file name scrolling in the SV06 Plus firmware. The firmware's LCD_RTS.cpp would need new logic to keep track of whether the current LCD screen is a file name display, and would need to update the LCD's file name fields for the current page every tick with a different string to simulate scrolling (e.g. tick 1 "file...", tick 2 "...ile_n...", tick 3 "..._name").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants