Hello,
That error will come up anytime you use the IMAQ Histograph.vi with an input image type other than 8bits, 16bits, or Floating (as these are the only supported types for the histograph function). Make sure your input is one of the supported image types.
Hope this helps!
Regards,
Yusuf C.
Applications Engineering
National Instruments