05-10-2002 12:13 PM
05-13-2002 11:56 AM
LabVIEW, C'est LabVIEW
05-13-2002 01:57 PM
LabVIEW, C'est LabVIEW
05-14-2002 11:45 AM
05-13-2002 01:29 PM
08-18-2005 11:34 AM
Hi
I'm also having problems extracting data from a safearray. I've made the cluster according to the struct defined above but am getting a type mismatch error.
I'm trying to display an image from an Apogee Alta ccd camera and the output of Image Array as stated by the camera documentation is "safearray of Long of size NumX * NumY containing the pixel values from the last exposure - CCDCamera.ImageArray(read only, Long)".
Any help or suggestions would be appreciated!
Thanks,
S
I'll try to attach my vi to this message...
07-12-2010 09:39 AM
HI,
I am having similar problem. I am trying top extract variant data that are described as Safearray of VT_I4 data but no success. I am setting the type of the "Variant to Data" to Cluster containing an array of long (I32). And many other combinations.
Any idea?
Thanks,
02-14-2012 09:13 AM
I was also getting a similar problem. I was getting ': OLE Variant
Variant Type -> VT_ARRAY|VT_VARIANT
Value -> Array(Non Displayable)
in the variant indicator.
I was expecting a 1D array of integers. When I used Variant to Data VI, I was getting type mismatch error.
Some how, out of the blue, I got an idea of increasing the dimension of the "type" input to the Variant to Data VI (making it a 2D array). After that, everything worked fine.