LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error aquiring data from agilent oscilloscope with labview 7

I have an agilent oscilloscope model 54642A and labview 7 running on windows2k. I get the following error using the labview drivers (ag546xx getting started.vi)and connecting the oscilloscope with the serial port:

Error -1073807302 occurred at VISA Clear in ag546xx Initialize.vi->ag546xx Getting Started.vi
Possible reason(s):

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

The port seems to be configured correctly so im not sure what could be causing this. I've tried switching the parameters in many ways but still nothing. Thanks for the help.
0 Kudos
Message 1 of 3
(3,278 Views)
This error would seem to indicate a version of NI-VISA older than 3.0, but that's strange because you should have 3.0 with LabVIEW 7.0. Either way, I suggest you update to NI-VISA 3.1 from our web site and try that one. It has several other Serial enhancements that are worthwhile.

If you are certain you have NI-VISA >= 3.0 and you're still getting that error, an NI Spy log might help. That way we can see what attributes are being set into what state.

Dan Mondrik
National Instruments
Message 2 of 3
(3,278 Views)
Thanks for the help, I downloaded 3.1 and everything works fine now.
0 Kudos
Message 3 of 3
(3,278 Views)