Re: Serial Port - Ballbar 2

2004-05-12 Thread Dan Mondrik
Philippe:

In this case it isn't really about arg1 at all.  The resource you
passed into the Configure VI (presumably something like COM1 or
ASRL1::INSTR) is busy - the error is VI_ERROR_RSRC_BUSY.  This means
that you most likely have some other application using the resource,
like Hyperterminal.

For what it's worth, the property node refers to each property in
order, so the first property inside the Configure VI is the timeout.
This is the first point at which that VI needs to use the resource you
passed in, so that's when it tries to open the VISA session and fails.
So it failed when trying to do a 'set' on arg1 because in this case it
couldn't open the resource.

Dan Mondrik
National Instruments



Re: Serial Port - Ballbar 2

2004-05-12 Thread Dennis Knutson
Glad I could help. When you get the error, do you have any other
program open that is accessing the serial port (i.e. hperterminal).
Windows doesn't allow different programs access to the same port.