キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

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 件の賞賛
メッセージ1/11
5,130件の閲覧回数
It is a general bug and is intented to be fixed in the future... ;(
0 件の賞賛
メッセージ2/11
5,103件の閲覧回数

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 件の賞賛
メッセージ3/11
4,998件の閲覧回数
I'm having the exact same problem. Still loooking for an answer...
0 件の賞賛
メッセージ4/11
4,895件の閲覧回数
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 件の賞賛
メッセージ5/11
4,891件の閲覧回数
Hi ScotchTape!
Do you have an example of that code?
Thanks 🙂
Jan
0 件の賞賛
メッセージ6/11
4,889件の閲覧回数
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 件の賞賛
メッセージ7/11
4,888件の閲覧回数
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

メッセージ8/11
4,878件の閲覧回数
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 件の賞賛
メッセージ9/11
4,873件の閲覧回数

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

Thank

0 件の賞賛
メッセージ10/11
4,870件の閲覧回数