WatchWindow({Object}, Variable) Constructor

Top 

Description

Creates a new WatchWindow which will report the objects specified by itemsToWatch and whose update mode is specified by updateOnStep.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Constructor Signature

WatchWindow(

{Object} itemsToWatch,


Variable updateOnStep)

 

 

Arguments

itemsToWatch


Description:

The items which will appear in the WatchWindow.

 

 

updateOnStep


Description:

Determines the update mode of the window. Set this argument to 1 to update the window automatically whenever a Spacecraft is stepped or maneuvered. Set this argument to 0 if the window should only be updated when the Update command or method is called.

 

If the window is updated automatically, the window's TargetDisplayMode property determines when updates are applied within a Target loop.

 

When multiple Spacecraft are being stepped, it is recommended that the window be updated manually using the Update command or method after all Spacecraft have been synchronized to the same epoch.

Valid Values:

Value

Label

0

false

1

true

 

 

 

 

Syntax

WatchWindow myWatchWindow1({ myObject1 }, myVariable1);

 

 

See also

WatchWindow Object

WatchWindow Guide