
// Functions of "remainder" and "UpdateImage" commands

// 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

number xsize = 256, ysize = 256
image GlobalSinoImage := BinaryImage( "GlobalSinoImage", xsize, ysize )
GlobalSinoImage = remainder(irow+icol,50)
// It then sets all pixels in the image to a checker board pattern or 1's and 0's
ShowImage( GlobalSinoImage )
showalert("Update the image with a wider line interval?", 2)

GlobalSinoImage = remainder(irow+icol,180)
setwindowposition(GlobalSinoImage, 10,20)
UpdateImage (GlobalSinoImage)
















