Roper Photometric manual Man Pages, Class 101 ICL Plexpdisplayscript101

Page 27

Man Pages

This section contains the Man Page descriptions for the six ICL scripting functions included in the PVCAM library. These functions are intended for use by application programmers only.

PVCAM

NAME

SYNOPSIS

DESCRIPTION

RETURN VALUE SEE ALSO NOTES

Class 101: ICL

pl_exp_display_script(101)

pl_exp_display_script – lists the display rectangles.

boolean

pl_exp_display_script(int16 hcam, icl_disp_ptr user_disp_array, void_ptr pixel_stream)

This function can only be called after pl_exp_setup_script. It further processes the script that was loaded during pl_exp_setup_script. Users must pass in a structure that has at least num_rects elements (num_rects is passed back from pl_exp_setup_script). This function then fills that structure with the x and y sizes for every “display” rectangle, as well as that rectangle’s offset into the pixel stream (which is why the allocated data collection pointer must be passed in).

TRUE for success, FALSE for a failure. Failure sets pl_error_code.

pl_exp_setup_script(101)

The script_disp_ptr is defined in pv_icl.h:

typedef struct { /* ONE IMAGE “DISPLAY” FOR SCRIPTING */ uns16 x; /* image width to display, in pixels */ uns16 y; /* image height to display, in pixels */ void_ptr disp_addr; /* starting address for this image */

} icl_disp_type,

PV_PTR_DECL icl_disp_ptr;

The list of rectangles is unrolled from inside the looping constructs, so users are presented with a simple linear list. disp_addr is the starting address for the data for this rectangle (based on the fact that all the data is put into the address pixel_stream. In other words: the address of the first rectangle is exactly pixel_stream. If that rectangle was a 10x10 display, the (starting) address of the second rectangle would be pixel_stream + 200 (bytes).

Separate rectangle lists are kept for each hcam, so multiple cameras (and multiple users) do not collide. This reports on the state following the most recent call to pl_exp_setup_script( ) using this value of hcam. A new call resets the list. This function can be called after data collection has finished, provided that a new call to pl_exp_setup_script( ) is not made in the mean time.

This function does not actually display data. It only provides display parameters.

Chapter 2. ICL 21

Image 27
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 ClearuntiltrigLoopend Pixeldisplayx,yPixelreadoutsoffset, ssize, sbin, psize, pbin Scriptbegin ScriptendcontinclearShiftimagetostorage Shiftmodeismalt ShiftmodeisShiftmodeisalt ShiftmodeismShutteropen Example Scripts Open the ShutterSingle Image 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