def get_scanned_motor(header):
    """Return string describing which motor was scanned."""
    try:
        return ' '.join(header.start['motors'])
    except (AttributeError, KeyError):
        return ''