Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66748

return c++ .net parameters to invoke_node

$
0
0

I have a c++ dll (unmanaged, non-.Net) with over 80 routines that can be successfully called from LabVIEW using the Call Library Function Nodes.

 

I am trying to create a new .Net version that can be called from the Constructor / Invoke Node Dlls. So far, I took two of the simple routines, created a .Net dll assembly, can connect to my class in the assembly with the LabVIEW Constructor, and can call the routines using Invoke Node.

 

But, all the connectors for the parameters (other than the return value) on the InvokeNode connector are inputs. What am I missing (in C++ or the InvokeNode implementation) to get the method parameters to be output connectors?

 

typical declaration:

unsigned int __clrcall Class1::Function1(int p1, int P2, char* p3)

{

}

 

The function value returns correctly, but I also need to return the P2 value back to LabVIEW.

 

 

Thanks,

RBM


Viewing all articles
Browse latest Browse all 66748

Trending Articles