STMAFM Main

From SPM-Wiki
Jump to: navigation, search

Main Form

The STMAFM form contains the main control elements of the software. Below the menu bar several control the data acquisition and analysis of the STM data.

To take a new image press the START button. To stop press the STOP button. When a new scan is started a default filename is assigned to the image. It consists of the date and time, when the scan was started. Its extension will be '.dat'. A single letter is put in the front of the name, which is used to indicate the machine name. (Example:' A020124.190937.dat' ). To save the file either press the QSAVE button which saves the file in the current directory, indicated in the status line at the bottom of the window, or use the menu command Save *.dat under File. As long as the files has not been saved a ' * ' is attached to the file. Copy copies the data in the left image to the second image on the right.

The basic operations to display the data are done using the following buttons:

DA:  Display the image using different line by line subtraction modes 
DX:  Display the image using automatic plane substraction
DP:  Display the image using plane substraction
LA:  Display image in DA mode and perform automatic scaling
LP:  Perform a low pass filter operation
HP:  Perform a high pass filter operation
Pln: Input 3 points (with the mouse) to determine the plane for plane background subtraction
Lin: Calculate a linescan along a line between 2 points
LM  Lateral manipulation
VM  Vertical manipulation of I/V spectroscopy
TF  Tip forming

Use Disp LinePlan Quad under Display in the menu subtract to perform an automatic line/plane subtraction using also quadratic terms Below the buttons you find the Palette window, which displays the current 8bit palette. Use the left mouse button to switch between different standard palettes. Using the right mouse button will open a popup menu with additional options to create a user defined palette or to load and save externally defined palettes.

The small list box on the right is used for communication between different instances of the STMAFM program. If the instance of the program which is in data acquisition mode saves a file then this filename is send to all other instances of the program running in analysis mode.

Below the buttons the screen is separated in two parts, divided by an horizontaly movable slider. On the left is always the image of the current data file displayed. All the operations like scanning and image processing are done in this part on the window. On the right usually a list of all loaded files is displayed. A small icon image and some info is shown for each file. The two modes to display these data are 'Report" and 'Icon' view. The modes can be selected under menu item 'Display'. When in Report view pressing on the 'Image' bar will switch the way how the info is displayed. The list view can be suppressed by selecting 'Image2' under menu item 'Display' and the second image is displayed instead.

On the bottom of the window a status bar is located. It shows the current date and time, some status info about the scanning status, the mouse position on the image,the size of the image, the current default directory, the available space of disk storage.


Clipstmafm.png

Menu Structure

File

Open  *.DAT            Open STMAFM DataFile
Save  *.DAT            Save STMAFM DataFile
QuickSave              Save STMAFM DataFile in active directory
Export File		
Save  *.BMP         	Save Image as BMP-File
Save *.JPG		Save as JPEG File
SaveEMF *.EMF           Save Image in EMF Format
SaveAscii *.ASC   	Save Image-Data in ASCII Format
Import File		
Load *.BMP      	Load BMP File
Load *.TIF		Load TIF File
Print		
Print Image             Print the image
Print Listview          Print the Filelist in Listview
Printer Setup           Select the printer
Special		
Compress Files		All Files are saved using Data compression with Zlib
Save Listview-Files   	Save List of Files in the Listview window
Autosave  *.bak       	Save all recorded images
AutoSave All		Save all images
DOS-CommandLine   	Open a DOS-Window
HPData			Get Data from Agilent Datalogger
Get_SRS_Lockin_Val	Get External Lockin Setup Parameters

STMAFM-Analysis        Start another copy of the STMAFM-Program
Exit                   Exit the STMAFM-Program
About                  About 
ReOpen                 Opens the last file


Edit

Copy Clipbd                Copy the image to the clipboard
Copy Dataimage2            Copy left image to the right
Copy Clipbd EMF            Copy the image to the clipboard in EMF Format with Info
Copy New Window            Copy the image into new form
Copy Overview              Copy the image into the overview form
Copy Palette to Clipbd     Copy the palette to the Clipboard       

Scan

Scan Start             		Start the Scan
Scan Stop              		Stop the Scan
Enable/Start RepeatTimer	Start the Repeat-Timer
Preamplifier                 	Select the preamplifier
Preamp_Femto_LowNoise  		Select for Femto Preamp in Low Noise Mode
Preamp_Femto_HighSpeed 		Select for Femto Preamp in High Speed Mode
Preamp_Femto_100G		Select for Femto Preamp with fixed gain 10^11
Preamp_UserType			Select for User specific Preamp 
Autofilesave			Save every image
Autorepeat			Start a new image automatically
Autodispreset         		Clear the image window when starting a new scan
Show Scanline Marker		Display a red line at the actual scan line position
Display current Scan Profile	Display the current line as a line scan in a separate window

Scan_Y_Direction		Select the Scandirection (Top-Bottom,Bottom-Top,etc)
ScanCoarse			Check to set scanning by Coarse Piezos otherwise the main Piezo is used

DSP

