Error 0xBFFF003A (-1073807302) when Using a VISA Event with VXI

Updated Jan 10, 2018

Reported In

Driver

  • NI-VXI 3.0

Issue Details

I am programming an application for my VXI system that generates a VISA event. One of my devices generates a trigger on the VXI backplane. After properly setting up the event handling in my code, I call the function viEnableEvent (or the VISA Enable Event VI in LabVIEW), which returns the following error: 

VISA: (Hex 0xBFFF003A) Unable to start operation because setup is invalid (due to attributes being set to an inconsistent state) 

I have compared my code to a sample provided by National Instruments, and they are functionally the same. What does this error indicate?

Solution

Version 3.0 and later of the NI-VXI driver includes a safety check to make sure that triggers are routed properly in a VXI system. If the triggers are misrouted or not routed at all, executing viEnableEvent for triggers generates Error BFFF003A

To check the routing of your triggers, open Measurement & Automation Explorer (NI MAX). Under Devices and Interfaces, expand the listing under VXI System 0 until you see your VXI-MXI-2 board. Right-click the board and select Properties from the shortcut menu. In the Properties dialog box, select the Signal Mappings tab. On this tab, choose where to route the different types of triggers available on the VXI backplane.

WAS THIS ARTICLE HELPFUL?

Not Helpful