03-14-2019 11:33 AM
I never liked having to do this:
I submitted an idea (here) to have it be like this:
But nothing happened. So I made my own. Drop this XNode on your block diagram and you have a nice asych call.
03-14-2019 11:43 AM
That looks awesome! I'm on LV 2016 so I couldn't open it, but just out of curiosity: could you use option 0x40 to launch clones? Is the "close VI reference" inside the XNode? I notice you also have a reference as an output.
03-14-2019 11:56 AM
@Gregory wrote:
That looks awesome! I'm on LV 2016 so I couldn't open it, but just out of curiosity: could you use option 0x40 to launch clones? Is the "close VI reference" inside the XNode? I notice you also have a reference as an output.
It has 2 modes:
Here is a 2016 version.
03-14-2019 12:05 PM
Nice work!
I think I am missing something though, when I use Call & Collect the reference to the Wait On Asynchronous Call vi is broken. Should I be using something else?
Cheers,
mcduff
03-14-2019 12:13 PM
@mcduff wrote:
Nice work!
I think I am missing something though, when I use Call & Collect the reference to the Wait On Asynchronous Call vi is broken. Should I be using something else?
Cheers,
mcduff
Looks like I broke it somehow on my final cleanup. A fixed version is coming soon.
03-14-2019 02:10 PM
Here it is, fixed up.
03-14-2019 02:20 PM
Thanks.
One last quick question, do you keep these XNodes in your user library or is there another preferred place for them?
Cheers,
mcduff
03-14-2019 02:23 PM
We keep them in a folder of commonly used VIs (not on C:). I'm not sure if there's a 'proper' or best place for XNodes.
03-14-2019 02:28 PM - edited 03-14-2019 02:29 PM
@paul_cardinale wrote:
We keep them in a folder of commonly used VIs (not on C:). I'm not sure if there's a 'proper' or best place for XNodes.
In my opinion they behave just like classes. A single file which is a library (xml), which references other files needed. With that type of definition I'd say any place a class is stored is appropriate for an XNode. I'm a big fan of VIPM and as a result I generally make packages which install XNodes on the palette. BTW this XNode is awesome.
Edit: and yes I do get an email every time someone says XNode on the forums.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
03-14-2019 02:32 PM
@Hooovahh wrote:
@paul_cardinale wrote:
We keep them in a folder of commonly used VIs (not on C:). I'm not sure if there's a 'proper' or best place for XNodes.
In my opinion they behave just like classes. A single file which is a library (xml), which references other files needed. With that type of definition I'd say any place a class is stored is appropriate for an XNode. I'm a big fan of VIPM and as a result I generally make packages which install XNodes on the palette. BTW this XNode is awesome.
Edit: and yes I do get an email every time someone says XNode on the forums.
SpoilerXNode XNode XNode XNode XNode XNode XNode XNode XNode XNode 🙂
Do you ever have trouble getting XNodes on the palette? I often have to jump through hoops to get them on a palette (though this one doesn't give me any trouble).