NI-VISA Error Code -1073807330 When Using a NI 987x Module in Scan Mode

Updated Jul 19, 2018

Reported In

Hardware

  • NI-9870
  • NI-9871

Software

  • LabVIEW Full
  • LabVIEW Professional

Driver

  • NI-VISA

Issue Details

I want to use my NI 9870 or NI 9871 Serial Interface Module in Scan Mode and with NI-VISA on my CompactRIO. However, I am getting the following error when trying to configure the attributes for the communication: 

Visa: (Hex 0xBFFF001E) The specified state of the attribute is not valid, or is not supported as defined by the resource.

Solution

This is happening because the baud rate set for the VISA resource is not supported by the module in Scan Engine. The maximum baud rate that can be achieved when using the NI 9870/9871 modules in Scan Mode is 115200 bits/second. Using a baud rate higher than this will result in the error above. If a higher baud rate is needed then you will have to access the module directly from the FPGA.

WAS THIS ARTICLE HELPFUL?

Not Helpful