9
The filter wheel, the intensifier and the shutter is
controlled by the SMARTMTR program. The SMARTMTR
program in use is called
Norway.prg.
The CCD camera is
controlled by the PMIS program. The PMIS program also
cover the RS-232 communication (thin cable) to the
SMARTMTR program. This is done via the RS-232 COM1: port.
When inspecting the camera system the operator should also
watch the PMIS window.
The ACC2 program is a Visual Basic 5 program. It communicate
with the PMIS program. The task of the ACC2 program is
to determine the times the camera should operate and what
it should do when it operates.
VisualBasic(ACC2)--> PMIS(macros)--> SMARTMTR(Norway.prg)
The information from the ACC2 program is written in the
upper text panel in the ACC2 window. Every line starts with the
time when the message is written. The last line written in the
ACC2 text panel is the top line.
The highly unstable PC clock is corrected by the Garmin GPS
12XL receiver. This is done via a RS-232 cable on the COM2:
port. The messages from the part of the program handling the
GPS interface is shown in the lower text panel in the ACC2
window. The program checks every other minute if the PC clock
should be corrected. The communication to the GPS receiver is
handled by Visual Basic Communication control , MSComm .
The communication between the ACC2 program and the PMIS program
is handled with DDE (Dynamic Data Exchange) protocol. The
middle text panel in the ACC2 window is used as a DDE
communication buffer.