.

Axis.DemandScale

 

Version History

Introduced in MPX 2.0.

Type

Double (read only)

Index

Index Type Description
Mpx.Demand The demand channel for which the scale will be accessed. Demand.Primary and Demand.Auxiliary are the only valid indices. Demand.Output is invalid.

 

 

 

Common Exceptions

Error Reason
Argument Demand.Output is specified as the index.

 

 

 

Visual Basic

Syntax

Property DemandScale As Double(index As Mpx.Demand)

Sample Code

 
Dim x As Double = controller.Axis(0).DemandScale(Mpx.Demand.Auxiliary)

controller.Axis(0).DemandScale(Mpx.Demand.Auxiliary) = 2.0


Sample Application

 

C#

Syntax

doube[Mpx.Demand] DemandScale;

Sample Code

 
double x = controller.Axis[0].DemandScale[Mpx.Demand.Auxiliary];

controller.Axis[0].DemandScale[Mpx.Demand.Auxiliary] = 2.0;

 

See Also

Demand | DemandLevel | DemandOffset | DemandConfigurationReset | Enumerations.Demand

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering