# AnywhereUSB reconnect USB device problem

**URL:** <https://forums.digi.com/t/anywhereusb-reconnect-usb-device-problem/8543>\
**Category:** Edgeport\
**Created:** [February 26, 2009, 9:02am UTC](https://forums.digi.com/t/anywhereusb-reconnect-usb-device-problem/8543 "2009-02-26T09:02:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siggi](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Siggi](https://forums.digi.com/u/Siggi)\
**Post date:** [February 26, 2009, 9:02am UTC](https://forums.digi.com/t/anywhereusb-reconnect-usb-device-problem/8543/1 "2009-02-26T09:02:20Z")

</div>

Hello,  
we use AnywhereUSB to remotely control the following USB device.  
R&S®NRP-Z USB Powermeter Sensor [http://www2.rohde-schwarz.com/en/products/test\_and\_measurement/power\_volt\_meter/power\_meters/NRPZ-|-Key\_Facts-|-4-|-1181.html](http://www2.rohde-schwarz.com/en/products/test_and_measurement/power_volt_meter/power_meters/NRPZ-%7C-Key_Facts-%7C-4-%7C-1181.html)

I have the problem, that if I disconnect the USB device and then after a few seconds reconnect it again, it doesn’t recognize the device again.  
I verify this behaviour with the “AnyhwereUSB Viewer Utility”.

If I restart the AnywhereUSB hardware the device reconnects correctly.  
If I end my application which communicates with the USB device, it reconnects correctly, too.

Is there a possibility that the device reconnects automatically without ending my application?

If I connect the device directly to the PC it reconnects correctly.

Thanks and regards  
Siggi

---

<div class="post-metadata">

**Author:** ![jeremym](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@jeremym](https://forums.digi.com/u/jeremym)\
**Post date:** [February 26, 2009, 2:10pm UTC](https://forums.digi.com/t/anywhereusb-reconnect-usb-device-problem/8543/2 "2009-02-26T14:10:22Z")

</div>

Siggi,

In normal use, would the Powermeter Sensor ever be disconnected from the AnywhereUSB? It seems to me like the simplest way to resolve this is to just leave it connected to the AnywhereUSB.

---

<div class="post-metadata">

**Author:** ![Siggi](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Siggi](https://forums.digi.com/u/Siggi)\
**Post date:** [February 26, 2009, 3:33pm UTC](https://forums.digi.com/t/anywhereusb-reconnect-usb-device-problem/8543/3 "2009-02-26T15:33:44Z")

</div>

Hello jeremym,

thank you for your quick answer.

I’m not sure if I can ensure, that the device is not disconnected.

Is there a possibility to sent a reboot command to the anywhereUSB from my application? Via TCP, UDP,… ?  
Please let me know if the possibility exists.

Thank you and regards  
Siggi

---

<div class="post-metadata">

**Author:** ![jeremym](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@jeremym](https://forums.digi.com/u/jeremym)\
**Post date:** [February 26, 2009, 4:09pm UTC](https://forums.digi.com/t/anywhereusb-reconnect-usb-device-problem/8543/4 "2009-02-26T16:09:21Z")

</div>

I’ve uploaded the AnywhereUSB API. I think that will achieve what you’re looking to do.

---

<div class="post-metadata">

**Author:** ![jeremym](https://avatars.discourse-cdn.com/v4/letter/j/58f4c7/32.png) [@jeremym](https://forums.digi.com/u/jeremym)\
**Post date:** [February 26, 2009, 4:10pm UTC](https://forums.digi.com/t/anywhereusb-reconnect-usb-device-problem/8543/5 "2009-02-26T16:10:23Z")

</div>

By the way, which AnywhereUSB driver version are you running? To determine this, click “View / Driver Information” in the AnywhereUSB Configuration Utility and note the version of “awusbsys.sys”.
