RunVBScript command

Arguments

The name of the Visual Basic script to run, along with the command line parameters that are required to run the script.

 

Remarks

Use this command to run any Visual Basic script from Orchestrate.

 

If the command is successful, the status message "Done" is placed in the Status column of the script spreadsheet. If unsuccessful, the "Error" status message appears, with the error code of the error.

 

Example(s)

 

Command

Arguments

RunVBScript

Camera.SetExposureTime.vbs 30

RunVBScript

CCDSoft.Start.wsf

RunVBScript

Telescope.Park.wsf

 

Orchestrate looks into the \BuiltInScripts folder for the script file to run.

 

Notes

 

This command requires Orchestrate version 1.00.022 or later. The following scripts are distributed in Orchestrate's BuiltInScripts folder

 

Script Name

Description

Automadome.Quit.wsf

Quits AutomaDome.

Automadome.Start.wsf

Starts AutomaDome.

Camera.@Focus2.vbs

Performs automated focusing using @Focus2.

Camera.CenterBrightestObject.vbs

Centers the brightest object on the detector.

Camera.Connect.wsf

Connects to the camera (CCDSoft)

Camera.CoolSNAPNFrames.vbs

Specify the number of frames to acquire using CoolSnap cameras (only).

Camera.Disconnect.wsf

Disconnects the camera.

Camera.SetExposureTime.vbs

Set the imager's exposure time.

Camera.SetTemperature.wsf

Set the camera's temperature.

Camera.SubFrameOn.vbs

Turns on or off the camera's subframe setting.

Camera.SubFrameSize.vbs

Set the sub-frame size.

Camera.TemperatureOff.wsf

Turns off camera cooling.

CCDSoft.Quit.wsf

Quits CCDSoft.

CCDSoft.Start.wsf

Starts CCDSoft.

Dome.CloseSlit.wsf

Closes the dome.

Dome.Connect.wsf

Connects to the dome.

Dome.Disconnect.wsf

Disconnects the dome.

Dome.FindHome.wsf

Finds the dome's home position.

Dome.OpenSlit.wsf

Opens the dome.

Dome.Park.wsf

Parks the dome.

RCDK.wsf

This is the "master" script. All other built-in scripts use this script to access commonly used code.

Telescope.Connect.wsf

Connects to the telescope (TheSky6)

Telescope.Disconnect.wsf

Disconnects the telescope (TheSky6)

Telescope.FindHome.wsf

Finds the telescope's home position (TheSky6)

Telescope.Park.wsf

Parks the telescope.

Temp.vbs

 

TheSky6.ConnectDome.wsf

Connects TheSky to AutomaDome.

TheSky6.CoupleDome.wsf

Couples TheSky's telescope position to the dome openind.

TheSky6.DisconnectDome.wsf

Disconnects TheSky from AutomaDome.

TheSky6.Quit.wsf

Quits TheSky.

TheSky6.Start.wsf

Starts TheSky.