NI does not actively maintain this document.
This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.
You can create an HTML file to display and control a Lookout client process that can be accessed through Internet Explorer and downloaded to a remote computer. Lookout accomplishes this by creating a simple HTML page and inserting an ActiveX control on the page that runs your client process. When you create your HTML page, Lookout creates an entire support package necessary to run the process, except for a copy of the Lookout Web Client (Lookout Player). Please note the following requirements:* For your web client page to work, Lookout Player must be installed on the remote computer prior to the first download. The Lookout Player is available free of charge.* For your web client to connect to a server process, you need a Concurrent Client License registered on the server machine (P/N 778102-01; under System >> Options >> Change Client License). Otherwise the server will refuse the client connection.* Lookout Web Client is only supported on Internet Explorer.To create your Lookout Web client page, first configure the Web client export options, then export the page
Before you can export a Web client page, you must set the export options.
After you have configured your options, export the HTML page by selecting File»Export Web server files. If you have more than one process running, a dialog box prompts you to select which process to export.When you export, Lookout creates two folders and an HTML page in the directory you set as your export directory. The folders are titled Lookout and System. The Lookout folder contains all the support files necessary to run the client process. It contains the following subfolders: cbxs, graphics, processfiles.You can edit your client page in any HTML editor you choose. As created by Lookout, it only contains the minimum HTML coding necessary to display your Lookout process.
Any client process HTML page you create with Lookout can be downloaded to any computer that has an internet browser installed. Follow these steps to download a Lookout Web client.
The following is an explanation of what exactly happens when your web browser begins to load client.htm:For reference purposes, the source code for client.htm is shown below.The web client is an ActiveX control. This ActiveX control is the .ocx file that is created when you select Export web server files in Lookout (the .ocx file is created in the Lookout subfolder of the Export directory). You can think of an .ocx file as an executable that is running embedded in an Internet Explorer page. Each Active X Control is registered in the system registry under a Class ID.When you try to download client.htm on your computer, Internet Explorer will interpret the HTML file line by line until it reaches line 20 in the above illustration. Line 20 tells it to launch the Lookout Web Client Active X Control object identified by the Class ID (line 21). It will go through the system registry to check whether the given Class ID has been registered on your computer. The first time you try to download client.htm, the ID will not yet be registered. And since the ID is not registered, it will use the remote location (line 23) to get the file. After downloading it, the .ocx file will be registered on your computer under the given Class ID. You can check this by going to the Downloaded Program Files subfolder inside the Windows directory on your computer. The Lookout Ctl.X.X.X.X Class will be installed there. (Since the .ocx file has been downloaded to your computer and registered under the given Class ID, any subsequent time that you try to download client.htm, the .ocx file specified in line 23 will not be downloaded again. Instead, the local .ocx file will be used).Once the .ocx file is loaded, it will check whether the Lookout Player is installed on your computer. If it detects that there is no Lookout Player on your computer, it prompts you to download the Lookout Player.When the .ocx file is loaded, three parameters are passed along with it (line 25,26,27). The first two parameters are important, as they specify where client.fil is located on the web server computer. The client.fil is created when you choose Export web server files in Lookout (it will be located in the ..\Lookout\processfiles\client subfolder). The client.fil contains all the necessary information about all the objects, graphics, and other files that the particular process requires. A sample portion of client.fil is shown below:Each time you open client.htm, client.fil is downloaded again to the Lookout directory on your computer. (If there is an incorrect URL in line 26, you will get an error message saying "Lookout Web Control could not download client.fil.") Once client.fil has been downloaded, the .ocx file will interpret client.fil and download any necessary files from the web server. It will prompt you that the Lookout Web Control is about to start and will need to download some files. Click OK. This will happen the first time that you try to download client.htm, as your computer will have none of the files required to run the process. This will also happen if any modifications have been made to the files (on the web server) which are required to run the process. After it is done with downloading all the files specified in client.fil, it starts Lookout embedded in Internet Explorer and loads the process.
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.