Tech Notes

Creating Charts Using Object Linking and Embedding

Viewing OLE (object linking and embedding) documents can be done using the ProFicient toolbar. Any object that can be viewed in a Windows Operating System environment can be considered an OLE object. For example, an OLE object might be a bitmap image (.bmp), a text document (.txt), a flowchart (.flw), or an MS Word (.doc) document. OLE documents can be viewed either statically or dynamically using the ProFicient toolbar.

Figure 1: Bitmap Image to Be Viewed Using Toolbar


Static Viewing Of OLE Documents

Say that you want to view the bitmap image in Figure 1 by clicking on a toolbar button. The project has a single data entry configuration and no re-selects of either part, process or test. Select "Preference>Toolbar Buttons." You will see the Configure Toolbar window (Figure 2).

While in the Configure Toolbar window, Click the "Browse" button and find the OLE document of interest. Optionally, type the path to the document in the Command Line dialog box. Last, type the button title in the "Text" dialog box. Click "OK."

Figure 2: Configure Toolbar Window


Now when you click the "Picture" button on the toolbar, the "MS Paint" program shows the bitmap image of the document on the ProFicient screen (see Figure 3 below).

To prevent editing of an OLE document, have your Information Systems professional specify the file or its directory as "Read Only."

Dynamic Viewing of OLE Documents

Many different OLE documents can be viewed dynamically in ProFicient. To enable dynamic viewing, the project must specify re-selects in part, process or test. For example, the project discussed above might have been created to manage several different part numbers. If so, the data entry configuration must allow the re-select of part by the project's user.

Figure 3


ProFicient can pass the current part name in the active data entry configuration to the toolbar. This allows the viewing of OLE documents specific to the parts being managed in the project. However, the OLE file names must be identical to the part name in the data entry configuration. To pass part name, substitute %depart(x).bmp for the bitmap file name on the command line within the Configure Toolbar window (Figure 4). The value "x" represents the data entry configuration of interest. InfinityQS handles up to 9 data entry configurations per project.

When operators re-select part and click the "Picture" toolbar button shown in Figure 3, the OLE document with the identical re-selected part name will appear without any additional selections or actions on the part of the operator.

The key to dynamically viewing OLE documents using the toolbar is that the OLE file names must be identical to the part, process or test names in the data entry configuration.

Additionally, the toolbar can be configured to dynamically view OLE documents based on process, test, part group, process group, or test group. OLE-specific toolbar commands can be found in Table 1 below.

Figure 3:Passing Part Name From the Active Data Entry Configuration


Need help?
​For further information contact
Toll Free: 1.800.772.7978​

Take the first step from quality to excellence