07-05-2011 07:52 AM
I'm using a B&W Tek USB spectrometer to characterize the pass band of filters and in order to obtain a usable signal I need to change the pixel monitoring mode to a binning average. This is easy enough to do in their BWSpec software but the catch is I need to do it using their LABview example vi included in their development package. I was wondering if anyone had any experience controlling B&W Tek spectrometers in LABview and could point me in the right direction as there seems to be little information on the topic. Anyway, I can attach the .vi on request. Any help would be greatly appreciated.
Thanks so much,
Sam
07-06-2011 03:12 PM
Attaching the VI would be great! I'll let you know if I have any thoughts.
07-07-2011 08:21 AM - edited 07-07-2011 08:24 AM
Thanks for the response. Here are the .vi and its sub .vis. I've found that binning pixels is not the issue though it would be nice to accomplish. It turns out my main problem is that the bwtekcalibration.vi file is buggy (It is called in the second pane of the sequence stack in the main program). The main idea of this .vi is to read the .ini file included in the folder which contains a set of numbers which it uses to convert pixel numbers into wavelength values to display on a waveform graph. To begin with the .vi uses out of date sub vis which I have updated in the file bwtekcalibrationupdate.vi (which I would suggest calling in place of the original). However, even after replacing the out of date sub vis I still get an error from the read from text .vi which simply says "Not Executed". Anyway, sorry it's abit of a convoluted issue, any input would be greatly appreciated.
Thanks again,
Sam
07-08-2011 12:00 PM
I think I managed to recreate the error you were getting with the updated version. The problem was that the .ini is Read Only. I disabled the read only check box in the file properties for the ini file (in windows) and it was able to execute successfully.
12-01-2011 06:27 AM
Do you have BWTEK SDK or h file with BWTEKUSB.DLL? I have fied bwtekcalibration.vi, see attached file.
12-02-2011 12:37 PM
Hello ronke,
Do you have any more details on the files that you're looking for?