LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView keeps showing messages when closing or saving

I am using LabView 6.1 and NI-IMAQ 2.5.2 for my program which deals with moving a camera in a grid in x,y,Z and also do magnification. Also I am using the program to capture images. The program was doing fine, and this problem start to show up when I made some adjustments in the code on another machine which has both above mentioned sofwares.
The problem appears when I first try to save the changes I made to the program and still showing when I will save any changes or try to see error list when still working on it. The messages that keep showing are :
"Insane Object at BDHP + 306 A in AIMS Improved.VI {Graphics} [0x80): Wire segment (wire)" .(Aims-Improved.vi is the program I am working at).
when I klick OK on
this message it shows this same message again but with different forms of the value " BDHP + 185064, or + 306868, or + 185104, or + 306 A10, 306 B or C"
Even when I tried to run the program as it shown know errors in the error list, it would not function well.
Do you know what could be going on?
0 Kudos
Message 1 of 6
(3,361 Views)
I copied & paste a paragraph of an email I received earlier regarding "insane object" for your reference.

What does an "insane object" error mean and what should I do?

This message means that an object in LabVIEW such as a wire or a loop
tunnel does not pass an internal test known as a sanity check. If the
errors are serious enough, LabVIEW exits because something has become very
corrupted. Sanity checks occur before each save, to ensure that corrupted
VIs are not written over good VIs. They also happen as part of the compile
process. Thus, sanity checks happen frequently. Many insanities are
actually fixed (made sane) after the dialog box appears and will not appear
again, so the first thing you should do after receiving an insane object
error is to try to make a backup copy of the VI, run it, and perform some
additional editing to see if the problem was resolved automatically.

VI corruptions do not happen often. They can happen because of disk
corruption, but this will often lead to a file that can no longer be
loaded. Corruptions can also happen because the programmer did something
that corrupts a LabVIEW data type, perhaps as the result of a call to
external code. The following are examples of insane object errors:


Insane Object at BDHP+4D50 in 'sksks.vi': (graphics) (0x80):wire segment
(WIRE)

Insane Object at BDHP+5CA0 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. 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.

If you receive an insane object message, it is best to delete and recreate
the most recently created objects on either the front panel or block
diagram, depending on whether the error message contains "FPHP" or "BDHP".
Make use of the text in the error message in deciding which objects to
rebuild. In the case of the second message above, it would be best to
delete and recreate the most recently created loop tunnels.

Another workaround that works best if the VI is small is to select the
entire diagram and copy it to a new VI. After saving the new VI, there is a
good chance the insane object error will no longer appear. If the VI is too
large to cut and paste to a new VI and another computer with an identical
version of LabVIEW is available, you can copy the VI to disk (or to your
network if that is available) and open it on the second machine. If the
insane object errors do not appear, save the VI (on the second machine) and
transfer it back to the original PC (by disk or by network). The new,
uncorrupted version of the VI should now run without generating the insane
object error.
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
Message 2 of 6
(3,361 Views)
Select the entire block diagram, copy and then paste into a new blank VI. This often removes the offending "insane wires".

Shane
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Message 3 of 6
(3,361 Views)
Yes, this often removes the offending "insane wires". However, you may need to bear with it if you are having a huge code.

One more suggestion is that one could just try removing the last (few) added/ edited wires/ objects etc to see if that removes the "insane object".

Cheers
ian
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 4 of 6
(3,361 Views)
I used to get this error with incorrect video monitors and graphics cards.

It would pop up after migrating LV code to an older machine.

trousanm@yahoo.com wrote in message
<50650000000800000059800000-1042324653000@exchange.ni.com>...
>I am using LabView 6.1 and NI-IMAQ 2.5.2 for my program which deals
>with moving a camera in a grid in x,y,Z and also do magnification.
>Also I am using the program to capture images. The program was doing
>fine, and this problem start to show up when I made some adjustments
>in the code on another machine which has both above mentioned
>sofwares.
>The problem appears when I first try to save the changes I made to the
>program and still showing when I will save any changes or try to see
>error list when still working on it. T
he messages that keep showing
>are :
>"Insane Object at BDHP + 306 A in AIMS Improved.VI {Graphics} [0x80):
>Wire segment (wire)" .(Aims-Improved.vi is the program I am working
>at).
>when I klick OK on this message it shows this same message again but
>with different forms of the value " BDHP + 185064, or + 306868, or +
>185104, or + 306 A10, 306 B or C"
>Even when I tried to run the program as it shown know errors in the
>error list, it would not function well.
>Do you know what could be going on?
0 Kudos
Message 5 of 6
(3,361 Views)
Often the problem with this sort of thing is that wires are running way out of bounds for the VI's diagram. Unfortunately, the error message isn't helpful in figuring out which wire is funky.

Start by looking for very large diagram constants that are located in structures (loops, case, etc) that are significantly smaller than they are.

Next, look for wires that seem to run off under the edge of a structure without going directly to a terminal or tunnel.

Finally, start deleting wires and reconnecting them a few at a time until the problem goes away (yeah I know, it is a pain...)

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 6
(3,361 Views)