Skip to content

ndtatbristol/brain1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BRAIN Installation Instructions

1. Pre-installation

Please make sure that you have installed git and MATLAB on your computer.

1.1 How to install 'git'?

  • git installer can be found from this link, git-installer.
  • or, it can be installed via Windows PowerShell using winget, a package manager that is already available on Windows 11 and modern versions of Windows 10.
winget install --id Git.Git -e --source winget

1.2 MATLAB installation and dependent Toolboxes

  • MATLAB can be installed via its official website
  • Once MATLAB is installed, add these Toolboxes into your MATLAB:
  • Data Aacquisition Toolbox,
  • Instrument Control Toolbox,
  • Phased Array System Toolbox. NOTE: MATLAB Toolboxes can be added from the 'Add-Ons' Button, which is shown on the HOME Page of the MATLAB interface.

2. BRAIN Installation

2.1 Download BRAIN

  • BRAIN software can be found from the brain1 repository in the Bristol UNDT GitHub Webpage,
  • In the Bristol UNDT GitHub webpage, find the green 'Code' button and copy the HTTPS link,
  • In your computer, choose a local directory where you would like to put the BRIAN software, for example, C:\Users\xxx\Documents.
  • Run Windows PowerShell in that directory, and input following command to download the BRAIN software:
    git clone https://github.com/ultrasunix/total-focusing-method-2d-python-example.git

By far, the BRAIN software is downloaded.

2.2 Add BRAIN to your MATLAB startup.m

startup.m executes user-specified commands when starting MATLAB, which can enable BRAIN by daulft by adding the BARIN path into the startup.m file.

  • Open MATLAB, and create a new blank script and named as startup.m
  • add following command into the startup.m
    addpath(genpath('C:\Users\xxx\Documents\brain1'));
    'xxx' is your computer username.
  • save the startup.m and restart MATLAB. By far, BRAIN is installed.

3. Connect the PeakNDT MicroPulse System to Computer

  • connect the PeakNDT MicroPulse System and your computer via an Ethernet cable,
  • open Control Panel, click Network Setting Centre, click Network and Sharing Centre, click Change Adapter Settings shown on the left
  • Right click the ethernet icon which is connected to the PeakNDT MicroPulse System connection, then click the Properties,
  • In the Networking panel, find the Internet Protocol Version 4 (TCP/IPv4) option,
  • Choose Use the following IP address:, and change the IP address to 10.1.1.1,
  • Click OK to save all the changes. By far, BRAIN software is installed in the computer and can be activated by typing brain in the MATLAB command window.