This repository is used in conjunction with the OpenVnmrJ and ovjTools repositories to build a package to support the Bridge12 ODNP spectrometer.
This package must be built on an Ubuntu 20 system. Network access will be required. The following instructions may be used.
- If git does not exist on the computer, install it.
sudo apt install git
- Create a directroy to hold all build-related files
cd ~
mkdir ovjbuild
cd ovjbuild
- Get the OpenVnmrJ_B12T repository.
git clone https://github.com/Bridge12Technologies/OpenVnmrJ_B12T.git
- Install Ubuntu packages required for the build process.
cd OpenVnmrJ_B12T/bin
./toolChain
- Build the package. As a first step, the OpenVnmrJ and ovjTools repositories will automatically be downloaded. The build processes takes about 10 minutes.
./buildb12
- Success of the build process can be checked with the
whatsin
script.
./whatsin
- Optional step to package OpenVnmrJ for distribution. The actual name of the zip file is selectable.
cd ~/ovjbuild
zip -ry OpenVnmrJ_B12.zip dvdimageB12
- Install OpenVnmrJ
cd ~/ovjbuild/dvdimageB12
./load.nmr
- Run OpenVnmrJ. You will probably need to logout and then login again. You can double-click the OpenVnmrJ Desktop icon and select "Trust and Launch". Alternatively, you can open a terminal window and enter
vnmrj
- After OpenVnmrJ starts, to configure the spectrometer, in the OpenVnmrJ command line, enter
config
If you have built and installed OpenVnmrJ using the above procedure, you can upgrade it with the following steps.
- Fetch the latest changes into the OpenVnmrJ_B12T repository
cd ~/ovjbuild/OpenVnmrJ_B12T
git pull
- Build the package. The OpenVnmrJ and ovjTools repositories will automatically be updated with any changes. The build processes takes about 10 minutes.
cd ~/ovjbuild/OpenVnmrJ_B12T/bin
./buildb12
- Upgrade OpenVnmrJ. In addition to the load.nmr script, there will be an upgrade.nmr script. You may have to exit any running OpenVnmrJ sessions and stop the acquisition communication programs (acqcomm stop)
cd ~/ovjbuild/dvdimageB12
./upgrade.nmr