LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting byte array from ActiveX control

I was wondering if anyone knows how to read back a byte array
from an ActiveX control. I created an ActiveX container
in my VI and used it to load an ActiveX control. One of the
methods of the ActiveX returns a BYTE* or byte array and I
was wondering if it was possible to access the contents of the
array within Labview. I tried playing around with Variant to
Data and the Type Cast functions, but they don't seem like
they're appropriate for the situation.

Thanks,
Howie
0 Kudos
Message 1 of 2
(2,695 Views)
I would suggest taking a look at Using External Code in LabVIEW manual. It generally shows how to share data between LabVIEW and external code.
I would have imagined that the Variant to Data with a byte array would have worked, though I am not sure.
0 Kudos
Message 2 of 2
(2,695 Views)