
// Script function: Output Microscope Voltage


// 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 EMimg := GetFrontImage()

TagGroup EMtg = EMimg.ImageGetTagGroup()

number EMvoltage

EMtg.TagGroupGetTagAsNumber( "Microscope Info:Voltage", EMvoltage )

Result("The Electron Beam Energy = " + EMvoltage + " V.\n" )

