Error -1073807360 Occurs when Using VISA and LabVIEW Real-Time

Updated Oct 11, 2018

Reported In

Software

  • LabVIEW Full

Driver

  • NI-VISA

Issue Details

I am trying to use VISA commands on my Real-Time Host. The functionality works the first time I run the program, but not the second time. An error is returned the second time I run the program: 

Error -1073807360 occured at Property Node (arg 1) in gfip-fpga-ni-9871-rs485-scan.vi->scan-encoder-test-2.vi
 

Solution

This error can result from not closing VISA references before exiting the VI. Even if you do not explicitly open a VISA reference, one is created whenever a read or write is performed.
  1. Explicitly open all VISA references in your VI.
  2. Explicitly close all VISA references in your VI.
  3. Avoid halting execution with the abort button, this leaves all references open.

WAS THIS ARTICLE HELPFUL?

Not Helpful