The following example shows a simple macro that moves a star to five positions on the detector, starts a read at each in J-filter and saves the data.

Example 1:
filter J  ;set filter to J 
read  ;start the 1st read 
sync  ;wait until the read is finished 
tele rel 25 25  ;move the telescope 
save -i -f 2  ;save the data as integrated starting from the second frame 
sync tele ;wait until move and save is finished 
read  ;start the 2nd read 
sync 
tele rel -50 0 
save -i -f 2 
sync tele
read 
sync 
tele rel 0 -50 
save -i -f 2 
sync tele
read 
sync 
tele rel 50 0 
save -i -f 2 
sync tele
read 
sync 
tele rel -25 25 
save -i -f 2 
sync tele 
 


The following example shows a simple macro that takes some darks with different integration-time 'time' in seconds and cycle repeat count.

Example 2:
filter blank  ;move the 3 filter wheels to the position BLANK 
sync wheel  ;wait until the wheels are stopped 
object darks  ;sets 'darks' as object in the FITS-header 
crep 6; ;when starting a measurement with 'read', '6' images are taken.  
itime 1 ;set the integration-time in 1 second 
read  ;start the 1st read 
sync read  ;wait until the read is finished 
save -f 2  ;save the data individually starting from the second frame 
sync  ;wait until the save is finished 
itime 3
read 
sync read 
save -f 2 
sync 
itime 5
read 
sync read 
save -f 2 
sync 
itime 10
read 
sync read 
save -f 2 
sync 


All macro files must have the extension: *.mac

A complete description of the macro commands is available as an HTML document.
 


Peter Bizenberger
E-mail: Peter
Tel. (+49) 6221 528 311