05-01-2009 07:19 PM - edited 05-01-2009 07:20 PM
Your kernel filter family enumeration type for IMAQ GetKernel contains an item that crashes the function when selected.
To see this irritating bug,
1) place IMAQ GetKernel on the block diagram
2) right click on the Kernel Family input node
3) create a control
Notice that the enumerated type that you have programmed into IMAQ GetKernel contains a blank value for the number zero. This value breaks IMAQ GetKernel. What’s worse, IMAQ GetKernel requires this broken type, so if you create a control that doesn’t break IMAQ GetKernel, you have to cast it to a broken type on the block diagram to use it, then increment the value to make it correct.
Furthermore, the default control for the kernel size input node correctly coerces the minimum value to 3 and sets the increment to 2, but inexplicably allows a maximum value of (2^32)-1.The maximum allowable value is 7, beyond which GetKernel will once again break.
-root
05-04-2009 05:14 PM
Hi Root,
Thank you for your feedback. I have filed corrective action requestions on both of these issues (164772 and 164773 respectively). Keep an eye out for them in future patches/releases.