Motor Movement Messages

Motor movement messages affect specific motor movements.


Movement Position

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/position [number]

Read: If no arguments are given, the position of the motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the position of motor_name's movement in cue_number on playback_number in step_number.

Using this command to update the position will remove the existing spike. If you want to update a named spike's position then use either the movement spike position or the motor spike command.


Movement Scaled Position

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/scaled/position [position_int] [scale_float]

Write: Spikemark will attempt to set the scaled position of motor_name's movement in cue_number on playback_number in step_number to position_int * scale_float

Using this command to update the position will remove the existing spike. If you want to update a named spike's position then use either the movement spike position or the motor spike command.


Movement Spike Position

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/spike/position [number]

Read: If no arguments are given, the position of the spike in motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the position of the spike in motor_name's movement in cue_number on playback_number in step_number.

This will update a spikes position which will affect every cue that uses the spike. If you only want to update the movements position then use the movement position command.


Movement Spike Factor

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/spike/factor [number]

Read: If no arguments are given, the factor of the spike in motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the factor of the spike in motor_name's movement in cue_number on playback_number in step_number.

This will update a spikes factor which will affect every cue that uses the spike.


Movement Spike Offset

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/spike/offset [number]

Read: If no arguments are given, the offset of the spike in motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the offset of the spike in motor_name's movement in cue_number on playback_number in step_number.

This will update a spikes offset which will affect every cue that uses the spike.


Movement Speed

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/speed [number]

Read: If no arguments are given, the speed of the motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the speed of motor_name's movement in cue_number on playback_number in step_number.


Movement Acceleration

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/acceleration [number]

Read: If no arguments are given, the acceleration of the motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the acceleration of motor_name's movement in cue_number on playback_number in step_number.


Movement Deceleration

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/deceleration [number]

Read: If no arguments are given, the deceleration of the motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the deceleration of motor_name's movement in cue_number on playback_number in step_number.


Movement Acceleration Ramp Time

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/accelramptime [number]

Read: If no arguments are given, the acceleration ramp time of the motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the acceleration ramp time of motor_name's movement in cue_number on playback_number in step_number.


Movement Deceleration Ramp Time

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/decelramptime [number]

Read: If no arguments are given, the deceleration ramp time of the motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the deceleration ramp time of motor_name's movement in cue_number on playback_number in step_number.


Movement Total Time

/cue/{cue_number}/playback/{playback_number}/step/{step_number}/movement/{motor_name}/totaltime [number]

Read: If no arguments are given, the total time of the motor_name's movement in cue_number on playback_number in step_number is returned.

Write: If an argument is given, Spikemark will attempt to set the total time of motor_name's movement in cue_number on playback_number in step_number.


Last updated

Was this helpful?