This function expands the control offered by SetShutter to allow an external shutter and internal shutter to be controlled independently (only available on some cameras – please consult your Camera User Guide). The typ parameter allows the user to control the TTL signal
(self, typ, mode, ext_closing, ext_opening, ext_mode)
| 409 | ### SHUTTER # I couldn't find a better way to do this... sorry |
| 410 | @Action() |
| 411 | def shutter(self, typ, mode, ext_closing, ext_opening, ext_mode): |
| 412 | """This function expands the control offered by SetShutter to allow an |
| 413 | external shutter and internal shutter to be controlled independently |
| 414 | (only available on some cameras – please consult your Camera User |
| 415 | Guide). The typ parameter allows the user to control the TTL signal |
| 416 | output to an external shutter. The opening and closing times specify |
| 417 | the length of time required to open and close the shutter (this |
| 418 | information is required for calculating acquisition timings – see |
| 419 | SHUTTER TRANSFER TIME). |
| 420 | The mode and extmode parameters control the behaviour of the internal |
| 421 | and external shutters. To have an external shutter open and close |
| 422 | automatically in an experiment, set the mode parameter to “Open” and |
| 423 | set the extmode parameter to “Auto”. To have an internal shutter open |
| 424 | and close automatically in an experiment, set the extmode parameter to |
| 425 | “Open” and set the mode parameter to “Auto”. |
| 426 | To not use any shutter in the experiment, set both shutter modes to |
| 427 | permanently open. |
| 428 | |
| 429 | :param typ: 0 (or 1) Output TTL low (or high) signal to open shutter. |
| 430 | :param mode: Internal shutter: 0 Fully Auto, 1 Permanently Open, |
| 431 | 2 Permanently Closed, 4 Open for FVB series, 5 Open for any series. |
| 432 | :param ext_closing: Time shutter takes to close (milliseconds) |
| 433 | :param ext_opening: Time shutter takes to open (milliseconds) |
| 434 | :param ext_mode: External shutter: 0 Fully Auto, 1 Permanently Open, |
| 435 | 2 Permanently Closed, 4 Open for FVB series, 5 Open for any series. |
| 436 | """ |
| 437 | self.lib.SetShutterEx(ct.c_int(typ), ct.c_int(mode), |
| 438 | ct.c_int(ext_closing), ct.c_int(ext_opening), |
| 439 | ct.c_int(ext_mode)) |
| 440 | |
| 441 | @Feat(read_once=True) |
| 442 | def shutter_min_times(self): |