LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exchanging LV array of strings between LV c-dlls and python

Hi,

 

I have a simple VI that I compiled to a c-DLL. That VI outputs 1 dimensional array of strings. I can't not find a recipe describing how to read that array of strings using python ctypes library.

 

Any help would be much appreciated.

 

Thank you

0 Kudos
Message 1 of 2
(984 Views)

That is not how you'd usually do it.

 

The problem with this scheme is that it's unclear who will release the data.

 

You'd usually allocate memory (a sufficiently large string) in Python, and fill this data in LabVIEW.

0 Kudos
Message 2 of 2
(833 Views)