Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions doc/specific_iocs/motors/Motors-Trouble-Shooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,25 @@ IN:INST:MOT:JAWS<N>:VGAP:MIN:SP
On many instruments, this has been set to `-2147483648` to effectively disable the minimum-gap checking. This can
also be set temporarily.

### Settings are suspected to have changed recently

Not all motor record fields are archived, however their values are saved in autosave files.

An easy way of seeing whether a field has changed recently, is to use `grep` and look in the file contents. As the files are suffixed with the time they were created this effectively gives a time record of when things happened:

For example in this case we want to see the `UEIP` field of `MTR0102`. First open a git bash session (which works over ssh):
```
"\Program Files\Git\bin\bash.exe"
```

then:

```
grep -rnw '/c/Instrument/var/autosave/GALIL_01' -e 'MTR0103.UEIP'
```



### Position needs to be restored

Note: [a script exists for this](/tools/archive_tools/Restore-Motor-Positions-from-Archive)
Expand Down
Loading