motor loop

wired error and visa through queries