01-29-2009 08:09 AM - edited 01-29-2009 08:12 AM
I get an error when I run it.
Error 1073 occurred at Invoke Node in Highlight-1.vi
Possible reason(s):
LabVIEW: This property is writable only when the VI is in edit mode, or this method is available only when the VI is in edit mode.
Method Name: Obj Highlight
So the property exists and I can execute it, but it is illegal in LV 8.5 to highlight a control on a running VI. Oh well, it was an interesting idea.
That is why Darren didn't realize it worked on running VIs. It didn't! Just one of those features that slips in during an upgrade!
01-29-2009 08:14 AM
Oh well.
maybe someone could use it in an XControl.
As for myself, I love the QD of 8.6 so much that I will be forced to develop in anything lees than 8.6.
Ben
01-29-2009 08:20 AM
Don't get me started on the dropped PPC support. They support compiling PPC code for embedded systems but not Mac OS.... *&&%^*&%^ Until my PPC systems retire I am 8.5.1. Given the longevity of Macs this could be awhile. I just can't afford replacing hardware that often!
I am just hoping that all new features become VISTA only.... 🙂
01-29-2009 10:10 AM
Didn't we normally do this with the Control.blinking property?
Ton
01-29-2009 10:41 AM
Ben wrote:
If it works we may be able to go bak fartehr than 8.5.
The method has been around as a private method since LabVIEW 7.0, possibly earlier. But yes, I can verify that it will not work on running VIs in any version prior to 8.6. As I mentioned previously, I have filed a CAR to get the documentation fixed in the next release.
-D
01-29-2009 10:48 AM
Ton,
On my PC, Ben's example doesn't look much different than the blink or changing the colors of the string. However, if you reduce the size of the string to one line, you will see it visually look different (at least on my PC), where you have a larger black rectangle slowly reducing in size to the string control.
02-02-2009 11:28 AM
02-02-2009 12:02 PM
It's hidden behind the sequence structure. ![]()
Ben
02-02-2009 12:06 PM
02-16-2009 06:14 AM
Ben wrote:
This method when executed invokes the same behaviour we see when we click on a terminal in the block diagram and choose "find control". So now we can use this same behaviour in our apps.
Or just when we "double click" on a terminal on the BD. ![]()