LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SCPI communication error

Solved!
Go to solution

The instrument reports [No errors in queue].  USB SCPI is ON.  I don't know where to change the Windows USB power shut down - and I do not have Admin priv.  But it always hangs up on the VISA read immediately following the VISA write of command "SYST:ERROR?".  The error is occurring in "Error Query.vi" which is a sub-VI of Reset.vi.  As mentioned, this is in the Agilent 3446X driver example downloaded from NI.

0 Kudos
Message 11 of 16
(940 Views)
Solution
Accepted by Jim_Marihew

This sounds familiar:  Solved: Keysight 34461A initialize.vi not working - NI Community

 

I believe the main issue is Keysight's USB drivers.  I have seen strange issues with my 34461A when using USB as well.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
Message 12 of 16
(919 Views)

Thank you NIquist!  I switched to ethernet and all is well 👍

0 Kudos
Message 13 of 16
(870 Views)

@Jim_Marihew wrote:

Thank you NIquist!  I switched to ethernet and all is well 👍


Just another reason I avoid USB as much as possible.  Ethernet is my bus of choice for communicating with instruments.


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 14 of 16
(860 Views)

Agreed.  It's a shame since it's so convenient, but I won't trust USB for mission-critical test systems.

 

EDIT:  Now that I think about it though, I do use a few of those NI USB-GPIB-HS+ adapters that are technically USB at their core and they seem pretty reliable.  Maybe that's why they have become crazy expensive???

 

I think the main issue might be the USB to Serial drivers hidden inside many instruments.  Even the good FTDI drivers can be flaky if not implemented correctly.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 15 of 16
(847 Views)

Yeah, I was taking the easy route because I am just taking some baseline measurements at my desk.

0 Kudos
Message 16 of 16
(838 Views)