DIRECTORY Imager, IO, Rope; Dunn: CEDAR DEFINITIONS ~ BEGIN ROPE: TYPE ~ Rope.ROPE; STREAM: TYPE ~ IO.STREAM; Context: TYPE ~ Imager.Context; Handle: TYPE = REF HandleRec; HandleRec: TYPE = RECORD [ stream: STREAM _ NIL, simulate: BOOL _ FALSE ]; SnapperError: ERROR [msg: ROPE]; cmdCode: TYPE = MACHINE DEPENDENT { videoInvertHigh (2EH), videoInvertLow (2FH), readyTest (3AH), statusRequest (3BH), expose8x5TimeReq (3CH), exposeAuxTimeReq (3DH), exposeAdjFactorReq (3EH), advAuxFrameCnt (3FH), reset8x10ExposeStat (40H), restoreFilterWheel (41H), recovDefaultVals (42H), select8x10Mode (43H), selectAuxMode (44H), selectBW (45H), selectColor (46H), selectNrmSeqMode (47H), selectSepSeqMode (48H), exposeSeq (49H), selectVidAndExpose (4AH), set8x10ExposeTimes (4BH), setAuxExposeTimes (4CH), setExposeAdjFactors (4DH), openAuxShutter (4EH), closeAuxShutter (4FH), unblankMonitor (50H), blankMonitor (51H), selectVideoChannel (52H), positionFilterWheel (53H), immExposeNoVidSw (54H), yAxisRasterCompOn (55H), yAxisRasterCompOff (56H), clearYAxisOffset (57H), stepYAxisOffset (58H), clearXAxisOffset (59H), stepXAxisOffset (5AH), select35mmAuxCam (5BH), select16mmAuxCam (5CH), select4x5AuxCam (5DH), selectSX70AuxCam (5EH), setNumPadChars (5FH), resetAuxNoFilmStats (60H), fastOn (61H), fastOff (62H) }; DunnError: ERROR [explanation: ROPE]; Simulate: PROC RETURNS [handle: Handle]; Open: PROC [host, display: ROPE _ NIL] RETURNS [handle: Handle]; Close: PROC [handle: Handle]; Cmd: PROC [handle: Handle, cmd: cmdCode] RETURNS [BOOL]; Expose: PROC [handle: Handle] RETURNS [BOOL]; Composite: PROC [handle: Handle] RETURNS [BOOL]; Separate: PROC [handle: Handle] RETURNS [BOOL]; Color: PROC [handle: Handle] RETURNS [BOOL]; BW: PROC [handle: Handle] RETURNS [BOOL]; Reset: PROC [handle: Handle] RETURNS [BOOL]; Snapper: PROC [action: PROC[Context], pixelUnits: BOOL _ FALSE, color: BOOL _ TRUE, smooth: BOOL _ TRUE]; END. .. Reserve: PROC RETURNS [Handle: Handle]; DunnSimulated: PROC [handle: Handle] RETURNS [BOOL]; Status: PROC [handle: Handle] RETURNS [DunnStatus]; Ready: PROC [handle: Handle] RETURNS [BOOL]; SimulateOn: PROC [handle: Handle]; SimulateOff: PROC [handle: Handle]; DunnStatus: TYPE ~ RECORD [open, sync, film, io: BOOL _ TRUE]; ŒDunn.mesa Copyright c 1985 by Xerox Corporation. All rights reserved. Bloomenthal, January 30, 1987 11:44:54 pm PST from RS232 Interface Specs for Dunn Models 631 and 632 Color Camera Systems Returns a Dunn handle: Handle without opening the Dunn. Subsequent Dunn calls will be simulated. Open the Dunn. If host NIL, it defaults to "York;" if display NIL, it defaults to "Reprisal". May raise DunnError. Reset and close the Dunn. Cmd transmits a Dunn.cmdCode to the Dunn; TRUE is returned iff the Dunn successfully performs the operation. Expose film either as an RGB composite or not, depending on the exposure mode. Expose film either as color or black-and-white, depending on the film type. The exposure mode may be set by Composite or Separate (the reset default). The film type may be set by BW or Color (the reset default). Returns TRUE iff command successful. Set exposure mode to be RGB composite. If film type is color, each command to expose results in sequential red, green, and blue exposures before the film is advanced. Returns TRUE iff command successful. Set exposure mode to be separate. If film type is color, each command to expose results in sequential red, green, and blue exposures to a single film frame. Returns TRUE iff command successful. Set film type to color. Each command to expose results in sequential red, green, and blue filtered exposures with corresponding video. Returns TRUE iff command successful. Set film type to black and white. Each command to expose results in a single exposure with a transparent filter and the green video channel. Returns TRUE iff command successful. Resets Dunn functions; the filter wheel is reset. The film type is set to color and the exposure mode is set to composite. Returns TRUE iff command successful. Will perform the given action and then expose the resulting image. Snapper can raise the following error: This is the simplest way to obtain a Dunn handle: Handle. May raise DunnError. Return TRUE iff dunn is in simulate mode. If any of the status fields is false, the Dunn is non-functional. Return TRUE iff Dunn is ready for operation. Enable Dunn operations. Disable Dunn operations. Κ’– "cedar" style˜™ Icodešœ Οmœ1™™B—J™š œžœžœžœ˜-KšœN™NK™KKšœJ™JKšœ<™