views:

87

answers:

1

hi, i'm reading data from serialport using javax.comm API but when i run the code 2-3 times it is showing port currently own by this,but i have closed the port what's the problem i'm not getting plz help me

this is expetion: javax.comm.PortInUseException: Port currently owned by flashhandler.TwoWaySerialComm

Thanks for reply

A: 

Try disabling the port, then try enabling it again. Also try to check if the process using it terminated successfully. Hope this helps.

Joset