Scaling:Coerce Property

LabView Local Project Settings

Scaling:Coerce Property

Short Name: Scaling.Coerce

Installed With: Base Package

Class: Variable Properties

If TRUE, LabVIEW coerces the shared variable data to a range you specify. The default is FALSE. To use this property, you must install the LabVIEW Datalogging and Supervisory Control Module.

You can use this property for shared variables with a Scale Type of Linear.

If you scale the data for a shared variable you can write, the data must be between the Scaling:RawMin and Scaling:RawMax values. If you scale the data for a shared variable you can read, the data must be between the Scaling:EngineeringMin and Scaling:EngineeringMax values.

This property is similar to the Coerce to Range option on the Scaling page of the Shared Variable Properties dialog box.

Remarks

The following table lists the characteristics of this property.

Available in Run-Time Engine and Real-Time Operating SystemNo
PermissionsRead/Write
Settable when the VI is runningYes
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access disallowedNo
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo