Is there a proper way of checking if a variable is uninitialized or empty?
As a workaround I've been comparing with results from gen_empty_obj to see if its empty, but I have no idea how to check if a variable was initialized.
HalconDotNet - Check if Halcon variable is empty or uninitialized
405 views Asked by Malinko At
1
Here are some basic checks, using try-catch statement. Made two scenarios for demo, but you could wrap those checks in a procedure to make it more readable.