


// Script function: GetPixel command.

// Unless named starting with GlobalSino, EM, My, Self, the function commands are defined 
//by Gatan DM, please see at link: http://www.globalsino.com/EM/page2597.html



image GlobalSinoImage := GetFrontImage()
number EMValue
EMValue = GetPixel(GlobalSinoImage, 10, 50)
result ("The pixel value of the coordinate (10 for x, 50 for y) is: " + EMValue + "\n")