LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pass a TCP socket as an input parameter to a VI

How do I pass a TCP socket as an input parameter to a VI?

 

I have a class with a method that does some operations on a TCP socket.  However, I can't figure out how to pass a TCP socket to it.

0 Kudos
Message 1 of 3
(2,261 Views)

Is this a LabVIEW class or are you trying to pass it to a DLL? If it is being passed to native LabVIEW code, simply use  TCP reference.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 3
(2,249 Views)

Hi Mark, it is not a DLL. It is a LabVIEW NXG class I made.

 

Normally to pass parameters to a method you draw some control and check "On Connector Pane."  However, I don't know what type of control to use to represent a TCP connection.

0 Kudos
Message 3 of 3
(2,189 Views)