Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Control Reference does not work...external library reqquired.

Labview Version 8.0
Ni Vision Version 8
IMAQ Software 3.5.1

The error is exactly

Plug In 'Plug In': control requires an external library.

and despends on placing an image reference control on the front panel. I reinstalled erverything, does not help. What can I do next?

Thx for help




0 Kudos
Message 1 of 11
(5,124 Views)
It is a general bug and is intented to be fixed in the future... ;(
0 Kudos
Message 2 of 11
(5,097 Views)

Does anyone know if this bug is supposed to be fixed in LabVIEW version 8.2.1?  I'm having the same problem, trying to update an image control from a sub-VI.  I just can't do it.

 

Thanks

0 Kudos
Message 3 of 11
(4,992 Views)
I'm having the exact same problem. Still loooking for an answer...
0 Kudos
Message 4 of 11
(4,889 Views)
The work around I ended up with involves calling the Windows API method InvalidateRect (in the User32.dll).  For simplicity I set all the arguments to 0 which causes all the windows to be repainted.  It isn't pretty but it does get the image to update.
0 Kudos
Message 5 of 11
(4,885 Views)
Hi ScotchTape!
Do you have an example of that code?
Thanks 🙂
Jan
0 Kudos
Message 6 of 11
(4,883 Views)
I've enclosed a copy of my InvalidateRectangle VI.  I don't have a simple project that I can include. 
 
Once I've set a new image to the ImageDisplay I call the InvalidateRectangle VI and it updates.
 
Let me know if you have any other questions.
0 Kudos
Message 7 of 11
(4,882 Views)
I ran into this problem before as well.  There is a very simple fix (until NI fixes the problem natively):

Upcast your image display reference to a generic LV control reference (using the "To More General Class" primative) and then pass that reference to your subVI.  In the subVI, cast it back to the image display reference (using the "To More Specific Class" primative).  You should then have access to all the properties and methods available for your image display, including the ability to update the display with new data by wiring an image reference to the "Value" property node.

Message Edited by Yuri33 on 07-26-2007 02:19 AM

Message 8 of 11
(4,872 Views)
Thanks to both of you! I ended up going with Yuri's idea as I'm still not too familiar with calling dll's.
Cheers
Jan
0 Kudos
Message 9 of 11
(4,867 Views)

Did it work OK?  If so I may switch to that also.

Thank

0 Kudos
Message 10 of 11
(4,864 Views)