04-13-2010 03:30 PM
I'm trying to interface with my C++ program which uses an array of std complex found here. I've setup my system to receive the data over UDP port.
The C++ software sends over an array of type complex looking like thi:
std::complex<int16_t> *host_items
Would it be easier to write a C++ dll to convert type complex to 16 ints? So far this has been my only solution. Does Labview have any other functionalities that makes my life easier?
Thanks.
04-13-2010 03:38 PM - edited 04-13-2010 03:42 PM
04-13-2010 03:54 PM
I want it in type single in LV.
complex<int16_t> contains and I and Q of type in 16 (2 numbers). I'm not too sure how it's held in binary format though.
I've already tried to do a direct typecast using LV, but I get some N/A in the array (which I'm assuming is an invalid number from a invalid typecast).
04-13-2010 04:19 PM