Boltek Lightning/2000 User Manual

Page 320

Advertising
background image

L I G H T N I N G / 2 0 0 0

320

320

320

320

; Add the just-produced file to the upload queue so
; that it will be uploaded to the server.

#AddToUploadQueue( @L2KFolder + 'custsum.txt' )

; Don’t save the Nowcast if the cloud-to-ground
; flash rate is low (less than 5 CG flashes in the
; past 5 minutes).

if

if

if

if @CGFlashCount( 5 ) >= 5 then

then

then

then

; Save the Nowcast to a text file named
; ‘nowcast.txt’ in the Lightning/2000
; installation folder.

#ProduceScreenCapture(
'Nowcast',
@L2KFolder + 'nowcast.txt' )

; Add the just-produced file to the upload
; queue so that it will be sent to the server.

#AddToUploadQueue( @L2KFolder + ‘nowcast.txt' )

; Don’t waste time producing the screen capture
; images if the cloud-to-ground flash rate is
; low (less than 25 CG flashes in the past 5
; minutes)

if

if

if

if @CGFlashCount( 5 ) >= 25 t

t

t

then

hen

hen

hen

; Produce an image of the Real-time Lightning
; window, saving it to a file in the
; Lightning/2000 installation folder named
; ‘rtl.png’ at a size of 800 by 600.
; The .png on the end of the file name ensures
; that it will be saved in PNG format. You
; can save a file in BMP format by specifying
; .bmp on the end of the file name, or in JPEG
; format by specifying .jpg.

#ProduceScreenCapture(
'Real-Time Lightning',
@L2KFolder + ‘rtl.png',
800, 600 )

; Add the just-produced image to the upload
; queue so that it will be sent to the server.

#AddToUploadQueue( @L2KFolder + 'rtl.png' )

; Produce a small image of the Real-time
; Lightning window. Make its size 200 by 150
; and put it in a file named ‘rtl_a.png’ in
; Lightning/2000 installation folder.

#ProduceScreenCapture(
'Real-Time Lightning',
@L2KFolder + 'rtl_a.png',
200, 150 )

Advertising