Searching for a train or locomotive on the network