digiCamControl icon indicating copy to clipboard operation
digiCamControl copied to clipboard

Bug setting FNumber on Nikon cameras

Open samueljfm5 opened this issue 6 years ago • 2 comments

There's a bug in NikonBase.cs (MovieFNumber_ValueChanged and NormalFNumber_ValueChanged) when setting FNumber property.

This property size is 2 bytes, so there should be a cast to UInt16 instead of int. I tested the current implementation with a Nikon Z6 and it returns error code 0x201B (InvalidDevicePropFormat).

Changing to UInt16 works well, and property is set successfully.

samueljfm5 avatar Nov 25 '19 20:11 samueljfm5

Can you check this version https://s3.amazonaws.com/download.digicamcontrol.com/digiCamControlsetup_2.1.1.3.exe

dukus avatar Nov 26 '19 16:11 dukus

@dukus thanks for the quick fix. that worked. But should't it be applied to all other camera models, since the aperture property size is only 2 bytes, but you're writing 4 bytes?

samueljfm5 avatar Dec 12 '19 17:12 samueljfm5