Check out our XNodes Code Repository Files and visit our LabVIEW Wiki XNodes Portal
Tags |
(This content has not been tagged yet)
|
![]() |
Dec 4 2007, 04:05 PM
Post
#1
|
|||
|
Drawing Tool - LVOOP example application Premium Member ![]() Posts: 1168 Joined: 29-January 06 From: Helsinki Member No.: 4014 Using LabVIEW Since:2004 LV:8.5.1 ,8.2.1 ,7.1.1
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 --------------------
|
||
|
|
|||
| Ad |
Dec 4 2007, 04:05 PM
Post
#
|
||
|
|
|
||
|
|
|||
Dec 4 2007, 11:49 PM
Post
#2
|
|||
![]() LV R&D Envoy NI ![]() Posts: 1226 Joined: 15-August 06 From: Austin, TX Member No.: 5877 Using LabVIEW Since:2000 LV:8.5.1 ,. ,.
My Gallery
|
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. 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
|
||
|
|
|||
Dec 5 2007, 08:29 AM
Post
#3
|
|||
|
Drawing Tool - LVOOP example application Premium Member ![]() Posts: 1168 Joined: 29-January 06 From: Helsinki Member No.: 4014 Using LabVIEW Since:2004 LV:8.5.1 ,8.2.1 ,7.1.1
My Blog
|
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... Do I correctly read between the lines that you have personal experience on fighting with linkage issues --------------------
|
||
|
|
|||
Dec 5 2007, 04:37 PM
Post
#4
|
|||
![]() LV R&D Envoy NI ![]() Posts: 1226 Joined: 15-August 06 From: Austin, TX Member No.: 5877 Using LabVIEW Since:2000 LV:8.5.1 ,. ,.
My Gallery
|
Do I correctly read between the lines that you have personal experience on fighting with linkage issues 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
|
||
|
|
|||
Dec 5 2007, 06:16 PM
Post
#5
|
|||
![]() I'm a LAVA, not a fighter. V I Engineering, Inc. ![]() Posts: 3740 Joined: 13-October 03 From: Michigan, USA Member No.: 181 Using LabVIEW Since:1993 LV:8.5 ,. ,.
My Blog
|
"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 -------------------- ![]()
|
||
|
|
|||
Dec 5 2007, 07:05 PM
Post
#6
|
|||
|
Extremely Active Member Posts: 269 Joined: 15-September 05 Member No.: 3014 Using LabVIEW Since:1998 LV:7.1.1 ,8.0.1 ,8.20
|
Yes, but tell us how you really feel.
|
||
|
|
|||
![]() ![]() |
| Time is now: 22nd November 2008 - 07:34 AM |