Scaling:Coerce Property

Short Name: Scaling.Coerce

Requires: Base Development System

Class: Variable Properties

To Use: Create a property.

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:Raw Min and Scaling:Raw Max values. If you scale the data for a shared variable you can read, the data must be between the Scaling:Engineering Min and Scaling:Engineering Max 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.

Data type
PermissionsRead/Write
Available in Run-Time EngineNo
Available in Real-Time Operating SystemNo
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 allowedYes