Rank: Administration
Groups: Administrators, Beta Testers Posts: 3,097 Location: Auburn, GA Thanks: 998 times Was thanked: 497 time(s) in 412 post(s)
|
Ok, that makes perfect sense. Turning off the "power" switch to the rig leaves the USB adapter hot, so it looks to LOGic like a regular old-fashioned actual com port on the mother board. It is always there. But when your rig experiences a power failure, the com port disappears from the device manager I bet.
What it seems to me that these rig mfgrs should do is get the power from the USB cable like a regular USB=>RS232 adapter would.
Anyway, is the rig power button an acceptable solution for you? I am really not inclined to try to program around this. It would be a lot of added try/endtry blocks in the code -- not particularly difficult to do, but I am concerned about performance. And if I trap the errors, what do I do about it? I hate to ignore the situation. I could display a message of course, but Windows is already doing that. And I don't know that there is any way to recover without at least doing what the RESET RADIO AND ROTOR INTERFACES that is already in LOGic does.
Here is another idea: It would cost a little money but possibly not much. Does the rig have a regular RS-232 port or a traditional Yaesu CAT port? Forget the USB port in the rig and get a USB=>RS232 adapter (make sure it is FTDI), and a level converter if necessary.
I will play around with it here, simulated by unplugging my USB=>RS232 adapter for my Icon, and see if there is any way to recover without exiting LOGic.
BTW, if you click the SAVE button in the log form before leaving LOGic, it shouldn't be necessary to let it go thru the reindex phase when you restart.
Tnx for the additional info.
73,
Dennis WN4AZY
|