AnsweredAssumed Answered

LabVIEW Error "VISA: (Hex 0xBFFF003A)" When connecting using USB

Question asked by Wallace_T on Feb 19, 2016
Latest reply on Sep 15, 2017 by Richard2132

I'm trying to connect to the PNA-X N5242A using LabVIEW, but I kept getting and error coming from the VISA Write Function. 

To check if I'm connected properly I'm using NI MAX. It shows that the connection is correct, however when I use the VISA Test Panel to write operation I get the following error:

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

I get the same error when I try to initiate a Read Operation.

The PNA-X is currently using Windows 7 and Application Code Version A.10.49.03

My code worked perfectly fine on another PNA-X using Windows XP and Application Code Version A.09.90.13

For screenshots of the errors please see attached.