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

Tags: NI Software

Similar Questions

  • Measuring current using USB-6009 with a rheostat shunt resistance

    Hi all, I am an electronic engineering student doing my final year project. I am able to measure the current and voltage of a 9V battery, but not knowing the method that I use if it is correct.

    For the voltage, I have no problem getting it. But for the current, I connected a resistance of 1 k in parallel with the battery. When I run the program, I have a 9mA for battery. I understand when you use the DAQ assistant, for the installation of measuring current for USB-6009, that I need to specify as "external" shunt resistance and shunt resistance value (which is 1 k for the above experience).

    So, my question is when I use a rheostat as shunt resistance, what value should we indicate as a rheostat is a variable resistor, so it doesn't have a fixed value.

    Or the dimmer cannot be shunt resistance?

    Really need help and thank you for the reply.


  • 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.

  • 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.

  • Problem: The differential mode, measure 1.4 V, USB-6009

    Hello world

    I am able to charge and discharge the two capacitors, individually.

    I use the USB-6009;

    Two capacitors, two charts, two analog inputs (AI0 +, AI01-) and (Al1 +, Ai1-);

    I have configuredin differential mode; Ok

    Problem:

    When a capacitor is switched off, it measures 1.4 V

    Try to correctly set the task - run the DAQ Assistant to create the task

    Dev1/ao0 would be much better - Oh, and now that you take the wizard open-Do on the wiring diagram, it offers you

    For the PREMIUM of 6009 task mode AI0 is + AI3 is - and you only reserve reserve explicitly AI0 (AI3 line is reserved by seleting the + line in the channel and the declairing it is differentiated)

    And give the task/channel a significant name of "MyCap1Discharge" would be useful...

    Now let's talk about your electrical engineering:

    The input of the 6009 impedance is 144kOhms the resistance of discharge 1MOhm becomes useless as soon as you connect the control AI 6009.

  • 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

  • Measurement of current with NI6250

    Hello

    I use the 6250 OR for certain analyses of analog input.  In addition, I want to measure the current that I supply to the unit under test.  The current is about 300 my.

    I thought to use a shunt at 2 ohms resistance, so lowering the supply voltage of 0.6V and not having not too low-voltage measures.  I intend to adjust the votage of 9.6 V power supply to get 9V after the shunt resistance, because I'm supposed to provide.

    1. any comments or better suggestions for this?

    2. I will calculate the current by measuring the voltage on the resistance.  The question is I will use 2 unique inputs or differential input?

    3 you are looking for in table 4-3, page 4-12 of the M Series DAQ - user manual, I see an application of a differential input voltage.  There, they put 2 pull down of the resistance to Earth.  I do as well?  Can't I just apply the 2 lines of resistance, directly at the entrance of diff?

    4. am I suppose to connect the ALWAYS to my power supply GND?

    Thank you

    Rafi

    In your case, the differential is the way to go. You don't need resistance more bias from (drop) current if your PS is connected to (A) MASS somewhere anyway.

  • Measurement of current with NI 9219

    Hello

    I'm trying to measure using NOR 9219 & nd continuous current cDAQ, also I'm using a multimeter to ensure that the current value remains within a range of +/-25mA, the problem is that I am getting the value on the multimeter (0-20 my) and not in the measurement and automation (0-2 my!), which can be the cause of this?

    Best regards

    MGarry

    the problem is connected over connection, nothing to do with the material or the Meusurement and automation.

  • 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...)

  • measurement of current with usb6008

    Hello

    I use a PMT detector whose output signal varies from 0 µA to 100 microamperes, but must remain lower than 100 µA. I put a 100 kilo-Ohm resistor in the line signal and, using a voltmeter, I can measure the voltage at the terminals of the resistance and calculate the current. I would replace the voltmeter with my USB6008. However, when you use a differential pair of channels to measure the voltage on each side of the resistance, the current wells USB6008 and affects the signal.

    Is there a way to measure current without affecting the signal?

    Kind regards

    Oliver.

    Oliver,

    The 6008 sheet indicates that the AI input impedance is 144K ohms.  Far too low for what you're trying to do.  If you're stuck with the help of the 6008, I would consider using an instrumentation amplifier (AMP02 comes to mind http://www.analog.com/en/amplifiers-and-comparators/instrumentation-amplifiers/amp02/products/produc...)

    to build a celled amplifier with a gain of 1 to act as a buffer.  Input high impedance which does not load your source microamp, a lot of training for the 6008 entry.

  • 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.

  • Measures of tension with usb-6210


    Hello Saiko,

    Thanks for posting on the forum of National Instruments.

    This link (french post) may solve your problem: here.

    The problem has been using a differential mode (I - I +) to acquire an analog signal instead of CSR (AI GND).

    Kind regards

  • 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.

  • 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.

Maybe you are looking for