6.4.  Digital Scan Mode

6.4.1. Purpose of the Digital Scan Mode
6.4.2. Types of Spectroscopy Measurements
6.4.3. Digital Scan Mode User Interface
6.4.3.1. Scan Area Panel
6.4.3.2. Positioning Panel
6.4.3.3. Tip Control Panel
6.4.3.4. Scan Control Panel
6.4.3.5. Measurement Info Panel
6.4.3.6. IV Tab
6.4.3.7. FD Tab
6.4.3.8. Grid Tab
6.4.3.9. Channels Tab
6.4.3.10. Extra Mixer Tab
6.4.3.11. Data Tab
6.4.3.12. Digital Tab
6.4.3.13. Advanced Tab
6.4.4. Executing Digital Scan
6.4.5. Handling Digital Scan Output Data
6.4.5.1. Output Data
6.4.5.2. Accessing Spectroscopy Data from Camera
6.4.5.3. Camera Spectrum Viewer (HDF5)
6.4.5.4. HDFView
6.4.5.5. Other HDF5 tools
6.4.5.6. Spectroscopy HDF5 Structure

The Digital Scan mode differs from the Analog Scan mode in two important ways: in the Digital Scan mode the host computer creates the scan movement and in addition to scanning the topography (image), the Digital Scan mode can perform spectroscopy measurements.

Scan Digitally In the Digital Scan mode, the host computer controls the tip position by sending commands directly to the X- and Y-mixer. No use is made of the X- and Y-generator for the scan movement. As a result, a digital scan can be much slower than an analog scan.

Measure Spectrum Spectrum measurements are taken perpendicular to certain locations on the surface. Camera supports two kinds of spectrum measurements: (tunnel) current-voltage (IV) measurements and force-distance (FD) measurements. The locations at which to measure spectra can be specified in several ways as detailed in the next section.

The Digital Scan mode allows six types of spectrum measurement:

  • No Spectroscopy: This scan mode is similar to the Analog Scan mode: for a given scan area, on each pointon the scan grid the ADC channels are read. Positioning is controlled by the host computer.
  • Full-Scan Spectroscopy: Both data from the ADC channels and spectra are acquired at each point of the scan grid.
  • Sub-Grid Spectroscopy: Data from the ADC channels is acquired on each point of the scan grid and spectra are acquired on the points of a smaller user-defined sub-grid of the scan grid.
  • Spectroscopy on User-Defined Points: [not implemented].
  • Zero-Scan Spectroscopy: For each point of the scan-grid both data from the ADC channels and spectra are acquired on the current offset position, so that the measurements of that single location are laid out as an image.
  • Single Spectrum: the button Single Spectrum in the scan area allows you to acquire one or more spectra at the (single) current offset position.

See Grid tab for more information on above types of spectrum measurements.

The Digital Scan mode user interface can be accessed by going into Measurement mode and selecting the Digital Scan tab.

Figure 6.6. Measurement Dialog Digital Scan Mode Tab

Measurement Dialog Digital Scan Mode Tab


The tab is made up of a number of panels and sub-tabs. We distinguish the following panels (the panel names roughly describe the panel contents):

The top-right has the following tabs:

We will describe each of these in detail below.

The Feedback Settings dialog, just below the Scan Area panel, is covered in Section 6.2.2.7, “ Feedback Dialog”.

6.4.3.1. Scan Area Panel

Figure 6.7. Digital Scan Mode: Scan Area Panel

Digital Scan Mode: Scan Area Panel


6.4.3.1.1. Image Size

These edit boxes and spin buttons allow you to set the true image size (scan area size) in nanometers for the scan. Currently only square areas are implemented, i.e. the controls for setting the image-size in Y-direction are disabled. The reason for this lies in its simpler implementation.

The maximum scan area size is physically limited by the DAC calibration factor and the DAC-range, i.e.:

Max Scan Aera Size = DAC_Calibration_factor * DAC_RANGE

Example: for a common value of 139.9 pm/DACbit the max. area size would be: 139.1 * ( 2^16 ) = 9116 nm

Selecting the Rectangular scan area checkbox (not yet implemented), you are allowed to enter a rectangular scan area. If not selected, the controls for entering the scan area Y-size are disabled.

6.4.3.1.2. Resolution

