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

Error connecting BK-Precision 1688B to LabView through NI-VISA

$
0
0

Hi all,

 

I want to connect a BK precision 1688B to my work laptop, be able to read, set and store voltage and current values for an automated test with Labview. I am currently able to connect, read and control the power supply with the manufacturer software. Initially had issues with this because I installed the wrong device driver, but the SW runs flawlessly after I corrected the driver version.

 

Labview Version: 2023 Q1

NI-VISA version: 2023 Q3

 

Connecting the power supply with LabView:

I followed connection and setup instructions of these two articles; Set Up Communication with Serial Instruments in LabVIEW using NI-VISA  and Set Up Communication With USB Instrument 

updated my VISA version to be compatible with my LabView version, set all the device communication settings according to the power supply manual , opened the "Visa Test Panel" and send several commands in the Input/Output tab. Tried: VOLT010[CR], GETD[CR]  and GETS[CR] but received this error message back: "(Hex 0xBFFF0015) Timeout expired before operation completed" .

 

Nevertheless I tried all the VI's of these threads:  Recording benchtop power supply output via LabVIEW  and  Control BK Precision 1687b power supply through VISA ,because I saw that someone had the same issue that me but fixed by correcting the wiring. When I tried them, I got this error: "Error -1073807339 Timeout Expired Before Operation Completed"

 

My physical connection is a USB AB from the power supply to a USB to my laptop. 

 

Do I need to get a different way to connect the power supply to my PC, say a DAQ? Do I need another driver different from the NI VISA?

 

I understand something is faulty with my connection but I really don't know where to keep looking. I am pretty new at LabView and analog I/O and serial communication. Could you be so kind to let me know if there is anything I might be missing?

 

Any help is really appreciated

 


Viewing all articles
Browse latest Browse all 5625

Trending Articles



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