-
Notifications
You must be signed in to change notification settings - Fork 2
New Galil Driver
This page covers initial testing of the new Galil driver, this driver does not use the Galil provided DLL and so should work with all Visual Studio versions. The code is not submitted for review as a PR yet, but as some developers are unable to talk to the Galil reliably at all it may be useful in its current state. Please let @FreddieAkeroyd know of any issues you see.
To use the new driver you need to switch both your support/galil/master and ioc/master submodules onto the "update_to_3_4" branch and remake support/galil/master and ioc/master/GALIL.
in ioc/master/GALIL there is a file utils/SetupR3Axis.bat that will initialise the Galil in the ibex office with appropriate parameters so you can move it, run it after you have started the ioc/master/GALIL ioc (likely you will only need to run it once as things should then get autosaved locally and applied subsequently)
- turning motors on using the motor record PREM field no longer works (the on state is now tested before PREM is run) so you need to set MTR0101_AUTOONOFF_CMD etc. to "On" (this has been adjusted in
SetupR3Axis.bat) - GalilStartController() has lost the "display code" argument, so you need to move the "Thread mask" argument (usually value "3" for us) one position earlier in your local settings/galil/galil*.cmd files
- Home position is now always set to 0, so PVs like MTR0101_HOMEVAL_SP and MTR0101_PHOME_CMD have been removed. See Resetting-HOMEVAL
- Unsolicited messages are currently using UDP only, I need to look at adding TCP support
- Loading the Profile and kinematic axes DBs cause streams of errors
- Running GalilTest IOC from support/galil/master does not work (may not fix)