I'm using an embedded device to communicate to an iPAQ 2210 to using Bluetooth SPP. I'm able to send and receive characters through the serial port when the two devices are wirelessly connected but as soon as the connection is lost and I try to send a char with the iPAQ using "serial port write.vi" the vi will just sit there waiting for the embedded device to reconnect to the iPAQ.
Port settings are: 1024 buffer port #4 9600 baud 8,1, N (rest are default)
I have attached a short program that demonstrates this problem by sending a char to the serial port and waiting. The program 'light bars' will move when there is a device connected but will hold in the "serial port write.vi" function until a device connects to it.
During the initialization VI, wire a number to timeout value (default is 10 sec or 10000 msec). If this does not work, see any other places have timeout inputs, wire a number instead of using the default value.