OptimizationStateVariable.Lock(Variable) Method

Top 

Description

Replaces the value of the InitialValue property, then locks the StateVariable to the same value.

 

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.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

OptimizationStateVariable.Lock(

Variable value)

 

 

Arguments

value


Description:

The value used to lock the StateVariable.

 

 

 

Syntax

myOptimizationStateVariable1.Lock(myVariable1);

 

 

See also

OptimizationStateVariable Object

OptimizationStateVariable.Lock