| Win32 Systems (Win95, 98,
NT, and 2000)
The exposure control sample
illustrates how to control the exposure time on your camera using the
SetStrobePeriods( ) function in the PXD1000 API. In this sample,
SetStrobePeriods( ) is used once each time the exposure is changed. After
changing the exposure, you grab frames until the exposure needs to be
changed again. The value of this sample is that it lets you change the
exposure time on the fly without modifying the camera configuration file
and reloading it.
This sample assumes that
STROBE0 on the PXD1000 is connected to the exposure control pin on your
camera.
You will need to modify
your camera configuration file to make this sample work correctly. Make
the following changes using the PXD Configuration Application and save
the file.
On the Exposure
Timing tab, set Exposure Control Type to STROBES.
The 3 boxes under the
Exposure and Strobe Timing Settings header should be set as follows:
FIXED EXPOSURE
STORBE0
DISABLED
Enter 2 numbers as place
holders in the Delay and Period boxes after Strobe Timing.
The values do not matter, they will be changed when the program runs.
|