To display the Range page of the Output operation, first select the output type operation. From the I/O Table operation mode, open the Properties window for the operation by selecting Properties from the View menu. Finally, select the Range property page.

Fields on the Range page are only available if the Type specified on the General page is numeric. For an example of range constraints, see the Example below.

The following fields are available:

Range List

Contains a list of ranges. Each range contains a min/max and resolution. Select the Range to change.

From

Enter the smallest value of the range.

To

Enter the largest value of the range.

Res

Enter the resolution to which a number is rounded. For example if you enter a resolution of 0.5, the value 1.20 is rounded to 1.0.

Add

Click to add the values specified in the From, To, and Res edit boxes to the Range list.

Delete

Click to delete the selected range from the Range list.

Change

Click to change the values in the selected range using the values from From, To, and Res edit boxes.

Example: Range Constraints

Some instruments require numbers to fall within a specific range and resolution. You can ensure any numbers you output follow the constraints of the device by using the Range page of the Output Properties window.

You can enter a Minimum and Maximum value for the range as well as the Resolution to which a number is rounded. The following table shows how the value 42.27 is rounded depending on the range you specify.

 

Minimum

Maximum

Resolution

Number

30

40

0.5

10.1 ->  Run-time error

40

50

0.5

42.2.27 - >42.0

Values beyond the minimum and maximum produce run-time errors. Resolution numbers are used for normalizing the operation.