02-27-2013 12:17 PM
Hello,
I'm trying to use my HR4000 Spectrometer with LabVIEW 2010.
I currently have VISA 5.1.2, I've installed the Ocean Optics 2000 4000 driver as well as the HR4000.inf file. Afterwards I used VISA to create a resource which is recognized by LabVIEW, by recognized I mean it shows up as a resource option in the VI.
The VI I'm working with is the Acquire Continuous Waveform.vi which is one of the examples provided with the 2000 4000 driver, and when I run it I receive no errors but also no waveform appears.
What am I missing?
02-27-2013 02:15 PM
Explain 'I used VISA to create a resource'. I hope you don't mean you used the VISA wizard for the USB connection.
02-27-2013 03:21 PM
Uh oh, yes that's exactly what I meant...
02-27-2013 03:26 PM
Why? That discards the inf file you got with the driver. You need to undo everything and use the provided windows driver.
02-28-2013 06:50 PM
Sorry, relatively inexperienced with LabVIEW in general and especially so with anything other than a DAQ. I've been given a spectrometer and told, "Here, make this work." by my research advisor.
I used VISA to make a new one because originally, I tried using the inf file provided with the driver and I was met with the same issue. So now, I've removed the VISA driver(s) I made and am using the HR4000_vista.inf file provided with the Ocean 2000 4000 driver. When using the VI's, two visa resource names show: LPT1 and USB0::0x2457::0x1012::NI-VISA-40001::RAW. Running with either one still does not produce a waveform.
Thanks for your help so far.
02-28-2013 10:55 PM
03-04-2013 01:07 PM
My apologies for the delayed response; I've been out of town without internet access. I went into my program files and deleted any files that I created with VISA however I haven't checked what the device manager says.
I'll be in the lab tomorrow to find out more.
03-05-2013 04:11 PM
Under the device manager it reads the HR4000 as an NI-VISA USB device
03-05-2013 04:40 PM
Then you missed something. Did you also delete the pnf file?
03-17-2013 08:52 AM
Hello I face the same problem here; I just find no clues out. It's Win 7 64 bit, LV 2011 32bit.
Following original post, I see no waveform out.