LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using LabView with Agilent MSO9104A Drivers (Error -1073807346)

I'm doing a very simple test of the instrument drivers for the MSO90000 series.  It's specifically listed for the MSO9104A, which is my instrument.  I installed the driver by using the LabView "find device drivers" followed by "install".  All went well.     I'm using the Ethernet interface. 

 

I have already tested the web access to the instrument, so I know the ethernet connection is working.  I've been using LabView for about a year now, with this installation, so I know it's installed ok.  VISA is installed.  The instructions I have seen for testing drivers is to use the example VI that come with it.  So that's what I'm trying to do.  But all produce errors.  I'm going on the assumption that this is a simple problem that I've overlooked.  Everything is kind of off-the-shelf.  That is, I haven't written anything so it should work as is, unless I have overlooked something simple.

 

I try to run ANY of the example *.vi, that come with this driver. Everyone of them produces the following error: Error -1073807346

 

Error -1073807346 occurred at VISA Open in Agilent 90000 Series.lvlib:Initialize.vi->Agilent 90000 Series Acquire Waveform.vi

Possible reason(s):

VISA:  (Hex 0xBFFF000E) The given session or object reference is invalid.

 

This error makes me think it's not being initialized or can't detect the instrument but like I said, the web access from the PC is working so I know the connectivity is there. 

 

Any ideas why this might not be working?

0 Kudos
Message 1 of 20
(4,436 Views)

Is the instrument listed in MAX? I don't know if this instrument will be automatically detected. If not, at Devices and Interfaces, select Create>New>VISA TCP/IP Resource. Did you select the VISA Resource Name from the pull down?

0 Kudos
Message 2 of 20
(4,434 Views)

I did check MAX and couldn't see the instrument.  I wasn't sure if it should be able to see the scope.  I have used MAX only for my DAQ stuff.  But no,  MAX is not seeing the scope.  When I select "Create New, I don't see any TCP/IP options.  Every choice has a DAQmx option.  The only option that doesn't have DAQmx, is one that says NI-RTSI.

0 Kudos
Message 3 of 20
(4,432 Views)

Until MAX sees the scope, you cannot use it with VISA. So, do the manual add.

0 Kudos
Message 4 of 20
(4,429 Views)

How would I go about doing an ADD.  I don't even see any ADD button or menu option, in MAX.

 

Oh wait!  I found a "Manual Add".  Let me see if I can figure this out. 😉

0 Kudos
Message 5 of 20
(4,422 Views)

See here

 

EDIT:  Looks like a was a little late while waiting for MAX to load.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 20
(4,417 Views)

What version of MAX are you using? I've got 5.3. and it has been in MAX for quite a while. Show a screen shot of the right click on Devices and Interfaces.

0 Kudos
Message 7 of 20
(4,411 Views)

I'm using 5.1.

 

The problem is, when I select Add Network Device, the only option is "Find NI DAQmx Devices".  Those are Data Acquisition Modules from NI.  There doesn't seem to be any way, to find Agilent devices, using that item.  At least not that I've found.

 

If I click that only option, it finds all the NI-DAQmx modules  but not my scope.  If I enter my IP in the "Add device manually" box, it searches and comes back with "The device you could not be found on the network".  But like I said, it appears to be searching only for NI-DAQmx devices.  I know the IP is correct because I can use that IP to access the scope via the web.

0 Kudos
Message 8 of 20
(4,408 Views)

There is something wrong with your installation. I know I've used MAX 5.1 (and earlier) for networked instruments. What is the version of NI-VISA that you have installed? Perhaps upgrading that will fix MAX. You don't have Agilent's VISA installed do you?

0 Kudos
Message 9 of 20
(4,393 Views)

It looks like it might be the Agilent VISA.  I say that because the only  VISA stuff is under Agilent.  Under the NI area, only the documentation is there.  So, I'm downloading NI-VISA 5.1.2 and going to download it and see if it works or is any difference.

0 Kudos
Message 10 of 20
(4,387 Views)