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,
Where COM4 is the LCR meter (BK Precision 880). Here is the error screen I get when I run this code
Here is my NI MAX screen showing my driver installs and the COM4 device. Maybe I don't have the right drivers?
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 48
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.