Skip to main content

owner_slot

Function owner_slot 

Source
pub fn owner_slot(
    owner_key: &str,
    signals: &[SignalInfo],
    axes: &[AxisInfo],
    motors: &[MotorInfo],
) -> usize
Expand description

The colour slot of a signal’s owner, the same in every plot: an axis by its place in the machine’s axes, a motor by its place in its motors (as plots of one value per motor colour them), anything else after those by its place among the other owners of signals. So motor 2 has one colour in the scopes, the torque-speed plot, the sweep and the run comparison.