To add a data link to your picture:
- In Classic view, in the iFIX WorkSpace, on the Shapes toolbar, click the Datalink Stamper button.
-Or-
In Ribbon view, from the Insert tab in Objects/Links group, click Objects/Links, and then click Datalink.
-Or-
If the Toolbox is enabled, click the Datalink button on the Toolbox.
- In the Source field, enter a data source for the data link. To use the Expression Builder, click the Browse button.
- To enable data entry on the data link, select In-Place from the Type field's drop-down menu. If you want confirmation from the operator when the value is changed, select the Confirm check box.
- In the Formatting area, select the type of data you want to display from the Type field's drop-down menu.
For numeric data, enter an integer between 0 and 7 to represent the number of whole digits (those before the decimal point) and decimal digits (those after the decimal point) in the Whole Digits and Decimal fields, respectively. If needed, justify the data by making the appropriate selection from the Justify drop-down menu.
Although you can enter an integer between 0 and 40 in the Whole Digits field, when you view the data link in Run mode the number of digits is truncated to at most 7.
For alphanumeric data, enter the number of lines and the number of characters per lines in the Lines and Chars/Lines fields, respectively. If desired, justify the data by making the appropriate selection from the Justify drop-down menu.
For raw data, select the Raw Format check box and enter the format in the Format field.
NOTE: To format a data link to display scientific notation, first select a F_CV, E_CV or A_CV field, enable the Raw Format check box, and specify %e in format field. F_CV and E_CV datalinks using %e raw format, by default, display 6 places after the decimal point. To display more places after the decimal point, for example 15, change %e to %1.15e. A_CV datalinks using %e raw format will always display 15 places after decimal point. To display a leading zero in the link, use the F_CV field and the raw format similar to %02.2f.
- In the Error Configuration area, select how you want output errors to be defined in the Output Error Mode field. To define errors through an error table, select Use Error Table. To define errors using the current output value, select Use Current Output.
- Click OK. The cursor changes to a stamper.
- Position the cursor where you want to place the data link, and click the mouse. The data link appears in the picture. The size of the data link is determined both by the settings you chose in the Datalink dialog box and by the font size you set in the User Preferences dialog box.
TIP: In Classic view, access the User Preferences dialog box from the WorkSpace menu. In Ribbon view, access User Preferences from the Home tab, in the WorkSpace group, in the Settings list. Set the font size on the Shape Preferences tab.
NOTE: If you create a data link by selecting Datalink from the Insert menu (Classic View), or by selecting it from the Insert tab, in the Objects/Links group, in the Objects/Links list (Ribbon view), you will first sketch the size of the data link, then configure the content of the data link as described in steps 2 through 5.
See Also