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

sharpcap crashes when selecting the Lumix camera (S1) #4

Open
davidenitti opened this issue Mar 20, 2021 · 9 comments
Open

sharpcap crashes when selecting the Lumix camera (S1) #4

davidenitti opened this issue Mar 20, 2021 · 9 comments

Comments

@davidenitti
Copy link

I have a panasonic S1, when I select the ascom Lumix on sharpcap I have this error:

CheckDotNetExceptions ASCOM.Lumix.Camera ImageArray Get System.ArgumentNullException: Path cannot be null.
Parameter name: path
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at ASCOM.Lumix.Camera.get_ImageArray() (See Inner Exception for details)

Screenshot 2021-03-20 185740

@totoantibes
Copy link
Owner

i dont have the S1 so hard for me to reproduce. however:

  1. are you sure you have the latest version of my driver? I changed the imagearray method at some point to be compatible with Nina. So maybe this is to do with that.
  2. what happens if you try to connect in "thumb" mode in the ASCOM driver? there is another issue with the S1 where i may have the sensor size wrong. Will try to fix that however if you connect in JG or RAW then the imagearray maybe wrong size and create this erroe
  3. Not that it should matter but are you running sharpcap 64 bt or 32 bit?

I have not been using sharpcap really as it is better suited for video/liveview cameras. When I connect my lumix it is emulating a liveview by taking constant shots. do you experience the same behaviour? The only exception i have seen so far is if i take too short exposure once connected then the driver does not have the time to get the image on the PC and i have a "file not found" exception.

@colharris113
Copy link

Hello, I have a GX880 and am experiencing the same issue with Sharpcap - it connects, but bails out when it takes its first picture. I've tried Thumb mode and a few other settings, nothing helps. Idenfies as a GF10.

Ascom diagnostics seems to connect ok Temporary folder exists and there's images in there.

CheckDotNetExceptions ASCOM.Lumix.Camera ImageArray Get System.ArgumentNullException: Path cannot be null.
Parameter name: path
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at ASCOM.Lumix.Camera.get_ImageArray() (See Inner Exception for details)

@davidenitti
Copy link
Author

did you find a solution?

@colharris113
Copy link

No, hence the post

@davidenitti
Copy link
Author

any update on this?

@totoantibes
Copy link
Owner

i did a fresh test this am with sharpcap 4.0 64 bits and my lumix gh5s. it works rather well. either in " live view" or still mode.
please try with latest release of driver.
also make sure that all settings in driver are correct especially the resolution as well as the destination folder for the temp file. if is is a "system" type folder then app will not have access to read/write to it. best is use your "documents" folder as a temp.

@davidenitti
Copy link
Author

when I check the properties it says that there are no cameras. so it doesn't find it.

@totoantibes
Copy link
Owner

totoantibes commented Jul 20, 2022

so in that case here is the fool proof method:

  1. pair your camera on your home wifi
  2. connect to it with your phone app
  3. take 1 pic from your phone
  4. find the ip of the camera on your home wifi
  5. go in ascom profile explorer and enter manually the ip of the camera in it
  6. start nina/apt
  7. look for settings on ascom camera in nina
  8. it should discover the camera.
  9. click ok/connect
  10. go to sharpcap....

@davidenitti
Copy link
Author

not sure if I can connect to my home wifi. I have to check this

with the camera wifi I know for sure the IP, in any case the diagnostics gives this when I connect

Create Creating device
Connected Connecting to device

Name Lumix Ascom Driver
Description Lumix Camera
DriverInfo Lumix Wifi Ascom driver. Version: 7.0
DriverVersion 7.0
InterfaceVersion 2
CameraXSize 6026
CameraYSize 4017
BinX 1
BinY 1
MaxBinX 1
MaxBinY 1
HasShutter True

Connected Disconnecting from device
Dispose Disposing of device
Dispose Completed disposal
ReleaseComObject Releasing COM instance
GC Collect Starting garbage collection
GC Collect Completed garbage collection

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

3 participants