Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Multiple Report Objects Display Same Image in Lookout

Primary Software: Lookout
Primary Software Version: 5.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: I am using many different Report objects in Lookout, and I have connected the data member display1 to different graphics. When I generate the HTML pages, they all share the same picture.

Solution: When all the Report objects write to the same folder on the hard drive, there are some issues to be aware of. First, when the display1 data member is connected to a graphic of another object, the file graph1.bmp is created. For display2, graph2.bmp is created. These same files are created for every Report object, even if there is more than one. With every Report object creating the same BMP file, only the last one created remains without being overwritten. All of the HTML files point to that one remaining file, which is why they show the same picture. There are a couple of different ways to avoid this situation.
  • Have each Report object generate its HTML file to a different path, so that all the graphX.bmp files are separate.

  • Have each Report object connect a different displayX data member. For example, Report1 could use display1, and Report2 could use display2.

HTML code is generated by the Report object in order of the data member numbers. For example, HTML1, Link1, and Display1 will be generated together, but HTML1, Link2, and Display1 will generate Display1 before Link2. So be very careful with the numbers.

For more information about the Report object, refer to the Lookout Help.

Related Links:

Attachments:





Report Date: 10/02/2003
Last Updated: 11/11/2003
Document ID: 3217F4YB

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit