01-23-2009 07:07 PM
I am trying to do something very simple, but am new to Labview. I simply want to read a voltage input from a photodetector. I am trying to use the DAQ solution wizards' prefab VI to do this, but the voltage output from the detector isn't making it to the computer. The interface consists of:
-photodetector
-CB-68LP I/O board
-PCI-6023E DAQ
-LabVIEW 6.1 on windows XP
After configuring a virtual channel (which I may be doing incorrectly) to use with the VI, the voltage just maxes out a 5V and stays there even though the input is <3V.
Any ideas would help.
01-26-2009 12:38 PM
Hi,
I am curious as to what pins you are using when connecting your photodector to the CB-68LP (6023E). It seems to me as if there is a grounding problem with your signal source. Here is an article that shows how to connect a grounded and ungrounded signal source to the analog input on your DAQ card. There is a table toward the middle of the document that shows some different connections.
Field Wiring and Noise Considerations for Analog Signals
http://zone.ni.com/devzone/cda/tut/p/id/3344
If you have the proper connection, I would recommend to try out some of the Shipping Examples with Traditional DAQ. Here is how to find those examples:
Where are the LabVIEW Traditional NI-DAQ Examples?
http://digital.ni.com/public.nsf/allkb/46D0C7360A10D25F862571B5007B4411?OpenDocument
Once here, navigate to daq>>anlogin>>anlogin.llb and try one of the analog input examples.
01-26-2009 06:15 PM
I was plugging in directly to pins 28 & 29, but after reading some of your first reference, I see there may be more to it. I tried using the suggested configuration for a NRSE, but this time I see zero signal instead of saturation. To be more specific here is what I was doing:
Channel configuration selections:
-analog input
-single ended non-referenced
-AI -4
Use "Continuous Voltage Measurement" from the DAQ solutions wizard and select the channel I configured above.
Wiring:
-BNC from photodetector
- + wire into AI4
- - wire into AI sense
- a line from each( with a 10K resistor)into AI GND
Any corrections/suggestions?
01-27-2009 09:51 AM
What is the expected voltage range of the output of the photodetector? Can you provide the manufacturer and model number?
-AK2DM
01-28-2009 11:20 AM
I would say the expected output of the PD is from 0-5V, but that is completely variable as I am not interested in the absolute power. I only need a relative measurement of the power fluctuation of the laser . I am using a Thorlabs DET110, with a pulsed laser centered at 800 nm(~100fs pulse, 1kHz reprate, ~1mJ pulse). After you brought this up, I noticed that Thorlabs recommends a load resistor between the BNC and measuring device. This might have had something to do with the saturation.
Any ideas on the setup would be welcome. I just want it to be robust and consistent.
01-28-2009 01:12 PM
Yes, a load resistor is required in order to convert the current to a voltage that you can read. Also make sure the battery in the unit is good- and the power switch is on too 🙂
-AK2DM
01-29-2009 03:19 PM
01-30-2009 10:08 AM
01-30-2009 06:52 PM
I was using a 50 ohm resistor and 50 ohm BNC as Thorlabs recommended. However, I have changed the setup to RSE (+ on AI6 and - on AI GND), with the same result: saturation at 5V. I ran a test on the channel I configured with MAX, and simultaneously checked the input voltage to the I/O board with a digital multimeter. As soon as I touched the multimeter probes to the inputs, the level of the test dropped from 5V to the correct voltage around 2.5V. I checked the same pins on the I/O board with a AA battery, and the readings were normal which makes me think there isn't necessarily a grounding issue with the board itself, but a grounding problem with the photodetector.
Any ideas on what this means, and how to fix it?
01-30-2009 06:52 PM
I was using a 50 ohm resistor and 50 ohm BNC as Thorlabs recommended. However, I have changed the setup to RSE (+ on AI6 and - on AI GND), with the same result: saturation at 5V. I ran a test on the channel I configured with MAX, and simultaneously checked the input voltage to the I/O board with a digital multimeter. As soon as I touched the multimeter probes to the inputs, the level of the test dropped from 5V to the correct voltage around 2.5V. I checked the same pins on the I/O board with a AA battery, and the readings were normal which makes me think there isn't necessarily a grounding issue with the board itself, but a grounding problem with the photodetector.
Any ideas on what this means, and how to fix it?