LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cross Platform VI Communication

Is it possible to easily communicate data between a VI running on different operating systems? OS X and Windows XP?

Regards,
Ken
0 Kudos
Message 1 of 5
(3,151 Views)
Hi Ken,
you can use TCP/IP to send data. Or if you have LabView 8.x shared variables are also possible, but i prefer to build my own communication with TCP/IP.

Hope it helps.
Mike
0 Kudos
Message 2 of 5
(3,144 Views)
I'd generally prefer not to write my own TCP/IP code, but I'll take a look at shared variables.
0 Kudos
Message 3 of 5
(3,138 Views)
You can also use VI server to implement data communications by creating a functional global to hold the data you wish to transfer. Write data to the FG from the source system and then use VI Server to read the FG remotely.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 5
(3,127 Views)
 
 

Hello Ken,

Thank you for contacting National Instruments.  As some users have already stated, you can achieve this by using a TCP/IP connection or using shared variables.  Both implementations have their difficulties and I can understand that you would prefer to avoid using the TCP/IP connection. 

Here is some more information regarding the use of Shared Variables.  I would recommend utilizing the DataSocket API aspect of the shared variables.  This will allow you to dynamically change the shared variable that a VI reads and writes. You can change a shared variable dynamically by building the URL of the DataSocket connection programmatically.  Keep in mind that the DataSocket server platform is only supported by the Windows operating system.  However the DataSocket client platform is supported by both Windows and Mac OS (Which products support DataSocket).

I hope this helps!  Please let us know if you have any further questions.




 



Message Edited by Bob_H. on 06-18-2008 02:02 PM

Message Edited by Bob_H. on 06-18-2008 02:03 PM

Thanks!
Bob H
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,097 Views)