photodiode of reading with USB-6009

I'm reading the voltage output of a photodiode using the analog inputs on a USB DAQ 6009 of Labview.  I am able to read the voltage of the batteries using data acquisition, but when the photodiode is connected with the acquisition of data, I get a noisy signal (see photo).  The photodiode works fine when I connect a voltmeter (voltage response IE with light).

This could be a problem of air conditioning or impedace signals between DAQ and photodiode (attached sheet).

Any suggestion would be appreciated.

Thank you

You can also consider your signal filtering if there are too many 60 Hz noise.  You can put a simple filtering on the input circuit or use one of the many digital filters applied to your data shipped with labview.  This could help depending on the nature of the desired signal (pulse of IE, DC, curves of decomposition...)

Tags: NI Software

Similar Questions

  • measure resistance with USB-6009

    I am measuring the resistance of a photocell using the USB-6009 case. There is an option of "resistance" in the DAQ assistant, but it does not display the values on the right. Here's what I do:

    Connections: GND - photocell - ai0

    I'm really not sure if this is right, but I assumed that he could measure the resistance as a multimeter. I have not tried doing a divisor of tension and using the Ohm's law.

    DAQ Assistant settings: I 'add channel' by using the more blue and choose "resistance". Then, I chose ai0 under USB-6009. I set the max and min values and read it all the time. First problem, playback is generally negative and it flickers a lot. I read about - 1.3 k when I do that with a k resistor 10 regular (not a photoresistor)

    Obviously there is something wrong, but I'm very new to all this and cannot figure it out by myself. Any help would be much appreciated.

    Thank you!

    The 6009 cannot measure the resistance as a multimeter unless you can prove that a current as the wizard by default source is set to. In itself, it can measure a voltage. Then, use a voltage divider.

  • measurement of current with usb-6009

    Hi, my name is hung and I am a student in electrical engineering... I'm doing a thesis that the project using Labview and acquisition of data NOR UBS-6009 to simulate the function generator, Oscilloscope, Digital Microsoft (DMM)... and now I'm simulating DMM. I managed to measure the voltage and resistance which i use voltage divider method, but I encountered a problem with the current measurement. The problem is the USB-6009 to measure use the current, it measures an incorrect value. I tried to use the current CQI 0-20mA Sample.vi example but it always measures an incorrect value. If NI USB-6009 supports for the measuring current? Is there a way to measure the currents using USB-6009? Please, help me. This thesis project is so important for me. Thank you.

    Hung,

    Since you are a student in electrical engineering, I'll show you how to know the answers to your questions.

    1. review the specifications for the USB-6009 case.  In particular look at the specifications of analog input.

    2. How would you measure current if you had only a voltmeter?  Use the same method with the USB-6009 case.  (Tip: apply the Ohm's law).

    General comment: when using any measuring instrument, always consider maximum permitted values at the entrances so that the instrument is not damaged

    and the measure is accurate.

    Let us know how you do.

    Lynn

  • Order of Python with USB-6009

    Hello

    I try to use the USB-6009 in Python 2.6 housing environment in Win7 64 bit system and I am facing problems with the following command.

    The following questions, I see the following error command

    1. DLL = windll. LoadLibrary("C:\\Windows\\System32\\nicaiu.dll")
      ...
      ... #command with return value! = 0
      error_str = c_char_p ("")
      b_size = c_uint (2048)
      ret_a = dll. DAQmxGetExtendedErrorInfo (error_str, b_size)

      After the last command python, I get the attached error message
      I'm doing something wrong?

    Thank you for the help,

    Hi Katerina

    You can try to replace "c_char_p" by "create_string_buffer." According to the Python reference library , "you should be careful, however, not not transmit (edit: c_char_p) functions expected of pointers to final memory.» If you need final memory blocks, types has a create_string_buffer() function that creates these in various ways. »

    from ctypes import *
    
    dll = windll.LoadLibrary("c:\\windows\\system32\\nicaiu.dll")
    error_str = create_string_buffer(2048) # try this instead of c_char_p("")
    b_size=c_uint(2048)
    task_handle = c_uint(0)
    error = dll.DAQmxStartTask(task_handle) #this will result in an error
    try:
        dll.DAQmxGetExtendedErrorInfo(error_str, b_size)
        print error_str.value
    except:
        print "oops"
    

    Let me know if it helps.

    Kind regards

    Sunil

  • Ideas for driver control of motors stepper with USB-6009

    I have a stepper motor driver that supports a digital input for the control signal.  Each rising edge on the driver entry corresponds to the movement of a single step.  I have two devices USB-6009.  Is it possible to generate a digital signal with the 6009 faster than 150 Hz?  I need produce variable frequency in the interval from 0 to 1 KHz.

    zaphead,

    The OID on your 6009 being timed sofware it comes out as fast as your computer all supports.  If a computer faster or less current will help things but you will get not the 1 kHz you need.  The best way to get this is to use another card that supports hardware timing DIO.

  • Timeout of read with USB-serial adapter

    Hello world

    Sorry to post this kind of question again, but I spent 2 days to navigate on this forum, the forum of The Mathworks, and several web pages, I still cannot find the thing that will solve my problem

    I'm trying to control an Agilent 34970 A (with 40 channels 34908 A module) to read values of temperature thermocouples. I use a laptop (win7/64) and an adapter USB-to-serial (MCT U232-P9, who uses the Philips P87C52X2BA, not the FTDI chipset in case it makes a difference) and I installed the driver for this card. The adapter is recognized by Windows and appears as COM4.

    I put the COM port settings in Windows as they are on the unit (9600 baud, parity: none, 8 data bits, flow control: Xon/Xoff; the stop bits are not specified on the device).

    And... TADAAA... it does not work!

    I tried to use NI MAX (version 5.5), LabView (2013/32-bit version) and MatLab (R2012b) to send the * IDN? command and read the response. The part 'writing' is fine (at least it does not generate an error, but I don't know if the command reaches the instrument), but there is no response from the unit. If I try to read the COM port, I get the 1073807339 error (time-out before the operation ended). I tried to see if there any bytes that will be read at the port, but there is no...

    In LabView, I put the Xon and Xoff characters to those specified in the manual of Agilent (0x11 for Xon and Xoff 0x13), but there are a few other settings that I am not so sure: "Activate termination Char" (should be on or off? Tried both - no change) and the tank itself ending (I left it to the default '\n').

    I know this isn't really a problem NOR / Labview, but given that so many people in this community seem to have experienced this problem, I would be very grateful if someone can help solve me this problem!

    Thanks in advance

    Mathieu

    Yes.

  • Problem with MX DAQ with USB-6009

    Hey guys, I'd be happy if someone of you can help me!

    I want to measure the tension of a place and it was working fine, but now I want to measure the temperature of the room too... and that's my problem.

    When I put 2 virtual channels DAQ, that it won't work, I get an error when I tried to read the voltage and the temperature.

    Error-50103 occurred at DAQmx Read (analog 1-d Wfm NChan NSamp) .vi:1

    Possible reasons:

    The specified resource is reserved. The operation could not be performed as indicated.

    Task name: _unnamedTask<17C>

    If I click on continue, I get the same error again and again and again...

    Can someone help me on this?

    How can I track more than one thing with DAQ MX?

    Because when the measures only one thing it works, but when I try 2 or more, it's crushing.

    I download the vi and an image with the code!

    Thank you

    You should do something like that. I don't really know if the data is sorted by the column or lines when you return a 2D array. This is for temporary data in the last column. If it is sorted by lines, then wire the '7' in the line of the array Index. Or, move the table to Index at before the transposition table.

    You can use the function remove the table to remove temp data before moving on to the loop for. It is up to you. The for loop you have is built also hurt. Make use of the functionality of an Auto-Index loop and you don't need over to Terminal n of the loop and eliminates the Index table inside the loop function for.

    Spend some time and take the LabVIEW tutorials and look at examples of delivery to get an idea of how do the work of loops and options for indexing tables.

  • temperature sensor with the acquisition of data usb-6009

    Greeting

    I want to use a sensor with usb-6009 to save the variation of body temperature about 15 minutes and then use these data in labview.

    If you please you can advise me with the best low-cost use and the way/circuit sensor connect it to the usb-6009.

    Hi ba7soun,

    If you can use with USB-6009 LM35 depends on the range of output voltage of the sensor. I understand that it requires a 5V supply with respect to the ground, which you can provide to the USB-6009 (more than 200 my should not come from the USB-6009).

    The maximum range of the USB-6009 is - 10V to + 10V, while the minimum range is - 1V to + 1V, also probably the output signal of the LM35 will be in this range. What you need to do is to compare the full range of the output signal with the range of the DAQ divided by 2exp (14) (because it is a 14 bit ADC) and ensure that the first is much more than the latter.

    Kind regards

    Condette Dhruv.

  • inputs and outputs analog digital usb 6009

    I'm having a problem with my USB 6009 in labview programming.  I try to read continuously from the analog inputs while having an event focused on digital output within the same program/vi.  Basically, I need to taste all the time the analog inputs while having an event defined by the user (button control) to signal the digital inputs to turn on then after awhile.  The event of digital output must be independent of the analog sampling system.  I was throwing the "error already allocated resource" in most of the vi, I wrote to try to achieve.  What is programmatically possible with usb 6009?  I am at my wits end trying to do this and any help would be greatly appreciated (by myself and my boss).  Thanks in advance for your answers.

    RJ


  • NI MAX with USB devices access violation

    I found a lot of messages about access violation, but most of them are about LabView and not MAX OR, as is the case here.

    I get an access violation error (0xC0000005 at PPC = 0x106399AE) whenever I try to create a new task of MAX OR by selecting a USB DAQ device. I tried with USB-6009 and USB-6211, same problem. The device is properly recognized (test) but when I try to create a new task I complete all the procedure, and when cliquerai I finish I get the error. This also causes LabView programs that use the tasks of MAX OR crashing.

    First of all, this happened after the NI DAQmx drivers update to a new version, but then I recognized that this version was incompatible with Labview installed on this machine (8.6). I tried to fall back by using a restore point in windows and reinstall the 9.5.1 DAQmx drivers (the latest drivers supported by the version of LabView.

    I tried to 'Reset Configuration data' MAX OR (under the Tools menu) without success. The WindowsXPUSBhotfix is also installed in the system. Any help?

    I also sent a support NC ticket: c82f5b4f-d774-40a2-8341-4dbeee9df876

    Specifications of the PC:

    Windows XP SP3

    LabVIEW 8.6

    NOR-DAQmx 9.5.1

    The error was eventually resolved by uninstalling OR MAX and LabView and then reinstall all the software needed. In particular, the configuration that worked was:

    -NI MAX 5.1 (includes NOT-DAQmx 9.5.1)

    -LabView 8.6

    -2.6 OR-488. 2 (including NI-VISA 4.4.1)

    the last of them was necessary to connect to another device to purchase. With the above configuration, the wizard DAQ worked and generated a task, but when the program was launched, the task was not able to recognize the good device (unit name is an empty string). So I converted it to a NOR-DAQmx task, and now it works. (Don't really know if this quick passage would have been a good work around from the beginning.)

  • Problem of analog sinusoidal input USB-6009

    Hello

    I am a newbie to Labview. I'm using Labview 2009 and USB-6009. I tried to use USB-6009 to display the input sinewave of function generator signal. First of all, the perfect sinusoidal looking at the frequency of 1 kHz, but when I changed the frequency of 10 kHz, the sinusoid turned into a triangle wave. When I test the input signal, I put the 48 kHz sampling and Terminal configuration is CSR. Is there a problem with USB-6009?

    You really need to spend some time to study sampling and Nyquist theorem-not LabVIEW. To faithfully reproduce the shape of the sine wave, you must go to a sampling rate 10 times higher than your input frequency. With the 6009, i.e. limit the entry less than 5 kHz.

  • Time output USB-6009

    Hello guys,.

    I am trying to create a simple VI to generate two outputs analog square with USB-6009. Each output supplies a LED and it is necessary that single LED shines at the time - so when Out0 is active, Out1 is zero and the other way around.

    To get started, I created a VI in which the goods are made manually by Boolean and it works fine (square v1.vi of signal).

    But I need the output to switch automatically after the amount of time given (I needn't of high frequencies, at about 1 Hz). To do this, I changed "square wave v1.vi" in "square wave v2.vi" and set the Structures of the case in an another While loop which would be timed by the wait function (ms). The idea was that the loop internal would turn the output rate of frequency while the outer loop would ensure a continued implementation of the programme. But the reality is very different and my low level of competence (this is my first VI) let me down. Could you please help me out of this? I appreciate all the advice.

    To summarize: The VI must be continuously running program that generates two dependent signals with adjustable amplitude and opposite phases (Out0, when active, Out1 is zero and vice versa.). Signals must be switched automatically to the given frequency.

    Here's a simple flip-flop - while time the loop runs, the Boolean line connected to the digital output passes from true to False to True... with the schedule determined by the time you put in waiting for him (note that you can have regardless of the different times for the true = on and False = off case).  Of course, the life of signal (represented by 'Digital output') 'inside' this loop - you have to put the 1 point 1Line DAQmx VI write digital Boolean inside the loop, or find a way (for example, a queue) to get the data between the inside and outside.

  • Control of Stepper Motor with case NI USB-6009

    Hi all

    I am currently creating a movement control system with a double movement actuator

    http://www.haydonkerk.com/LinearActuatorProducts/StepperMotorLinearActuators/DualMotionLinearActuato...

    and two bipolar chopper drives (see table), which should power the motor. We already have a NI USB 6009 in our lab, so I was wondering if I could use it to send signals to the two pilots to control the speed and direction of each axis on the engine?

    Enclosed driver's manual indicates that input signals should be 0-5 V DC (TTL logic). I have been informed by the engine distributor that the 0-5 V DC TTL drivers required, the signals are analog. The NI USB-6009 manual reading, there are two 0-5 V analog outputs on the acquisition of data usb so I could provide two signals?

    There are often posted however similar problems, it is usually a digital signal NI6009/6009 sends the driver. Looking at the driver's manual, can someone tell if an analogue signals or required as I have said, I was misinformed or 0-5 v DC signal will be enough. I can get more in touch with the dealer if you have any questions you guys think I should ask him.

    Thanks in advance for any help! It is much appreciated.

    I looked in the manual and it doesn't seem to be very clear. I know that the USB-6009 case is capable of AO and DO, then you would be although it is. I could contact the Haydon Kerk support for more concrete details on the gap between what says the manual and what they told you.

  • With the NI USB-6009 analog input lag

    Hello

    I try to acquire analog signals with NI USB 6009 using LabVIEW. (The signal is 50 Hz of the functional generator).

    However, the acquired singnal has dynamic splitters, which is NOT observed by my oscilloscope.

    I have no idea why this phase shift occurs.

    Any information is welcome. Thank you for reading.

    An image file will not help. Post your real VI. If Firefox does not work, use explore or Chrome to fix your VI (s)!

    You have here a Subvi, I don't see what's inside and how it is configured. In addition, this while loop is ridiculous: there is no button to stop him running. Never use the red button to abandon for a normal shutdown of a VI!

    Why you have configured NChan NSample? Measure a unique signal, Yes? For example, use 1 channel only.

    Edit: why do not you play first with an example given, delivered with LabVIEW?

    Your LabVIEW, go to the Help menu--> find--> material and output examples--> DAQmx--> entry--> and open 'Input.VI - constant tension!

    This VI allows to enjoy your analog signal.

  • With the help of USB-6009 with LabView 8.0

    I try to use a USB-6009 with LabView 8.0 box.  I DAQmx 8.8 (that came with the unit) installed and verified that the 6009 works correctly through MAX I also read on this site that the 6009 is compatible with LabView 7 or more.  However, I am unable to get LabView to recognize the device.  Using LabView, to use a DAQ hardware I have to select "Input" in the palette 'Functions'  But there is no range "Input".  Actually I can't find the DAQ Assistant Express VI anywhere.

    Do I need to use a different version of the DAQmx?  If so, which and where can I find it?

    Thank you.

    LabVIEW 8.0 is not supported with DAQmx 8.8. I think that the last version with support for 8.0 is DAQmx 8.6.1. You can uninstall 8.8 and install 8.6.1. You should really consider upgrading your version of LabVIEW. NOR has decided to limit support for 7.1 8.0 just now. The latest version of DAQmx manages to only 8.2.x and higher.

Maybe you are looking for

  • problem with the yellow triangle without preventing Internet access

    problem with the yellow triangle without preventing Internet access.in across the network!all PC go to the internet through TMG and some computers work very well and most of the computers triangle shows yellow and always go online, but the connection

  • Windows Movie Maker, save my video on DVD

    Original title: Windows Movie Maker. I have Windows Movie Maker, I have XP Home + SP3, how do I save my video to DVD (I can use CD, why? * address email is removed from the privacy *)

  • Work stopped for blackBerry Smartphones

    So I have a Torch 9800 and last night and randomly turned off and won't turn back on. My first instinct was to remove the battery, but it did not work. I then loaded, without the SIM card in as I passed on a new phone and he left all night. In the mo

  • AERI Dusabked

    I have a laptop of HP's Touchsmart TM2.  The AERO is not enabled and seems to resist all attempts to reset.  The machine is Windows 7 64 bit.  "Glass" parameters seem to be disabled.  This system worked before going to iexplorer 10.

  • The physical size of ACS db is more than 50% of its actual size. (ACS version: 5.5.0.46)

    Since the Migration to ACS 5.5.0.46 we continue to see the following message appears in the Inbox of alarm Cisco Secure ACS alarm (REVIEW): the physical size of ACS db is more than 50% of its actual size. Cisco Secure ACS - Alarm Notification Severit