08-02-2006 04:59 AM
08-02-2006 05:43 AM
VI_ERROR_RSRC_BUSY | BFFF0072h |
The resource is valid, but VISA cannot currently access it.
|
try to use the windows hyper terminal to control your serial instrument, hopefuly after that you find a solution
08-02-2006 09:17 AM
Thanks for your reply.
I know the error code's meaning . The key issue is labview how to empty the serial buff or reset port error flag. Because my system use some instruments which are send data continously via RS232. When my system is not running, instruments still send data to MOXA serial port. So the serial port buffer will overflow and labview can not open the serial port.
Best regards!
08-02-2006 10:19 AM
hello,
NI VISA also can solve this problem, just clear or discard the read and/or write buffer contents by using viFlush function in the programm flow.
BR