08-04-2010 11:51 AM
Where do I find the documentation for using the datasocket APIs from a C program.
PS - I am planning on using this C program on Linux.
08-05-2010 06:32 PM
Randy,
See the link below for documentation on the DataSocket Library:
DataSocket Library - NI LabWindows™/CVI™ 2009 Help
http://zone.ni.com/reference/en-XX/help/370051P-01/TOC163.htm
Best,
Chris LS
08-07-2010 11:05 AM
Two more questions:
1. The overview says" The functions in the DataSocket Library are not supported on Linux." is that true - the datasocket API is not available on Linux? That seems like a big deficiency!
2. Where is the documentation for how to use these functions, this is only a reference manual.
08-10-2010 02:02 PM
Randy,
As far as I know, the Datasocket Library is packaged with LabWindows/CVI which at the moment has limited functionality with Linux as seen in the link below. There is hope for more functionality in the future however. As well, there is more documentation on the Datasocket functions in the CVI help documentation. Do you have this software?
LabWindows/CVI Version Comparison Matrix - Developer Zone
http://zone.ni.com/devzone/cda/tut/p/id/7995
If you have LabVIEW, you can build a LabVIEW application on Linux that will take advantage of the Datasocket API to communicate through that interface.
Best,
Chris LS
08-10-2010 02:14 PM
I see nothing in that matrix that says anything about the datasocket api library.
08-10-2010 02:16 PM
I don't want to build a Labview application that uses datasockets on Linux, I want to use the datasocket api library in Linux.
i.e. Write a "c" program using the datasocket api library to send data to a datasocket server.
08-11-2010 05:46 PM
Randy,
After looking into this a little more the DataSocket API is only available through LabWindows/CVI. LabWindows/CVI has limited functionality on Linux and the DataSocket API is not supported on Linux. The matrix found at the link references the support for linux applications added as of LabVIEW 8.0 and not updated since.
Best,
Chris LS