Power Supply Freezing After Running GPIB and NI-VISA Functions in LabVIEW

Updated Apr 19, 2018

Reported In

Hardware

  • GPIB Instrument Control Device

Software

  • LabVIEW

Driver

  • NI-VISA

Issue Details

I'm trying to programmatically control my Sorensen Power Supply using GPIB and NI-VISA functions in LabVIEW. My program runs fine, except after execution, my device's connection is not terminated from LabVIEW, which causes my device to be unresponsive until I restart it.

Solution

Device connection termination problems arise from not closing a device session properly. The LabVIEW example below, which can be found on Help >> Find Examples... >> Hardware Input and Output >> VISA >> GPIB with VISA functions.VI demonstrates how to properly set up data acquisition using NI-VISA.

WAS THIS ARTICLE HELPFUL?

Not Helpful