11-21-2010 10:51 AM
Hello,
I am looking for examples on how to use the New Data Reference Function with LV Classes to achieve ByRef access to objects.
I would be very grateful for some code.
Greetings
Solved! Go to Solution.
11-26-2010 03:20 AM
Hi,
a reall Call by Reference is not possible in LabVIEW. A good method would be to use a queue with the size of one element - then you can always pass the queue reference and read and write the new items in there.
Or you use a FGV to store your object, that would work as well.
😄
RMathews
11-26-2010 08:11 AM
According to what I have read, those earlier implementations had some holes.
See here for an example of a Singlton and more words from Stephen.
Ben