Error -1073807343 When Reading/Writing VISA to Serial Port

Updated Oct 16, 2018

Reported In

Hardware

  • CompactRIO Chassis

Software

  • LabVIEW

Driver

  • NI-Serial
  • NI-VISA

Other

3rd Party Hardware: Keysight 349072A MUX Unit

Issue Details

I am trying to do a VISA Serial Read/Write in LabVIEW, but when I try to run my code I intermittently receive error -1073807343:
Error -1073807343 occurred at Property Node (arg1) in VISA Configure Serial Port (Instr).vi->Basic Serial Write and Read. vi

Possible reason(s):

VISA: (Hex0xBFFF0011) Insufficient location information or the device or resource is not present in the system.

Solution

This is probably caused by having more than one version of VISA driver installed on the computer. All the drivers may be running and interfacing with LabVIEW which can cause issues.

General Troubleshooting:

1) Ensure only 1 version of VISA is installed. Refer to this article: Determine the Version of the NI Software Installed on My Computer on two methods to check which software is currently on the computer.

2) If there is more than 1 version, uninstall all versions of VISA on the computer. Then download NI-VISA 17.0 from this page: NI-VISA 17.0.
 

cRIO Troubleshooting:

1. Ensure NI-Serial and NI-VISA are installed on the cRIO. This can be verified by opening Measurement & Automation Explorer (NI MAX) and going to Remote Systems»your cRIO»Software, where your cRIO is the name of your cRIO device.
You should see them listed as shown below. If they are not, install these drivers on your cRIO.



See the guide: Install Software on Your CompactRIO Controller for information on installing software on your cRIO.

2. Ensure that COM1 is selected as the input to VISA resource name parameter of the VISA Configure Serial Port VI within your code.


Additional Information

NI-Serial RT is only required in VxWorks and Phar Lap ETS based RT Targets. To know what Real-Time Operating System is used on your RT Target refer to Real-Time Controllers and Real-Time Operating System Compatibility.

WAS THIS ARTICLE HELPFUL?

Not Helpful