Software setup
Last updated
Last updated
These instructions assume you have already assembled the hardware, wired the DAQ, aligned the laser, etc.
Zapit has been tested on MATLAB R2022a and R2022b and it should work on more recent versions also. It may work on earlier versions but this has not been tested. The latest version of MATLAB is recommended. You will need a PC with at least 16 GB of RAM.
You will need the following MATLAB ToolBoxes.
(used for calibrating power on non-linear lasers. Not needed for Obis)
(optional: use for TCP/IP comms)
Install NI and ensure you have checked to install with .NET support enabled. Ideally install one of our tested versions: 19.0 to 21.8.
Zapit currently supports only Basler cameras (although in principle this can be extended to other cameras). You will need to:
If not done already, install . Choose the Developer option during installation and your connection type (probably USB). Plug in your camera into a USB3 port and confirm it is detected and runs using the software.
Install the . Either from that link or, better yet, via the accessible via Home > Add-Ons on the MATLAB ribbon.
Gather and install the above requirements then install Zapit in one of the following ways:
Via MATLAB: Go to the Apps ribbon in MATLAB and click on Get More Apps. Search for Zapit and add it to MATLAB. This is recommended.
You will need to configure Zapit before it can be started.
You will need to restart MATLAB after the camera driver has been installed. If you later encounter problems connecting to the camera in MATLAB, see .
Via your browser: Navigate to the . Download. Unpack in a reasonable place. Add the zapit
directory (i.e. that which contains start_zapit.m
) to your path. You need add only this directory, not it and all sub-directories.
Via Git: Clone in your favourite Git client. Add the zapit
directory (i.e. that which contains start_zapit.m
) to your path. You need add only this directory, not it and all sub-directories.