LAVA Forums Buy cool LAVA gear Forums RSS Feed

Welcome Guest ( Log In | Register )

> Related links

Check out our XNodes Code Repository Files and visit our LabVIEW Wiki XNodes Portal


Tags
(This content has not been tagged yet)
 
Reply to this topic Start new topic
> Any success with RefeeChanged anybody?
Tomi Maila
post Dec 4 2007, 04:05 PM
Post #1


Drawing Tool - LVOOP example application
*****

Premium Member
Posts: 1184
Joined: 29-January 06
From: Helsinki
Member No.: 4014
Using LabVIEW Since:2004
LV:8.5.1 ,8.2.1 ,7.1.1
Finland Nothing Selected Nothing Selected My Blog


Hi,

Has anybody had any success with RefeeChanged ability? I tried to use Add Linker Reference method of XNode class to register my XNode to change when a VI is modified or when the VI path is changed. However I fail to succeed, I only get an error from Add Linker Reference method that the manager function is not supported.

Tomi

--------------------
Tomi Maila



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Ad
post Dec 4 2007, 04:05 PM
Post #















Tags
(This content has not been tagged yet)
Go to the top of the page
Quote Post
Aristos Queue
post Dec 4 2007, 11:49 PM
Post #2


LV R&D Envoy
*****

NI
Posts: 1275
Joined: 15-August 06
From: Austin, TX
Member No.: 5877
Using LabVIEW Since:2000
LV:8.6 ,6.0 ,.
United States Nothing Selected Nothing Selected My Gallery


QUOTE (Tomi Maila @ Dec 4 2007, 10:05 AM) *
Has anybody had any success with RefeeChanged ability? I tried to use Add Linker Reference method of XNode class to register my XNode to change when a VI is modified or when the VI path is changed. However I fail to succeed, I only get an error from Add Linker Reference method that the manager function is not supported.

excl.gif For the love of LabVIEW -- LEAVE THAT FUNCTION ALONE. excl.gif

Nothing -- and I cannot stress this enough -- NOTHING that you write that uses any of the G linker functions can be considered usable in association with any given set of VIs unless it has been certified by a LabVIEW linker expert and tested directly by LabVIEW team in the Thousand Monkeys Test Suite for provider robustness. Your *probability* of destabilizing LabVIEW by creating new linker relationships and attempting to manage those relationships is as close to certain as you can get.

I don't know why you're getting an error. I can only say I'm grateful that you got an error because it prompted you to ask this question.

I'm sure you're trying to do something wonderful and magical with the XNode. Do it using an existing relationship. Have your XNode script a strict static VI Reference to the target subVI-- that'll get you a type prop call any time the other VI changes its conpane. Do something creative. But efforts to use the linker functions are pretty much doomed to failure unless you've got way more linker expertise looking over your shoulder than you do. The worst part is that you might even get it working in the 90% case. That 10% case will never be clearly understood and will simply result in bizzare LabVIEW behavior that you may never relate back to having one of these XNodes lingering around on some block diagram somewhere.

--------------------
"A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Tomi Maila
post Dec 5 2007, 08:29 AM
Post #3


Drawing Tool - LVOOP example application
*****

Premium Member
Posts: 1184
Joined: 29-January 06
From: Helsinki
Member No.: 4014
Using LabVIEW Since:2004
LV:8.5.1 ,8.2.1 ,7.1.1
Finland Nothing Selected Nothing Selected My Blog


QUOTE (Aristos Queue @ Dec 5 2007, 01:49 AM) *
For the love of LabVIEW -- LEAVE THAT FUNCTION ALONE.

Ok. I will. At least for now. This project I can work out without linkage modifications. Though I've in my mind another project with which I couldn't avoid using... smile.gif

Do I correctly read between the lines that you have personal experience on fighting with linkage issues wink.gif

--------------------
Tomi Maila



Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
Aristos Queue
post Dec 5 2007, 04:37 PM
Post #4


LV R&D Envoy
*****

NI
Posts: 1275
Joined: 15-August 06
From: Austin, TX
Member No.: 5877
Using LabVIEW Since:2000
LV:8.6 ,6.0 ,.
United States Nothing Selected Nothing Selected My Gallery


QUOTE (Tomi Maila @ Dec 5 2007, 02:29 AM) *
Do I correctly read between the lines that you have personal experience on fighting with linkage issues wink.gif

I want those 18 months of my life back.

You've never lived as a developer until you come into the office on a Monday morning, nine weeks before release, to find a bug report:
"File >> Save As" deletes my file from disk
filed by the poor sucker who tried to make a backup copy...

And all because someone somewhere made "just a small change" to the linker.

--------------------
"A VI outside a class is a gun without a safety. Data outside a class is a target."
--- A message from LabVOOP R&D


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
crelf
post Dec 5 2007, 06:16 PM
Post #5


I'm a LAVA, not a fighter.
******

V I Engineering, Inc.
Posts: 3849
Joined: 13-October 03
From: Michigan, USA
Member No.: 181
Using LabVIEW Since:1993
LV:8.5 ,. ,.
Australia United States Nothing Selected My Blog


QUOTE (Aristos Queue @ Dec 6 2007, 02:37 AM) *
"File >> Save As" deletes my file from disk



That's awesome! I couldn't think of anything more evil than creating-a-backup-deletes-everything biggrin.gif

--------------------


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post
eaolson
post Dec 5 2007, 07:05 PM
Post #6


Extremely Active
****

Member
Posts: 271
Joined: 15-September 05
Member No.: 3014
Using LabVIEW Since:1998
LV:7.1.1 ,8.0.1 ,8.20
United States us_texas us_illinois


QUOTE (Aristos Queue @ Dec 4 2007, 05:49 PM) *
excl.gif For the love of LabVIEW -- LEAVE THAT FUNCTION ALONE. excl.gif

Yes, but tell us how you really feel. wink.gif


Tags
(This content has not been tagged yet)
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

 




Time is now: 8th January 2009 - 01:40 AM