-
Notifications
You must be signed in to change notification settings - Fork 5
Setting Up Overview
Rob Campbell edited this page Jun 15, 2020
·
19 revisions
You should first ensure you have the required hardware and that there is nothing obstructing you from acquiring data with ScanImage.
- Install a recent version of MATLAB. BakingTray has been tested recently on releases between R2017a and R2019b. We have noticed rare random hard-crashes of MATLAB in later releases (for sure in R2019a and R2019b). These were traced to 3D acceleration and occurred on both Win 7 and Win 10. Updating Nvidia drivers did not help but starting MATLAB in software OpenGL mode did get rid of the problem.
- If using PI stages, install the PI drivers for the stages and follow the instructions for setting up the MATLAB PI interface.
If you need to install the SDK in order to compile the PI drivers, you may find this link useful.
The PI MATLAB code will need to be in your path.
It should be located at
C:\Users\Public\PI\PI_MATLAB_Driver_GCS2
once installed. - Clone BakingTray and add to you path
code
,code/resources
,code/components
, and the sub-directories incode/components
. You can use the function atBakingTray/addBTtopath.m
to do this or, better yet, do it with asetup.m
file containing the line of this sort:addpath(genpath('C:\MATLAB\BakingTray\code'))
This way you are robust to the possible changes of the directory structure in the future. Thepathtool
GUI will also work if you prefer.
- Ensure the hardware is functioning correctly.
- The three-axis stage should be aligned with the imaging plane.
- The PID loops on the X and Y stages should be tweaked.
This proceeds in two steps: 1) Installation and set up of ScanImage. 2) Installation and set up of BakingTray.
- Install ScanImage.
- Follow the instructions in "Setting up ScanImage" to correctly configure the scan settings.
- It is important that you accurately calibrate the number of microns per pixel in ScanImage. BakingTray uses this number to figure out where to move the stages. Also note the optional fine-tuning procedure.
- You should now check the noise on your amplifiers.
- Follow the instructions in "Starting BakingTray for the First Time".
- You will also want to familiarise yourself with the information on the settings files. Pay particular attention to ensuring that the stages can not be moved out of bounds.
Installation: Getting Started
Hardware requirements
Setting up: Overview
Verifying hardware operation
Starting BakingTray
Setting up ScanImage
Settings Files
Achieving high stitching accuracy
Installation: Calibration
Basic calibrating procedures
Calibrating the stages
Fine-tuning positioning accuracy
Further User Instructions
FAQ
Problems & Solutions