LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bug in IMAQ GetKernel family type enumeration

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

Message Edited by Root Canal on 05-01-2009 07:20 PM
Message Edited by Root Canal on 05-01-2009 07:20 PM

global variables make robots angry


Download All
0 Kudos
Message 1 of 2
(2,833 Views)

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.

Jeff | LabVIEW Software Engineer
0 Kudos
Message 2 of 2
(2,789 Views)