Lateral Manip.      		Lateral Manipulation
Vertical Manip.            	Vertical Manipulation
Tip Forming                	Tip Forming
SetXYOffset - Top           	Set the xy-offset for the new top site
SetXYOffset - Center        	Set the xy-offset for the new center site
SetXYOffset - Zoom        	Set the xy-offset for the new center site
ResetXYOffset  			Set the xy-offset to (0,0)
Copy Offset from Param    	Copy the xy-offset values from the scanparameterlist
1: Offsetx,y:  0 0          	Select as new Offset
2: Offsetx,y   0 0          	Select as new Offset
3: Offsetx,y   0 0          	Select as new Offset
4: Offsetx,y   0 0          	Select as new Offset
Set_Plan_Dx_Dy			Set the parameters for the plan-offset. 
Set_DSP_Clock 			Change the Clock-Frequency of the DSP-FeedBack-Loop

Image

Undo Filter                 	Undo last image operation
Filter
 LowPass                     	Low Pass Filter the image
 HighPass                    	High Pass Filter the image
 Laplace                     	Laplace Filter the image
 Median				Median Filter
 Edge(Horz)			Edge Filter in the horizontal direction
 Invert                      	Invert the image
 Imagedata * 10			The image data is multiplied by a factor of 10
 Imagedata / 10			The image data is divided by a factor of 10
Resize
 Zoom_Up_Rect             	Zoom up a selected rectangle 
 Resize   / 2                	Resize the image
 Resize   x 2                	Resize the image
 Interpolation  / 2          	Interpolate the image
 Interpolation  x 2          	Interpolate the image
      
Rotate90deg
FFT
 FFT2D                       	Fast Fourier Transform
 FFT2D Invers                	Inverse FFT
 FFT2d Cutout               	Cutout a part of the FFT
 FFT Evaluate			Open FFT Evaluate window
Image Analysis
 Histogram                   	Show the histogram of the image
 Areacalculation             	Calculate the size of islands
 Islandsize                  	Calculate the size of islands

Display

Zoom
 100%
 200%
 300%
 400%
ListView
 Report				Show files as icons and info
 Icon				Show files as icons only
 Image2				Show Image2 and not the Listviewbox
 ListViewBox enabled      	Enables the ListView Box	
 AutoclearList                	Clear the Listviewbox before new a new list is added
 Largeiconsize=64-256   	Icon size of the images in the listviewbox
 Load Icon Plan              	Load the icons using image plan subtraction
 Clear Listview			Clear the ListView
  	
DispCommands 
 DispAuto                    	Display image using linear line background subtraction 
 DispPlanAuto                	Display image using auto plan background subtraction 
 DispPlan                    	Display image using plan subtraction
 Last Disp Autoscale		Display with automatic scaling
 Plan Auto Subtract		Like Displanauto + subtract plane from image data
 Linescan                    	Linescan in the image
 Plan2dinput                 	Input 3 points to select the background subtraction plane
 Configuration
  DACunits                    	Select DAC units
  nm-Units [A]                	Select Angström units
 Display Image in Lines		Select to display image in line and not gray scale mode
 Disp LinePlan Quad		Select to perform lin.+quad. Backgroundsubtraction
 Disp Plan and Subtract	If selected Disp Plan subtracts the plane from the image data
 Disp Automode Offset/Slope   	DA Mode subtract offset and slope line by line
 Disp Automode Offset   	DA Mode subtract offset line by line
 Disp Automode None 		DA Mode subtract offset of first line
 Disp Automode Diff		DA Mode differentiate image data line by line

Forms

Parameter
Lat.Manip            		Show the Latmanip window
Vert.Manip           		Show the Vertmanip. window
Time Spectrum			Show the Time Spectrum window
AFM				Show the AFM PLL window
Ramp-Controller			Start Ramp Controller
New Channelform			Open another Channelform
Linescan            		Show the linescan window
Draw Grid			Show Grid window
3dView				Show 3d View window	
Memo				Show separate Memo window
Overview                		Show the overview window
Slider				Show the Slider window
User Form			Show the User Form
Reset Form Positions		Position all windows at (top,left) = (0,0)
Show/Hide Old Param 		Show/Hide the old Parameter window


Debug

Reset Scanstatus            	Enable all buttons again
Remote				Open Remote window
Client Server Control		Open Client Server Control
FIFO_COM USB2.0                Shows whether communication is by USB2.0 Hardware
Build Testimage                Build a new image without scanning
STM Simulation			Run the STM Programm in Simulation Mode (with DSP) 
PLL Off                        Switch PLL off
Debug Messages On   		Show Debug messages
Block Data Transfer		Transfer Data after Acquitstion has been done
ADDA DSP Connect		Manually start/stop communication between DSP and ADDA
Form Memory Watch		Shows some status data
      

Tools

Tip-Etching			Open to etch STM tips
Initialization			Open Initialization window
Data Recorder			Open Datarecorder window
Flash Utility			Utility to burn Flash on DSP Board with new DSP software

Help

Show STMAFM-Manual		Show STMAFM Manual (PDF)


Main Buttons

Start or F1: Start the scan

Stop or F2: Stop the scan

Qsave or F3: Automatically saves an image in the actual directory

Copy or F4: Copy Image1 to Image2

LM or F5: Perform a lateral manipulation

VM or F6: Perform a vertical manipulation or spectroscopy

TF or F8: Perform tip forming

DA or F9: Display the image with automatic line by line background subtraction

DX or F10: Display the image with automatic plane background subtraction

DP or F11: Display the image with planar background subtraction with predefined parameters

LA or F12: Display the image with automatic greyscale scaling

LP or Shift F9: Low pass filter

HP or Shift F10: High pass filter

PLN or Shift F11: Input 3 points for the plane used in plane background subtraction

LIN or Shift F12: Display a linear scan between two points on the image