LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Ocean Optics Maya with LabVIEW

Solved!
Go to solution

Hello,

 

I'm trying to interface a Maya 2000 Spectrometer with LabVIEW, and avoiding buying Omnidriver.

 

I've installed the latest version of this driver:

 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=7833BD4A31DA1274E04400144FB7D2...

 

The spectrometer is detected by Windows in the Device Manager tab and it says it is working properly, and shows that this driver is installed. However when I go to MAX I can't see the device. How can I go about getting NI software to recognise the Maya and to begin collecting data from it?

 

Thanks,

 

Daniel

0 Kudos
Message 1 of 14
(5,152 Views)

If you'll notice when you open MAX it says "Measurement & Automation Explorer (MAX) provides access to your NATIONAL INSTRUMENTS products."  It doesn't support third party hardware or software.

Jim

LV 2020
0 Kudos
Message 2 of 14
(5,151 Views)

In the documentation for the driver it states:

 

 

  • NI MAX should be able to detect this instrument after installing the INF file.

 

So there's no way to tell if my NI software can see the device? Do I just try to collect data with it in LabVIEW then?

0 Kudos
Message 3 of 14
(5,143 Views)

My apologies.  It has been a while since I have used a non NI instrument, and don't recall if I could find them with MAX.  What is the interface?  I have had some difficulty with MAX sometimes not finding NI modules that were USB.

Jim

LV 2020
0 Kudos
Message 4 of 14
(5,136 Views)

It's USB. And MAX only seems to want to show serial and parallel devices.

0 Kudos
Message 5 of 14
(5,134 Views)

After installing the driver, does your system recognize the spectrometer when you plug it in?  It should be visible in the device manager as an NI-VISA USB device.  If it isn't there, MAX isn't going to see it either. If you had any other drivers previously installed, that might prevent the NI driver from functioning...

 

JasonP - CLD

0 Kudos
Message 6 of 14
(5,115 Views)

Daniel,

 

A couple of questions.  Do you have any other USB devices that you could connect?  NI devices would be great just to cover that angle.  Also, if you plug the instrument into the USB port does windows acknowlege that it sees it?  Oops, should have read Jason's post more closely!

Jim

LV 2020
0 Kudos
Message 7 of 14
(5,107 Views)

I'm afraid I don't have any other NI USB devices. Or anything else that I could collect data from which connects to a USB port.

 

The Maya is seen in the VISA Driver Wizard and it can tell that it is connected. It also works with the OO software. But in MAX I'm only showing COM1 and LPT1 and no USB devices.

 

Also, when I open the example VIs that come with the driver, the only options for VISA resource name are COM1 and LPT1.

0 Kudos
Message 8 of 14
(5,079 Views)
Solution
Accepted by topic author dof1986

OK, if it works with the OO software, then the original OO driver is still installed.  You MUST uninstall the original OO driver, THEN install the NI driver.  The best thing to do is:

 

1) With the spectrometer plugged in, go to the Device Manager in windows

2) Right-click on your spectrometer (it has to be somewhere in the device manager or it wouldn't work with the OO software)

3) Select "Uninstall"

4) Unplug the spectrometer

5) Go to your desktop (or appropriate folder) and right click on the NI provided INF file that you down loaded

6) Select Install

7) Plug in the spectrometer, agree to all defaults, and it should now show up on the Device Manager under "NI-VISA USB Devices"

 

You should now be able to see your spectrometer in MAX.  WARNING!!! After you've done this, the OO software will no longer work.  BE SURE you don't need the OO software before following this procedure.

 

JasonP - CLD

Message 9 of 14
(5,072 Views)

Ahhhh... Now it works. Thank you for the help.

 

Daniel

0 Kudos
Message 10 of 14
(5,060 Views)