Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5694

Basic SCPI connection with BK Precision 880 only works Intermittently

$
0
0

General problem: I have a BK 880 LCR that I need to communicate with using LABVIEW. This is an SCPI-compatible device and I have written a very basic code using NI-VISA. Currently, I am just trying to query the instrument ID using the *IDN? command. However, this only works some times (1 out of 20) and the remainder of the time I get the error "VISA Read in Untitled " with the code "-1073807339".

 

Detailed background:

 

Here is the code,

Capture.PNG

Where COM4 is the LCR meter (BK Precision 880). Here is the error screen I get when I run this code

 

error.PNG

 

Here is my NI MAX screen showing my driver installs and the COM4 device. Maybe I don't have the right drivers?

MAX.PNG

 

Lastly, here is the *IDN? command in the BK 880 documentation. This complete documentation can be found here https://bkpmedia.s3.amazonaws.com/downloads/manuals/en-us/880_manual.pdf and the SCPI information starts on PDF page 48880.PNG

I tried a few things in the LabVIEW code, like setting some of the serial bit and rate commands but nothing helped and I believe the device parameters listed in the NI MAX screen are the standard parameter values.

 

The LCR beeps at me when I send

*RST
*IDN?

But does not beep at me when I send just one of them.

 

Any help would be appreciated. 

 


Viewing all articles
Browse latest Browse all 5694

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>