# Nearest Reverse Multiple Spikes

Nearest Reverse Multiple Spikes move the motor reverse to the closest multiple of Factor plus Offset. Put another way:

$$NewPosition=Round↓(CurrentMotorPosition/Factor)∗Factor+Offset$$

Nearest Reverse Multiple Spikes use the `←` icon in the Spike List to indicate that they are a nearest reverse multiple.

## Change The Type

<figure><img src="https://3040525219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhFI6SSKpm8M7EkrYqp%2Fuploads%2Fgit-blob-6f4270cd61800f15236cd6b5e6950dffc658fbfa%2Fnearest-rev-spike-edit-type.gif?alt=media" alt="Dynamic Spike Edit Nearest Reverse Multiple Type"><figcaption></figcaption></figure>

To change the type of spike, select the spike in the Spike List and then select nearest reverse multiple from the type dropdown menu.

## Changing The Factor

<figure><img src="https://3040525219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhFI6SSKpm8M7EkrYqp%2Fuploads%2Fgit-blob-e64604399d99eebcaa34178426422fbaad2b282f%2Fnearest-rev-spike-edit-factor.gif?alt=media" alt="Dynamic Spike Edit Nearest Reverse Multiple Factor"><figcaption></figcaption></figure>

To change the factor double-click in the Factor column and give it a new factor.

## Changing The Offset

<figure><img src="https://3040525219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhFI6SSKpm8M7EkrYqp%2Fuploads%2Fgit-blob-18e323ee1ee356573906ccaf794eea31a8d3667f%2Fnearest-rev-spike-edit-offset.gif?alt=media" alt="Dynamic Spike Edit Nearest Reverse Multiple Offset"><figcaption></figcaption></figure>

To change the offset double-click in the Offset column and give it a new offset.

## Example

<figure><img src="https://3040525219-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MhFI6SSKpm8M7EkrYqp%2Fuploads%2Fgit-blob-6f176458f886fda907e9a21ec39eb807a91eea5a%2Fnearest-rev-spike-example.gif?alt=media" alt="Dynamic Spike Example Nearest Reverse Multiple"><figcaption></figcaption></figure>

In this example we want to rotate the turntable reverse to the 9 o'clock position (assuming upstage is 12 o'clock and downstage is 6 o'clock). For this we set our factor to 360 degrees (one full revolution) and our offset to 270 degrees (9 o'clock).
