LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DATA BABYLON or waveform data from (win) LabVIEW to linux phyton

We create a lot of data with LabVIEW (win) , we usually handle as waveforms with some additional data also stored in the attributes (variant).

Using the standard waveform write to file and read from file works fine for us.

However, now we need to exchange data with some colleagues and partners that use phyton (linux OS).

Is there a documentation how this waveform is stored?

What have you used , or would you use? 

Yes, plain ASCII TXT works , but is no solution in this case 😉

We tried HDF5 in the past to exchange with matlab/octave but found inconsistent results between different matlab and OS versions 😞 and couldn't read the HDF5 files created by someone else)

 

 

 

 

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


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

Hi,

 

I've never used it.

 

Calling Python Code from LabVIEW

 

This VI sends inputs to a simple Python script, and returns its output.  The basic method could be used to call code from many different languages, like Python, Perl, and Tcl.

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

Hi,

 

as I understand it, there is two options:

 

- One option is to use tdatasocket to send the data from LabVIEW out onto either the datasocket server or a server somewhere else and then have the other program pull that data.

- The other option is to have LabVIEW write to a tdms file and have a third program read the tdms files into python and then aggregate the data.

 

Note:

You can only use DataSocket as a client on Linux, Solaris and Macintosh. This means that from a non-Windows machine you can publish to and read from a DataSocket Server, but the server itself must be running on a Windows machine.

The DataSocket Server application is built on Windows-based ActiveX technology and so is only available for Windows environments.

 

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