LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA-related LV freeze

I'm having an issue with LabVIEW crashing when opening or running a VI that has a VISA resource constant on the block diagram.  Once this problem occurs, even rebooting the OS does not fix the problem.  It is not until I reinstall the VISA drivers that the problem is fixed, although the fix is only short-term.  I've isolated the problem to where I can open up a new VI, drop a VISA resource constant on the block diagram, and crash LabVIEW.

 

I am using a USB hub as well as USB-to-serial devices.

 

Here's what I'm running:

 

LV 7.1.1

Win XP SP3

NI-VISA 4.5

0 Kudos
Message 1 of 2
(2,431 Views)

Have you tried this?

 

The problem with LabVIEW freezing is probably due to network problems and perhaps some firewall issues. This is a known issue and a workaround to get a working solution is to use a string constant or control instead of a VISA resource name constant or control.

 

The resource name should adhere to the following format: GPIBx::y::INSTR, where x is the GPIB Interface Number, and y is the Primary Address.

 

You should then be able to perform basic VISA write and read functions, as well as other functions such as the lock asynchronous and unlock.

National Instruments
0 Kudos
Message 2 of 2
(2,409 Views)