Wavefront Sensor Camera (BigJoe) Out-of-Box Tests¶
This is a script that uses only the Sci-Measure camera driver to check that the BigJoe camera is basically working. It will initialize and then run the camera for a few frames, saving them to disk as “raw” files. These are then picked up and displayed with ds9.
-
wfscam.
checkcam
()¶ Check the camera for basic operation ‘Out-of-the-box’
The following should take a couple images and then display one of them using ds9:
import wfscam
wfscam.checkcam()
If this fails, one can go back and check using the engineering display, which uses IDL and a set of bash scripts to call vendor-provided example code compiled under linux.
As a last resort, you can check the camera and EDT frame grabber on a windows machine using vendor-supplied executables. You first need to move the EDT frame grabber card out of rtc and in to the Windows PC named GPI-2. Run a DOS shell on the machine labled GPI-2 and type the commands:
cd c:\EDT\pdv
edt_sysinfo.exe
dvinfo.exe
pdvshow
The edt_sysinfo command creates a file called edt_sysinfo.out - a text file. dvinfo takes some data (ignore the initial warning message) and puts raw data into a file taketest.raw and text info into dvinfo.out. pdvshow brings up a live image.