Additional Information
Error Log contentsThe following are examples of insane object errors:
- Insane Object at BDHP+4D50, UID 1562, in "sksks.vi": (graphics) (0x80):wire segment (WIRE)
- Insane Object at BDHP+5CA0, UID 5864, in "CAPL3.vi": (graphics) (0x80):loop tunnel (DCO)
In the first example above, the error message itself gives information about which object is insane. BDHP means the offending object exists on the block diagram heap, as opposed to the FPHP for front panel heap. The +4D50 is the hex offset in the heap where the object is located. Each element in the front panel or block diagram of a VI can be identified through its UID The "Wire Segment" text indicates that the object is a wire object. The "graphics" text indicates that the insanity is graphics-related, which means it is not serious and will most likely be repaired automatically.
The second message above is similar, but refers to a loop tunnel (i.e., the tunnel formed where a wire crosses the edge of a loop) rather than a wire. Many of these "insane objects" are reported as fpsane errors, and you should look for the actual error by opening the log file.
Finding insane objectsThere is a way to locate insane objects from the error log in the respective VI directly using the UIDs in the error message.
- Close LabVIEW
- Add the key "LVdebugKeys=True" in the LabVIEW.ini file located in the LabVIEW installation directory (C:\Program Files (x86)\National Instruments\LabVIEW 20xx)
- Open the corrupt VI
- Press Ctrl+Shift+D+H to open the heap peek window (see picture below)
- Select the VI with the corrupt object and FPHP or BDHP accordingly in the lop left window (Temperature Limit.vi in the example)
- Click UO to change the view from memory address to UID in the top right window
- Select the object with the UID from the error message in the top right window
- Click F, now the according object will be highlighted in the Front Panel/Block Diagram