Hello,
Thanks for using National Instruments' Discussion Forums!
Like you mentioned, when using a Sobel Kernel you will receive two different images as a result if the kernels themselves are different. In fact, with the two you mentioned you will most likely get one image that highlights X direction edges and one image that highlights Y direction edges.
The fact that you are getting the same image leads me to believe that perhaps the same image buffer is being used for the resulting image. The image data type within LabVIEW is actually a pointer to a location in memory, and if we have only created one place to store an image, our second convolution will write the resulting image over the first resulting image.
In this case, you should be able to easily make a second buffer with a different name in Labview. Use this buffer as the destination for your operation.
Additionally, you should be able to use an Image absolute difference on the "operators" palette and subtract a constant 0 in order to take the absolute value of your image.
Hopefully this should resolve your problem. If it doesn't, let me know a little bit more about its behavior and I am sure that we can get things worked out.
Have a great day,
Robert