After you parse the data that comes back from the VISA read, wire the
part of the data that the search depends on to a case structure, which
should then decide to search for 39, 40, or 41 (or whatever you're
searching for).
See the attached image. If I've misunderstood your question, let me know!
Message Edited by Novatron on 08-23-2005 11:56 AM