( 3 ) EXECUTING ELBRUS WITH COMMAND LINE ARGUMENTS
The command line arguments:
Elbrus supports the following command line arguments:
-- argMode 0....8
-- argImagePath mandatory for argMode = 8
-- argSupposedAR (optional) for argMode = 8 only
-- argSupposedDEC (optional) for argMode = 8 only
The arguments must be separed by spaces.
Examples:
c:\elbrus\elbrus.exe 0 ( executes elbrus in the 'A- image path' mode)
c:\elbrus\elbrus.exe 5 ( executes elbrus in the 'E- wait for message' mode )
Mode 8 executes Elbrus and solves the image argImagePath. Then exits the program.
If argSupposedAR and argSupposedDEC are present then they are used during the sky search.
Mode code values:
-- mode = 0: manual mode. Selected image path.
-- mode = 1: manual mode. Image from the last message in the 'images' folder.
-- mode = 2: manual mode. Most recent image in the 'images' folder.
-- mode = 3: not used.
-- mode = 4: not used.
-- mode = 5: automatic mode. Wait for message.
-- mode = 6: automatic mode. Wait for image.
-- mode = 7: not used.
-- mode = 8: execute then solve then terminate.
Executing Elbrus from the Windows-MS-DOS :
You can use the MS-DOS windows to launch the program with command line arguments.
Executing Elbrus from the Run windows:
You can use the Run window to launch the program with command line arguments.
Executing Elbrus from a VBscript file :
You can execute Elbrus from a VBS script file. The example bellow executes Elbrus, analyzes the image c:\Ima\p84g20mL1.fit and then closes Elbrus.
See the next page for more about using vbs script files.