This project contains control and automation softare for particle detector module assembly using Aerotech gantry based systems. The software is currently divided into two parts:
- A
Shared Components
section of the code that, among other things, provides a single interface to any relavent hardware. It also provides other useful features such as automatic pattern recognition, graph-based motion, absolute orientation calculations, and configuration management. - An interpreter based on the gScript command set that allows users to develop routines in a simple text-based language.
This software is written primarily in LabVIEW and therefore requires LabVIEW itself as well as some NI toolkits to be installed to function. The software is currently developed on Windows 10 64-bit. Other operating systems may work but are not guaranteed.
Checkout this repository with
git clone [email protected]:CUASAS/pixel-gantry-control.git
I've found that having other versions of Labview (esp 2018+) installed confuses the toolkit installers and they fail to install the support for 2017 that is needed. Therefore if possible start with a fresh system or remove all other National Instruments software prior to following these instructions.
Install LabVIEW 2017 (64-bit).
Repeat this process for the three required toolkits:
Valid licenses for the above packages are required. Newer versions of the toolkits should work, but these have been tested. However, newer versions of LabVIEW are not currently supported.
Run the Aerotech installer. The installer doesn't put the Aerotech VIs in a place where LabVIEW knows to look. To fix this, run Aerotech Dumbness Fixer.vi
to copy the VIs to user.lib
. This step will likely need LabVIEW to be started as an administrator since it is moving files around in Program Files
.
Due to large binary file sizes, the gVision API is not included in the git repository. Instead, you need to download the latest releast. Download the zip archive and unzip it's contents into pixel-gantry-control\Gantry\Shared Components\gVision API\
. If the zip file contains any redistributable installers, run those now to install any required libraries.
Inside the Config
directory are seveal folders containing configuration files for specific gantries. By default, the Nebraska
configuration is used, but this can be changed by editing the content of Config/config.txt
to one of the other configurations.
If you discover a bug or would like to request a feature, please feel free to open an issue. If you have general questions about how to use the software, create a discussion.
There is also a developing set of tutorials on various aspects of gScript
programming developing here.