These controls allow you to set the scan resolution for the scan (i.e. the number of pixels that the scan will consist of in X- and Y-direction).

The scan resolution values can only be entered as a multiple of 4. The range is between 4 and 2048 pixels (hard-coded).

[Note]Note

The scan resolution is not related to the spectroscopy grid resolution (only in Full-Scan spectroscopy mode). The spectroscopy grid resolution is configured on the Grid tab.

6.4.3.1.3. Tip Speed

You can operate the tip speed controls to set the tip speed in nm/s.

The minimum tip speed is limited by the user setting for the limited tip speed. This is done on the Digital tab, see that section for more details.

The maximum tip speed is limited both by physical and user constraints. Therefor a distinction is made between the maximum tip speed as set by you, and the physically maximally possible tip speed. The latter will be referred to within Camera context as the maximum attainable tip speed. You can set the maximum tip speed on the Digital tab.

The tip speed is physically limited by the number of tip jumps that are made between two pixels (see section Steps on the Digital tab for detail on inter-pixel tip jumps.

When in auto-calculated jumps mode, the maximum speed that can be attained is moving from one pixel to the next in one jump. The maximum attainable tip speed in this case is:

Δpixel = Scan_Size_X / Scan_Resolution_X

vtip[max. Att.] = Δpixel / ELECTRONICS_WAIT

Where ELECTRONICS_WAIT is the time to send and execute one tip movement command (this time is hard-coded as 39 μs, after being experimentally determined).

However when auto-jump calculation is not selected, it is the user who requires a number of tip jumps to be taken in between two pixels. Given the number of jumps required, the maximum attainable tip speed is:

vtip[max. Att] = Δpixel / ( #jumps * ELECTRONICS_WAIT )

In case of auto-jump calculation selected and using the common DAC calibration factor 139.1, the maximum attainable tip speed for a scan area 1000 x 1000 nm and resolution of 100 pixels:

vtip[max. Att] = (1000 000 / 1000 ) / ( 139.1 * 10-6 ) = 7189 nm/s

The scale of the tip speed slider runs from min. user tip speed to max. user tip speed. If the maximum attainable tip speed is larger then the max. user tip speed, a yellow light will appear, making you aware that you are not using the full possible tip speed range.

If the max. attainable tipspeed is lower than the max. user defined tipspeed, the light will turn grey. The tip speed range will always be between min. user defined tip speed and max. attainable tip speed.

Furthermore, it is possible to display the tip speed scale in either linear or logarithmic form. This is controlled from the Digital tab.

The spectroscopy dropdown control determines whether spectroscopy measurements are taken during a digital scan.

The dropdown list provides the following choices:

  • No spectroscopy
  • FD spectroscopy
  • IV spectroscopy

When selecting one of the spectroscopy modes, pressing the Scan button will execute a scan using the spectroscopy mode as selected on the Grid tab. If No spectroscopy is selected, a scan will be made without performing any spectroscopy measurements.

6.4.3.1.5. Single Spectrum

With the Single Spectrum button you can perform one spectroscopy measurement. When you press this button Camera will do one spectroscopy measurement at the current tip location being the current offset position, and using the IV spectrum specification. Camera will open a scan document containing only one pixel. You can open the corresponding spectrum via the image context menu.

With the positioning panel you can control tip offset and scan rotation.

Figure 6.8. Digital Scan Mode: Positioning Panel

Digital Scan Mode: Positioning Panel


6.4.3.2.1. Scan Rotation

The scan rotation controls allow you to rotate the scan area with an angle lying between -90 and 90 deg. However, the software takes scan area boundaries into account, so the actual range that the scan area might be rotated might be less. The scan area boundaries are either the physical boundaries (see Scan Area Panel), or user-set scan area size when selected on the Digital tab.

[Note]Note

Definition: A positive rotation angle rotates the scan area counter clock-wise.

6.4.3.2.2. Tip Offset

The X- and Y-offset controls allow you to set the scan area offset in X- and Y-direction. When selecting a new offset position, the tip will move to the new position with the tip speed selected on the Scan Area Panel.

The ranges for the X-and Y-offset sliders are determined by the physical scan size (see Scan Area Panel) and will range from [-Max_physical_scan_size / 2, +Max_physical_scan_size / 2] in both X- and Y-direction.

However the scan size might be limited by the rotation of the scan area. One can imagine that the maximum offset for a 45 deg rotated scan area is less then that for a scan area with zero rotation.

With the tip control panel you can manage tip parameters and tip actions.

Figure 6.9. Digital Scan Mode: Tip Control Panel

Digital Scan Mode: Tip Control Panel


  • Pulse button: No operation.
  • Voltage slider and input field/spin-buttons: The Slider range is from -10V to +10V. Spin box steps are 10 mV. If you enter an out-of-range value, it is limited to the largest (positive or negative) possible value.
  • Bandwitch input field: The bandwith ranges between 0 and 52875 (1.0 / ( 2 * pi * 7000 * 430E-12 )). If you enter an out-of-range value, it is limited to the largest (smallest) possible value.
6.4.3.3.2.  Z-Offset Control

By adjusting the Z-offset you can bring the Z-feedback output to zero as close as possible. This allows you to increase the resolution of the recorded Z-position by using a larger ADC-gain for the Z-ADC than would otherwise be possible.

There are several reasons for having a (varying) Z-offset.

  • Z-scan range. You cannot always bring the sample exactly in the center of the Z-scan range.
  • Sloped sample. The average Z-height will depend on the scan location.
  • Temperature variations. There can be quite some drift due to thermal expansion of materials in the mechanical loop of the scanner. For this case, the Auto function can be very useful.

The Z-offset signal is generated by the Z-mixer and fed into one input of the Z high voltage amplifier. The other input of the Z high voltage amplifier is the Z-feedback output signal. The output of the Z-high voltage amplifier is the sum of both inputs, multiplied by the gain of the HV amplifier module.

You can control the Z-offset as follows:

  • Voltage slider and input field/spin-buttons: Manually set the Z-offset. The Slider range is from -10V to +10V. Spin box steps are 10 mV. If you enter an out-of-range value, it is limited to the largest (positive or negative) possible value.
  • Auto checkbox: Let the program determine and apply the offset value. The average Z-offset is computed after each frame, and the Z-offset is automatically adjusted to bring the average Z-offset to zero.
  • Max Adjust Value field: The largest offset that will be automatically added. Specify as positive value.
[Caution]Caution

In the Manual mode, be careful in making large steps while the tip is close to the sample. The feedback might be set too slow to keep the tip away from the sample, leading to a crash.

Figure 6.10. Digital Scan Mode: Scan Control Panel

Digital Scan Mode: Scan Control Panel


  • Scan button: Start a measurement.
  • Stop button: Stop the current measurement.

The Measurement Info panel is a table displaying a number of relevant scan parameters, consisting of input parameters and calculated values.

Figure 6.11. Digital Scan Mode: Measurement Info Panel

Digital Scan Mode: Measurement Info Panel


6.4.3.5.1. Reported Variables

The following variables can be displayed:

  • Tip Speed: Selected tip speed in nm/s
  • Steps between pixels: The number of tip jumps between pixels (see Digital tab). When auto-calculation of tip jumps is selected, the auto-calculated number is displayed. Otherwise the user-entered value for the number of jumps to be taken is displayed.
  • Single Step Spacing: The distance in pm between two tip jumps.
  • Single Step Time: The time required to take one tip jump.
  • Single Step Frequency: Number of tip jumps per second.
  • Pixel Spacing: Distance between two pixels in pm.
  • Pixel Time: Time required to move from one pixel to the next. The time shown does not incorporate any time required for spectroscopy measurement, when spectroscopy is ON.
  • Pixel Frequency: Number of pixels to be measured per second. This frequency too does not incorporate any time required for spectroscopy measurement.
  • Single Spectrum Time: Time required to perform one spectroscopy measurement.
  • Single Spectrum Frequency: Number of spectroscopy measurements per second. This value does not incorporate traversing time required to move the tip from one pixel to the next.
  • Spectroscopy Time: Time required to perform the spectroscopy measurements for one image (exclusive Scan Time)
  • Image Time: Time required to scan one image (this value does not incorporate time required for the spectroscopy measurements).
  • Total Image Time: Total time for scanning and measuring one image (Scan Time + Spectroscopy Time ).

Right-click in the Measurement info panel to get the Measurement Info Panel Configuration panel that lets you select which items to display and in what order.

Figure 6.12. Digital Scan Mode: Measurement Info Configuration Panel

Digital Scan Mode: Measurement Info Configuration Panel


6.4.3.6.  IV Tab

Taking an IV spectrum involves a sequence of actions including freezing and unfreezing the feedback, setting and ramping the bias voltage and reading ADC channels. This sequence can be controlled via the IV tab of the Digital Scan panel.

Figure 6.13. Digital Scan Mode: IV Spectroscopy Tab

Digital Scan Mode: IV Spectroscopy Tab


The following controls allow to specify a tunneling current versus tip-sample bias voltage (IV) spectroscopy measurement.

  • Vbias start: The voltage sweep's start voltage.
  • Vbias end: The voltage sweep's end voltage.
  • Δ Vbias: The voltage sweep's step voltage.
  • Slewrate: The voltage sweep's slewrate.
  • Oversampling: The number of samples to average at each point in the sweep.
  • Wait: Here you set the wait time for various actions. Select the action to define and enter the desired wait time.
    • 1 - Wait after move to start location: Wait after the move to the position to perform spectroscopy.
    • 2 - Wait after freezing feedback: Wait after the feedback has been frozen.
    • 3 - Wait after setting Vbias start: Wait after bias voltage start voltage has been reached.
    • 4 - Wait before sampling: Wait before taking each sample. Note: this may cause slow measurement in case of oversampling many times.
    • time: Enter delay time as .123, 123m, 123ms.
  • Sweep: Select the output to sweep (spectroscopy z-axis):
    • U sample
    • Z-Mixer offset
    • Offset mixer 4 (extra)
  • # Sweeps: The number of times to perform the specified sweep at the same scan point.
  • ADC n: Select the ADCs to acquire data from for the IV measurement. Note that these setting are separate from the ADC selection and gains used for topograpic imaging.
  • Amplifier Gain: Select the amplifier gains used for the IV measurement (1x 2x 4x 8x 16x 32x 64x).

The measured spectra are stored in HDF5 database files in the Camera project directory. The HDF5 files have the name of the raw file, suffixed with -Spectra.hdf5. Currently, these files do not contain frame images. For more information, see the section on the HDF5 structure below.

To view the spectra in the HDF5 files, the program Camera Spectrum Viewer (HDF5) is being developed. For the time being the HDF5 files can be viewed with a general purpose HDF5 viewer HDFView.

6.4.3.6.1. IV Measurement

There are two main variants to an IV Measurement: a linear sweep and a cyclic sweep (linear or cyclic voltammetry). The latter can be upgoing oe downgoing.

A linear IV spectrum measurement proceeds as follows:

  • Wait 1: wait after moving to the location where the spectrum is acquired.
  • Set gains: set iv-specific ADC amplifier gains. These setting are separate from the ADC selection and gains used for topograpic imaging.
  • Remember Vbias-org: remember original Vbias.
  • Remember feedback: remember feedback state.
  • Freeze feedback: freeze feedback.
  • Wait 2: wait after feedback freeze.
  • For each sweep:
    • Move to Vbias-start: move to Vbias-start.
    • Wait 3: wait after setting Vbias-start.
    • Sweep and acquire: sweep to Vbias-end and acquire samples with the defined waiting time (Wait 4).
  • Move to Vbias-org: after the last sweep, move to Vbias-original.
  • Restore feedback: restore feedback state.
  • Restore gains: restore general ADC amplifier gains.
  • Resume previous activity

A cyclic IV spectrum measurement proceeds as follows:

  • Wait 1: wait after moving to the location where the spectrum is acquired.
  • Set gains: set iv-specific ADC amplifier gains. These setting are separate from the ADC selection and gains used for topograpic imaging.
  • Remember Vbias-org: remember original Vbias.
  • Remember feedback: remember feedback state.
  • Freeze feedback: freeze feedback.
  • Wait 2: wait after feedback freeze.
  • For each sweep:
    • Sweep and acquire: sweep to Vbias-first, -second, -original and acquire samples with the defined waiting time (Wait 4), with:
    • Upgoing: Vbias-original → Vbias-end → Vbias-start → Vbias-original,
    • Downgoing: Vbias-original → Vbias-start → Vbias-end → Vbias-original.
  • Restore feedback: restore feedback state.
  • Restore gains: restore general ADC amplifier gains.
  • Resume previous activity

6.4.3.7.  FD Tab

With this dialog you can specify the force-distance spectroscopy behaviour.

Figure 6.14. Digital Scan Mode: FD Spectroscopy Tab

Digital Scan Mode: FD Spectroscopy Tab


The following controls allow to specify a force-distance (FD) spectroscopy measurement.

  • # Sweeps: Number of sweeps to perform in Z-direction.
  • Approach speed: Approach to threshold occurs at Z-axis units per second.
  • Retract speed: Retract from threshold occurs at Z-axis units per second.
  • Approach record length: The length in Z-axis units to maximally approach.
  • Retract record length: The length in Z-axis units to record samples while retracting.
  • Samples per unit: "The number of samples to record per Z-axis unit.
  • Sample per second: [INACTIVE: Approach Speed vs. Retract Speed][The number of samples per second].
  • Tb before approach: The number of ms to wait between retract and approach.
  • Ta after approach: The number of ms to wait between approach and retract.
  • Sweep direction: The direction to sweep: normal or inverted (spectroscopy z-axis). Warning: the polarity of the z-mixer offset is inverted with respect to u-sample and mixer 4 offset.
  • Sweep output: The output to generate the sweep voltage on:
    • U sample
    • Z-Mixer offset
    • Offset mixer 4 (extra)
  • Threshold Input: The input to use as threshold signal.
  • Threshold Becomes: The threshold evaluator.
  • Threshold Value: The threshold value to evaluate against.

The measured spectra are stored in HDF5 database files in the Camera project directory. The HDF5 files have the name of the raw file, suffixed with -Spectra.hdf5. Currently, these files do not contain frame images. For more information, see the section on the HDF5 structure below.

To view the spectra in the HDF5 files, the program Camera Spectrum Viewer (HDF5) is being developed. For the time being the HDF5 files can be viewed with a general purpose HDF5 viewer HDFView.

6.4.3.7.1. FD Measurement

A force-distance spectrum measurement proceeds as follows:

  • Remember feedback: remember the current feedback state.
  • Unfreeze feedback 50ms: unfreeze the feedback for 50ms.
  • Freeze feedback: freeze the feedback.
  • Retract: retract the given length at the given speed.
  • For each sweep:
    • Wait Tb: wait before approach.
    • Approach: approach at given speed until the threshold condition is reached; record samples over at most the given length before the threshold point.
    • Wait Ta: wait after approach / before retract.
    • Retract: retract the given length at the given speed and record samples along the way.
  • Approach if imaging: approach to surface again.
  • Restore feedback: restore the feedback state to that of before this sequence.

6.4.3.8. Grid Tab

On the Grid tab you can select one of the spectroscopy scan modes, view spectroscopy grid coordinates, and set the spectroscopy sub-grid.

Figure 6.15. Digital Scan Mode: Grid Tab

Digital Scan Mode: Grid Tab


6.4.3.8.1. Spectroscopy Mode

These radio buttons allow you to select one of four spectroscopy modes

Single Spectrum is selected from the Scan Area panel.

In this mode, spectroscopy measurements are taken on each of the scan grid points. i.e. the spectroscopy grid has the same size and resolution as the scan grid. Grid coordinates are displayed in the table when the number of scan grid points are less then 1000.

In Sub-Grid spectroscopy mode, you can define a sub-grid consisting of points of the (larger), for which spectroscopy measurements will be taken. When this mode is selected, the controls for defining the grid become enabled. The sub-grid is defined by entering the following 3 pairs of parameters:

  • Upper Left Corner: These controls allow you to set the X- and Y- resolution value of the upper left corner of the spectroscopy sub-grid. It is measured with the upper left corner
  • Scan-Grid Points per Sub-Grid Cell: These controls define the number of scan points per spectroscopy grid cell in X-and Y-direction. When for example entering 5 for the X-direction, spectroscopy measurements will be taken for each 5th scan grid point, counting from the upper left corner X-coordinate.
  • Number of Grid Points: These entries define the size of the spectroscopy grid, i.e. the number of spectroscopy measurement points in X- and Y-direction.

Figure 6.16. Digital Scan Mode: Spectroscopy Grid (not to scale)

Digital Scan Mode: Spectroscopy Grid (not to scale)


Example Suppose we have a scan grid of 1000 x 1000 nm, resolution 200 x 100 pixels.

When defining the following values:

  • Upper Left Corner: ( 50, 50 )
  • Scan Points per Grid Cell: ( 12 , 6 )
  • Number of Grid Points: ( 5, 8 )

We have defined a spectroscopy grid with upper left coordinate at (50, 50), with scan points every 5th scan grid point, 10 spectroscopy grid points wide and 5 high.

In nm the dimensions/coordinates will then be:

  • Upper left corner: ( -250, 0 ) nm
  • Grid width: (5 – 1 ) * ( 12* 1000 / 200 ) = 240 nm
  • Grid Height: ( 8 - 1 ) * ( 3 * 1000 / 100 ) = 210 nm
  • Bottom right corner: ( -10, 210 ) nm

Grid Table The coordinates of each spectroscopy grid point are displayed in the table (both in Full-Scan and Sub-Grid mode). When the number of spectroscopy grid points exceeds 1000, no point coordinates are displayed.

Grid coordinates are displayed with X- and Y-offset as well as scan rotation angle taken into account. You might however be interested in viewing these coordinates uncluttered (i.e. without offset and rotation angle incorporated). This is possible by selecting the checkboxes No Offset and No rotation. When selected, the table will show the coordinates without these values being taken into account.

[Important]Important

The actual spectroscopy grid used when performing a scan will always incorporate the actual offset and scan rotation, even when one of these checkboxes is selected.

In this mode, Camera will perform consecutive spectroscopy measurements in one particular point, being the tip offset position.

In this mode spectroscopy will be taken at user-defined grid points. You can enter grid positions (in nm). Camera will find the nearest scan grid point, and appoint this as a grid point for spectroscopy measurement.

User-defined points can be entered, modified and removed using the four buttons next to the Grid table, or by selecting grid points in a scan document.

Any grid points that are invalid (i.e. lying outside the scan area ) will be marked red in the table and will not be taken into account when performing a scan.

[Important]Important

User-defined spectroscopy points are not stored in persistent data or otherwise.

The raster of Quick Selection enables you to create a spectroscopy grid using the mouse (not yet implemented)

6.4.3.9. Channels Tab

Figure 6.17. Digital Scan Mode: Channels Tab

Digital Scan Mode: Channels Tab


With the Channels tab you can select the ADC channels for output and set the attenuation factors for each of the amplifiers.

  • Adc Channel Selection checkboxes: include selected ADCs in measurements
  • Amplifiers drop-down selection: select amplifier's gain of 1, 2, 4, 8, 16, 32, or 64
  • Reading the ADC reading converted using the factor and unit from SettingsCalibration & Units

[Note]Note

Since version 4.1.1, it is no longer required to select consecutive ADCs that start at channel 1

6.4.3.10. Extra Mixer Tab

Figure 6.18. Digital Scan Mode: Extra Mixer Tab

Digital Scan Mode: Extra Mixer Tab


With the Extra Mixer tab you can control the Extra Mixer. The tab contains the following controls:

  • Offset: sets the Extra Mixer Offset, entry in Volts, range: [-10.0, 10.0]
  • X-DAC: amplification factor, range [-1.0, 1.0]
  • Y-DAC: amplification factor, range [-1.0, 1.0]
  • DAC representation: this checkbox causes the values for the X-DAC and Y-DAC amplification to be shown as (centered) DAC-values [-32768, 32768].
  • Attenuation: radio buttons to select Extra Mixer attenuation of 1, 10, 100 and 1000
  • Slew rate: in DAC-values [0, 65535], see further below
  • INFO: no-operation

When not scanning, values are set immediately, when scanning values are set after the current frame has finished.

[Important]Important

The attenuation values are presented as 1, 0.1, 0.01 and 0.001, however the correct term would be Gain.

If the extra mixer is factory-provided with a slew rate limiter, and component values are as shown below, you can compute the slew rate for a voltage change larger than 0.25 Volt as folllows:

Figure 6.19. Digital Scan Mode: Digital Tab: Extra Mixer Slew rate

Digital Scan Mode: Digital Tab: Extra Mixer Slew rate


6.4.3.11. Data Tab

Figure 6.20. Digital Scan Mode: Data Tab

Digital Scan Mode: Data Tab


The Data tab contains the following settings:

  • File Name Here you can set the name of the Scan Document (?).
  • Maximum Offset Travel Time When changing the tip offset position while a relatively low tip speed is selected, the time required to reach the new offset position might be quite long. If the travel time exceeds the number of seconds entered in this edit box, you are warned of the possibly undesired long waiting time. The warning dialog allows you to cancel the operation, in which case the original offset position is maintained.

6.4.3.12. Digital Tab

Figure 6.21. Digital Scan Mode: Digital Tab

Digital Scan Mode: Digital Tab


The Digital tab contains a number of settings that are relevant only to the Digital Scan mode.

6.4.3.12.1. Steps

In the Steps section you can control the number of tip jumps between two scan pixels. The idea is as follows:

Figure 6.22. Digital Scan Mode: Digital Tab: Steps

Digital Scan Mode: Digital Tab: Steps


Given the fact that it takes a certain amount of time to command the tip from one place to another (due to response time of the electronics), we can introduce a tip speed by commanding the tip to locations between one pixel and the next.

If ΔTE is the time needed to order the tip to move a certain distance, a tip speed vtip can be maintained by sending ΔX / ΔTE commands to move the tip to positions in the two pixels. Each movement is referred to as a jump within Camera electronics.

Given a tip speed vtip , the number of jumps to take in between two pixels is :

#jumps = ΔX / ( vtip * ΔTE )

With the Auto checkbox you can select auto-calculation of inter-pixel tip jumps. The number of jumps to take, given the tip speed selected in the Scan Area panel, is calculated according to the formula described above.

If the Auto checkbox is unselected, you can enter the number of jumps in the edit box.

If the number of jumps is less then required to maintain the requested tip speed, the tip will make number of jumps you have entered, however while maintaining the requested tip speed. This means that after each jump, the Camera software will wait the corresponding amount of time.

If the number of jumps is greater than the outcome of the formula for the current requested tip speed, the tip speed cannot be maintained. The tip will make the requested amount of jumps in between pixels, but the tip speed will be correspondingly lower.

6.4.3.12.2. Backward Stroke

This section allows you to select either straight line or a Zig-Zag backward stroke. The backward stroke is the movement the tip makes to return from the end-of-scan position (lower left corner) to the start-of-scan position (upper left corner). The backward stroke consists of (2 * X-resolution) pixels.

During the backward stroke, at each pixel position the ADC channels are read, but no spectroscopy measurements are taken.

The results of the backward stroke are displayed as an extra line for both the R2L and L2R image.

The tip speed slider scale radio button lets you change the tip speed slider behaviour between linear and logarithmic.

This section allows you to set user-defined limits for both the tip speed and the scan area size.

  • Min. tip speed: Here you can set the minimum tip speed. The value entered will also be used as the lower value of the tip slider range.
  • Max. tip speed: Here you can set set the maximum tip speed. Normally the tip speed will vary between the minimum tip speed and the max. attainable tip speed (see below). However, it sometimes may be necessary to restrict the max. tip speed even further. The max. tip speed is used as upper boundary for the tip speed slider range on the Positioning panel.
  • Max. attainable tip speed: This field displays the calculated max. attainable tip speed. See the Scan Area panel for details on how the max. attainable tip speed is calculated.

6.4.3.13. Advanced Tab

Figure 6.23. Digital Scan Mode: Advanced Tab

Digital Scan Mode: Advanced Tab


The Advanced tab contains controls for setting:

  • Rounded Triangular Waveform
  • Z-angle correction
  • Aspect Ratio

These settings are either not applicable for Digital Scan mode, or not implemented.

[Note]Note

20101130: Gertjan van Baarle suggested to merge Advanced, Data and Digital tabs.

[ToDo: To be written ]

In this section we will discuss the way Camera is storing the output data resulting from the spectroscopy measurements, and how to access this data.

6.4.5.1.  Output Data

As with Analog Scan, a digital scan produces the following types of files:

  • .raw: Raw storage file
  • .cdf: Converted raw storage file, also containing program settings etc.
  • .csc: Camera Scan document file

To view the spectra for a particular scan point you can select the corresponding pixel in the scan image of a particular frame. Right-clicking on it causes the following pop-up to appear:

Figure 6.24. Digital Scan Mode: Scan Image Window Context menu

Digital Scan Mode: Scan Image Window Context menu


Select View Spectra to open the Camera Spectrum Viewer (HDF5) for the spectra of the nearest scan grid point with a spectrum.

Camera Spectrum Viewer (HDF5) lets you view the spectra created by Camera since version 5.0.

Figure 6.25. Camera Spectrum Viewer (HDF5) showing a diode curve

Camera Spectrum Viewer (HDF5) showing a diode curve


You can view spectra directly from Camera. You can also drop a directory or a selection of HDF5 files with spectra on the viewer.

6.4.5.4.  HDFView

The HDF5 Group provides HDFView, a generic HDF4 and HDF5 viewer. With HDFView, you can view a file hierarchy in a tree structure, create new files, add or delete groups and datasets, view and modify the content of a dataset and add, delete and modify attributes. The content of datasets can be viewed both as numbers and as graph. Download a HDFView binary.

The HDF5 group provides various commandline tools. The following tools are/will be distributed with the Camera spectrum viewer package:

  • h5dump – Examine the contents of an HDF5 file and dump those contents to an ASCII file.
  • h5ls – Lists selected information about file objects in the specified format.
  • h5repack – Copies an HDF5 file to a new file with or without compression/chunking.

The scheme used in the HDF5 files with Camera spectroscopy data is as follows.

/*
 * HDF5 scheme:
 *
 * /setting
 *     /calibration
 *         /channel
 *             /n           ( 0..7 )
 *         /feedback
 *             /input
 *         /lateral
 *             /x           ( links to scanner/x )
 *             /y           ( links to scanner/y )
 *         /scanner
 *             /4
 *             /usample
 *             /x
 *             /y
 *             /z
 *     /channel
 *         /n               ( 0..7 )
 *             /calibration ( e.g. '155.325 nm/V' )
 *             /gain        ( 1, 2, 4, 8, 16, 32, 64, integer )
 *             /label       ( e.g. 'Topographical height map-Z' )
 *         /count           ( number of active channels, integer )
 *         /mask            ( mask indicating active channels, integer )
 *
 * /spectroscopy
 *     /frame N
 *         /curve Y.X
 *             /physical position  ( x, y )
 *             /pixel postion      ( x, y, integer )
 *             /timestamp          ( seconds since 1/1/1970, double )
 *             /sweep N
 *                 /segment N
 *                     /samples    ( array of integer, channels x samples )
 *                     /timestamp  ( seconds since 1/1/1970, double )
 *     /specification
 *         /fd
 *             /approach speed
 *             /dwell time after approach
 *             /dwell time before approach
 *             /record length
 *             /retract length
 *             /retract speed
 *             /samples per unit
 *             /sweep count
 *             /sweep sign
 *             /sweep variable
 *             /threshold evaluator
 *             /threshold expression
 *             /threshold input
 *             /threshold value
 *         /iv
 *             /channel             ( iv spectroscopy has its own channel selection and gains )
 *                 /count           ( number of active channels, integer )
 *                 /mask            ( mask indicating active channels, integer )
 *                 /n               ( only active channels are listed )
 *                     /calibration ( links to /setting/channel/n/calibration )
 *                     /gain        ( 1, 2, 4, 8, 16, 32, 64, integer )
 *                     /label       ( links to /setting/channel/n/label )
 *             /sweep Vend
 *             /sweep Vstart
 *             /sweep count
 *             /sweep oversampling
 *             /sweep samples
 *             /sweep slewrate
 *             /sweep variable
 *             /wait after freeze feedback
 *             /wait after set VbiasStart
 *             /wait at location
 *             /wait before sampling
 *
 * /version
 *     /file        ( integer )
 *     /interface   ( integer )
 *     /kind
 *
 * Notes:
 * - Entry type is string, unless otherwise noted.
 * - N, X, Y are 4-digit numbers, such as '0000' to support proper sorting.
 * - Create schema listing via h5ls.exe utility.
 */