Hi A Geary,
To read the intensity of a pixel at a certain location in the image, have a go at using the GetPixel method as described in the cwimaq.chm help file (C:\Program Files\National Instruments\Vision\Documentation\cwimaq.chm). This will return the value that you're looking for, I hope this is the sort of thing you had in mind!
The example code from the help file is as follows:
Private Sub Run_Click()
Dim point As New CWIMAQPoint
Dim value
' Initialize the point alpha planes
point.Initialize 10, 10
' Get the pixel from the image in Viewer1
CWIMAQVision1.GetPixel CWIMAQViewer1.Image, point, value
' Set the pixel value at a different location
' into the image in Viewer1.
point.Initialize 40, 40
CWIMAQVision1.SetPixel CWIMAQViewer1.Image, point, value
End Sub
With regard to your issues with the LightMeterRectangle method, please note that the method can only be used with U8, I16 and single-precision floating point images. U64 RGB images, for example, as not compatible. You can cast the image to another type if necessary to ensure compatibility with the method. After you have done this, you should be able to use the method on continuous and one-shot acquisitions.
I hope this helps!
Regards,
Tom
Applications Engineering, NI UK