Skip to content

Scanlight turns off when image preview is loaded #455

Description

@RobertHunter-Pluto

Decided to try out the new RGB scanning feature with scanlight. After a bit of fiddling, both the scanlight and the camera are found by negpy, and the preview does work. The issue is that the commands that negpy sands to the scanlight are spotty. Sometimes it randomly turns off, or it won't turn on. If the scanlight is on, starting the preview will immediately turn it off. Closing the preview window turns it back on. Shooting does work and the scanlight does turn each color on correctly for each shot, I just can't focus without the preview.

OS: Ubuntu 22.04LTS
Version: NegPy 36.0
Camera: Nikon Z5 II
Scanlight: v3, firmware version 1.2 (the latest one that was released today)
Python version: 3.13 installed, with uv

I was unable to run the appimage from releases since it seems to be built for a version of glibc newer than what I have, so I downloaded it from git so I grabbed uv with mise and installed python 3.13. No errors in terminal while it's running.

I think it might be cause my scanlight is v3 and only has RGB, no white light. It looks like it's everything except that one. Maybe there's a way to detect if a white light option is available and otherwise just turn everything on to whatever the positions in the preset are.

before preview

Image

during preview

Image

Really looking forward to trying this out. If there's any other info I can provide, let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions