I don't think the CVI library is very good at coping with COM ports that can disappear.
Actually, my experience is that the Windows API isn't very good at coping either, but it is better - at least you can get access to all the possible error messages, if your application doesn't crash. CreateFile(), ReadFile(), WriteFile() etc. are your friends.
--
Martin
Certified CVI Developer