samuelpowell / Spinnaker.jl

A Julia interface to the FLIR/PointGrey Spinnaker SDK
MIT License
15 stars 7 forks source link

`Node ExposureAuto is not readable` etc. #54

Open IanButterworth opened 4 years ago

IanButterworth commented 4 years ago

On an RGB equivalent camera to one that works, I get:

julia> exposure!(cam, 0.1e6)
ERROR: Node ExposureAuto is not readable
julia> triggermode!(cam, "Off")
ERROR: Node TriggerMode is not readable

I suspect the fact that it's a RGB camera is a red herring. It's likely some auto setting that needs to be disabled, but haven't found it yet

IanButterworth commented 4 years ago

This camera works in SpinView, but gives:

julia> using Spinnaker

julia> camlist = CameraList()
CameraList with 1 enumerated devices:
ID  Serial No.  Description
0   xxxx    Point Grey Research Grasshopper3 GS3-U3-32S4C

julia> cam = camlist[0]
Point Grey Research Grasshopper3 GS3-U3-32S4C (xxx)

julia> start!(cam)
ERROR: Spinnaker SDK error: SPINNAKER_ERR_NOT_INITIALIZED(-1002)
IanButterworth commented 4 years ago

Oddly, this is only happening for this specific camera (of my two), in Julia 1.4 (9 day old master). It doesn't happen on Linux 1.3-rc2

               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.4.0-DEV.193 (2019-09-23)
 _/ |\__'_|_|_|\__'_|  |  Commit 187ee96d83 (9 days old master)
|__/                   |

julia> using Spinnaker

julia> camlist = CameraList()
CameraList with 1 enumerated devices:
ID  Serial No.  Description
0   xxxx    Point Grey Research Grasshopper3 GS3-U3-32S4C

julia> cam = camlist[0]
Point Grey Research Grasshopper3 GS3-U3-32S4C (xxxx)

julia> start!(cam)
ERROR: Spinnaker SDK error: SPINNAKER_ERR_NOT_INITIALIZED(-1002)
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.3.0-rc2.0 (2019-09-12)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

julia> using Spinnaker

julia> camlist = CameraList()
CameraList with 1 enumerated devices:
ID  Serial No.  Description
0   xxxx    Point Grey Research Grasshopper3 GS3-U3-32S4C

julia> cam = camlist[0]
Point Grey Research Grasshopper3 GS3-U3-32S4C (xxxx)

julia> start!(cam)
Point Grey Research Grasshopper3 GS3-U3-32S4C (xxxx)