Roper Photometric manual Icl

Page 11

Verbs as Subroutines You can think of verbs as camera functions or subroutines. A single-verb instruction such as flash() or clear_until_trig() can be expanded into a sequence of camera-specific instructions. Most verbs are directions for the camera to perform the function immediately using the current settings.

Begin and End There are two commands required for every script, if either command is missing, the program sets an error code.

script_begin();

script_end(contin_clear);

script_begin specifies the start of the program. Anything appearing before script_begin is considered whitespace and is ignored by the script processor. Therefore you can insert comments at the head of a script without using comment delimiters.

script_end specifies that the script is finished, transmit to the camera. If script_end appears, the script processor will not continue to the null- terminating character at the end of the input string.

Looping Verbs Use the following verbs for looping:

loop_begin(loop_count); loop_end();

All instructions occurring between these two verbs are executed loop_count times. The mechanism that performs this communication is camera specific. On most systems, built-in commands are used to perform looping. However, on some systems, the instructions inside the loop may be duplicated loop_count times. You can nest loops, up to 16 deep. For every loop_begin function, there must be one loop_end instruction. If you create a different number of loop_begin and loop_end, it generates an error, and the script fails.

Shift Verbs A shift verb tells the camera to immediately shift one or more lines in the parallel register using the currently selected shifting mode.

A shift_mode verb changes the current state of the camera and specifies the clocking method used during exposure (MPP or normal). The new state is implemented the next time that the shift verb is executed.

shift_mode_is(); shift_mode_is_alt(); shift_mode_ism(); shift_mode_ism_alt(); shift_mode_s(); shift_mode_s_alt(); shift_mode_sm(); shift_mode_sm_alt();

Note that script_begin initializes the shift mode to shift_mode_is.

Chapter 2. ICL

5

Image 11
Contents Page Rev C1 Limited Warranty Roper Scientific Analytical Instrumentation Your Responsibility Table of Contents Index Description IntroductionBenelux Software Roper Scientific Customer ServiceICL Multiple Parameter Functions Following parameters are illegalICL Function Syntax Readout / Display Clearparallelclearcount Function DefinitionsExposeuntiltrig Exposewhiletrigclearfirst ClearuntiltrigPixelreadoutsoffset, ssize, sbin, psize, pbin LoopendPixeldisplayx,y Shiftimagetostorage ScriptbeginScriptendcontinclear Shiftmodeismalt ShiftmodeisShiftmodeisalt ShiftmodeismShutteropen Single Image Example ScriptsOpen the Shutter TDI Time Delay Integration Panorama Ratio Imaging 2-Frame Ratio CCD E Ratio Imaging Multi-Frame RatioColor Sequence Signal to Begin the ExperimentGood Exposure Time Intermittent ExposureDone EXPOSING, NOW Readout High-Speed SpectroscopyError Codes Class 101 ICL Plexpdisplayscript101 Man PagesBoolean plexpinitscriptvoid Class 101 ICL Plexpinitscript101Class 101 ICL Plexplisterrscript101 Class 101 ICL Plexpsetupscript101 Boolean Plexpstartscriptint16 hcam, voidptr pixelstream Class 101 ICL Plexpstartscript101Boolean plexpuninitscript void Class 101 ICL Plexpuninitscript101ICL This page intentionally left blank Potential Wells Introduction Theory of OperationCharge Transfer Typical CCD Imager CCD Readout Subarray Readout Binned Readout CCD Architectures CCD ArchitecturesFrame Transfer Variations CCD Camera Implementations Resolution SensitivityThick and Thinned CCDs Fiberoptics Sources of NoiseSNR Additional Reading This page intentionally left blank Index Page Index Benelux France Germany Japan