Chris Anderson wrote:
> I would like to produce a VI that blindly searches available serial comm ports
> until it finds the port to which our custom, hardware instrument is attached.
> Unfortunately when I write a serial command to a port with no instrument
> attached, the software does not time out (using old serial comm vi's since
> I don't really understand visa). Any Suggestions?
I would really suggest that you look at VISA. There is a function that does
exactly what you wish ( Find VISA Resources or similar).
You dont need to know VISA to use it, simply drop it on a diagram
and wire an indicator. It will return an array of stings listing any
serial, GPIB, or VXI devices it can find.
You can limit it to look for only serial devices.
Kevin Kent