02-05-2013 12:07 PM - edited 02-05-2013 12:16 PM
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?
02-05-2013 12:15 PM
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?
02-05-2013 12:17 PM - edited 02-05-2013 12:22 PM
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.
02-05-2013 12:19 PM
Until MAX sees the scope, you cannot use it with VISA. So, do the manual add.
02-05-2013 12:26 PM - edited 02-05-2013 12:28 PM
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. 😉
02-05-2013 12:30 PM - edited 02-05-2013 12:31 PM
See here
EDIT: Looks like a was a little late while waiting for MAX to load.
02-05-2013 12:35 PM - edited 02-05-2013 12:36 PM
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.
02-05-2013 12:38 PM - edited 02-05-2013 12:54 PM
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.
02-05-2013 01:12 PM - edited 02-05-2013 01:13 PM
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?
02-05-2013 01:18 PM - edited 02-05-2013 01:18 PM
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.