Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB communication lost every now and then, after upgrade from LabVIEW 2009 to 2018

Hello all,

I have recently upgraded a test stand computer from Windows XP to Windows 10, and LabVIEW 2009 to 2018. The system has 8 instruments connected on GPIB, via an NI-GPIB-USB-HS.

Every now and then, the instruments simply "disappear" and the software can no longer communicate with them. When this happens, the scan for instruments in MAX does not find any instruments. We need to power all instruments down, then up for them to re-appear.

I tried to plug the GPIB-USB-HS through a self-powered USB hub - this has helped me fix similar communication issues on test stands where I had multiple USB devices. This time it seemed to make the problem occur less often, but it did not eliminate it.

 

Has anybody experienced something similar? Anything you suggest me to try? I believe the GPIB cables are good and connected right (they worked before the upgrade). I realize this can be just a coincidence.

 

I attached a snapshot of the software and devices in MAX, when no device is detected.

 

Thanks.

0 Kudos
Message 1 of 4
(3,449 Views)

My first suspicion is a "feature" that was introduced in Windows 7 where Windows will randomly decide to turn off USB hubs in order to "save power".  Go into the Device Manager and go into the properties for every USB hub to make sure this is turned off.  You should also go into the Advanced Power Settings and disable USB Selective Suspend Setting.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 4
(3,442 Views)

In addition, make sure you have the latest Windows 10 drivers for your PC especially the ones in the Chipset category.

 

0 Kudos
Message 3 of 4
(3,179 Views)

I did not have time to do much testing, as I am fighting some printing issues related to the upgrade too. Your suggestion makes a lot of sense. We changed the USB hub settings and we'll watch. Thank you!

0 Kudos
Message 4 of 4
(3,106 Views)