Trouble instantiating PicamCamera() object

20 views
Skip to first unread message

Jason Scheeler

unread,
Jun 16, 2021, 2:08:32 PM6/16/21
to Instrumental instrument-control library
In the simple_acquire.py script, I've used the NicePicamLib to connect a demo camera. I wish to acquire a single frame with this demo camera and get a numpy array of the image out that I can manipulate. I get an error in line 24 when trying to instantiate a PicamCamera() object after passing it two arguments that I deem "typical", but the error says I am missing 4 arguments which consist of bare classes/other modules. I neglect to pass the 4 arguments as I would expect these to be implied somehow, possibly from an instantiation of a different object prior to this line of code. However, what that prior instantiation could be is not clear.  Any help is appreciated!

simple_acquire_error.txt is the error I received, copied and pasted from my console.
simple_acquire_error.txt
simple_acquire.py
Reply all
Reply to author
Forward
0 new messages