Error -1073807343 When Reading/Writing VISA to Serial Port

Updated Apr 3, 2019

Reported In

Hardware

  • CompactRIO Chassis

Software

  • LabVIEW

Driver

  • NI-Serial
  • NI-VISA

Other

3rd Party Hardware: Keysight 349072A MUX Unit, Keithley 2400 source meter, Agilent 82357A GPIB/USB cable

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

General Troubleshooting:

1) Ensure only one 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 find and download the version of NI-VISA that's compatible with your software by following this guide: NI-VISA and LabVIEW Version Compatibility . For instance, if NI-VISA 17.0 if compatible with your software, download it from this page: NI-VISA

3) Ensure that the input to VISA resource name parameter of the VISA Configure Serial Port VI within your code is correct. Normally, COM1 is selected. If you're not sure what the correct input should be, check NI MAX. The VISA resource name should match what the device is named in NI MAX.




4) If you are using an additional device such as an adapter, isolator, or hub, try the above steps with a direct connection instead, or use a different adapter, isolator, or hub.
 

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 the NI-Serial and NI-VISA drivers 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.
 

Additional Information


Issue is likely 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. Otherwise, it may be because the VISA resource name is incorrect.

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