How to measure current

Hi:
We have a DAQmx (6024E) and we want to measure the current from a
flowmeter. When I tried to use the example program of LabView, I found
that the measured current is much different from the current we got from a voltagemeter directly.
Please help me to figure out HOW TO MEASURE CURRENT with NIDAQmx and LabView. Thanks
Message Edited by kuroshio on 07-11-2005 10:49 AM
Message Edited by kuroshio on 07-11-2005 10:55 AM

Hello kuroshio,
Current measurements are really just a voltage measurement with V=I*R applied.  Have you tried first measuring a voltage and comparing that to the voltage from your voltmeter?  You could measure the voltage a couple of ways.  I would suggest first using the Measurement & Automation Explorer (MAX) test panels.  Make sure your signal is connected to the correct pins and choose differential as the terminal configuration.  Once you have a correct voltage measurement, then you can use a LabVIEW example from the example finder (Help>>Find Examples) to get started with a current measurement.  In the example finder, you can navigate to Hardware Input and Output>>DAQmx>>Analog Measurements>>Current.  There are a couple examples there for current measurements.  You will have to enter the value of the resistor you are measuring the current through.  Be sure to re-post if you still have problems
-Alan A.

Similar Messages

  • How to measure current and resistance if i only have DAQ using VB 6 and Measurement Studio

    I want to do a remote lab for basic electronic lab. One of the task is to measure current and resistance. How to do it if I only have DAQ card and using Visual Basic 6 and Measurement Studio. Can anyone give me a clue.

    If your DAQ device is supported by DAQmx, you can use it with VB6. Here's how: NI-DAQmx Support in Visual Basic 6.0.
    Michael P
    National Instruments

  • How to measure current and voltage and rpm with daq device

    i am measuring current and voltage and am wondering should i use shunt resistors or current sensors hall effect sensors. i have a pci 6221 and a scc-68 breakout box. what specifications or size should the shunt resistor/current sensor be or should i use another device to measure the currrent and voltage. do i need any other safety device between the resistors, current sensors and the scc-68 breakout box when measuring the current and voltage. will the daq card pci 6221 pick up a signal from the resistor. what terminals should the wires from the resistors and current sensors be connected to in the scc-68. i am using a proximity switch to measure rpm of a motor. should the proximity switch be 2 or 3wire connection. should it have an analog or digital connection and is a power supply required to power the proximity switch and should it have an npn or pnp connection

    hello,
     i was going to use a 20amp 50mv, or a 20amp 100mv current shunt and connect wires directly into the AI input terminals of the scc-68 from the current shunt would these be suitable. would current shunts such as these be suitable to use http://uk.farnell.com/elc/sh10020/shunt-sh10020-20a-100mv-1-class/dp/1319576 or http://uk.farnell.com/datel/3020-01098-0/shunt-50mv-20a/dp/1339338
    is it ok to use either a current shunt or should a hall effect sensor be used  such as this http://ie.farnell.com/honeywell-s-c/csla2cd/sensor-hall-effect/dp/1082269 . which of them would be more accurate or are both of them fairly accurate.
    when i am measuring voltage can i connect two resistors between the positive and negative of the wires going to the battery and connect two wires from either side of the resistor directly into the analog inputs of the scc-68 and measure the 12-15 volts directly would the pci6221 and scc-68 be able to measure the voltage drop across the resistor.
    i wanted to measure rpm also does it matter whether the proximity switch has 2 or 3 wires and should it have an analog or digital/frequency output for cponnecting to the scc-68

  • How to measure current on DC servo motor.

    Need to measure current on DC servo motor. What is the best way to measure the current on the motor as it moves to position? Using PXI-7344 controller and MID-7654 drive unit.  

    This is not an easy task. Here are some ideas:
    Direct current measurement:
    Add shunt resistors into the motor cabling and measure the voltage over the resistors. As the 7654 doesn't provide DC current but PWM current (32 kHz) you will have to acquire the data pretty fast (at least with 200 kHz). This could be done with a DAQ-board like the PCI-6220. Additionally you will have to do some math to calculate the RMS value of the current.
    Control voltage measurement:
    You could measure the output voltage of the 7344 as it is proportional to the duty cycle of the PWM current signal of the 7654. You will also need some additional measurement hardware but you wouldn't have to use shunt resistors and RMS calculations. The major disadvantage of this option is cabling as there is a single cable connection between the controller and the drive and you would have to use e. g. two external connector blocks and an additional cable in order to be able to connect your measurement hardware to the voltage output of the 7344.
    Torque measurement:
    Torque is also proportional to motor current so you could add a torque sensor to your motor and measure the output signal with e. g. a PCI-6220. Depending on your hardware setup this might be the best option.
    I hope that helps,
    Jochen Klier
    National Instruments Germany

  • How to measure a current signal with NI 6211?

    How to measure a current signal with NI 6211?

    Hi Clecio,
    This is a charge accelerometer. It is different from the IEPE accelerometers that outputs a voltage signal.
    You need a charge amplifier. Then according to the charge amplifier output we can select an appropriate module to measure the signal.
    It is not possible to measure charge accelerometers with NI 9234 directly.
    Best Regards,
    Rodrigo Schneiater
    Application Engineering
    National Instruments Brazil
    If this information was useful, please click in the 'KUDOS!' beside.

  • How to measure high currents accurately (upto 24A) using FPGA

    I need to measure high currents accurately. I have only a FPGA board and TBX 68 terminal block. Do I need any other NI hardware?

    The answer will depend on your specific situation, such as the voltage levels you are working with, the source of the current, the influence some additional components such as a shunt resistor may have, etc. Can you provide more details about the application, the source of the current, the voltage levels, how quickly the current will change, the stimulus for a current change, etc.
    The most common method to measure a current is to add a shunt resistor in the current loop and measure the voltage across the shunt to calculate the current based on the voltage and resistance. You would need to make sure the absolute voltage levels (relative to the ground of the FPGA board) do not exceed its specifications (+-10V). The value of the shunt will depend on the current and the accuracy you need in the measurement.
    If you use a 5 milliohm shunt, then you will have a 0.12V drop across the shunt resistor at 24A. The 7831R has a relative accuracy of about 300uV, this would translate into a relative accuracy of about 61mA for a 5 milliohm shunt (absolute accuracy will be less). If you cannot tolerate a 0.12V drop at 24A, then you will have to use a smaller shunt resistor which will give youless accuracy in the current measurement.
    The shunt resistor value will have to be precisely measured ahead of time using a good DMM and a 4-wire resistance measurement. There will be some error associated with this measurement. The resistance will also change due to self-heating as the current through it changes (0.12V * 24A = 2.88W) adding some non-linearity to the measurement.
    This is probably the simplest approach. If this setup is not feasible (e.g. the voltage in not within the 7831R input range) then you will need some additional signal conditioning. There are some off-the-shelf components for measuring larger currents that would translate the current into a voltage that you can measure with the FPGA board. Look at the following component as a place to get started.
    A closed loop current sensor like the following may work. It runs off a 5 V supply, and is relatively easy to wire up:
    http://rocky.digikey.com/scripts/ProductInfo.dll?Site=US&V=102&M=SCD20PUN
    Christian L
    NI Consulting Services
    Christian Loew, CLA
    Principal Systems Engineer, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • How to separate the source and the measured current

    Hi Everybody,
    I'd like to know if there is some way to separate the source and the measured current and just writte an mathematical expression to make a dependence between the source and the said parameter. Thanks in advance.

    Sure,
    Here is the deal:
    I'd like to build a circuit with dependent sources, but instead of connecting the sense of current/voltage, I'd like to know if there is a way to writte a sentence for the source which is dependent of a parameter.
    For example:
    In this circuit I just wrote an expression for the source and its respective parameter. (8*Io).
    Attachments:
    images.jpg ‏7 KB

  • How to measure the baseline of a noisy, pulsed signal

    Hi
    I am measuring the torque exerted by a large motor on a shaft using a load cell and lever arm. The shaft runs at approx 150 rpm. I have attached a drawing that shows the output I get. This is a test rig.
    I have written some code that measures the maximum peak out of a group of approx 5 peaks and writes this to a shift register. This gives me an idea of the maximum torque "spike".
    I also wish to measure the baseline torque (due to the bearings in the machine). Even when highly filtered (my noise filter is set to 49Hz) the signal exhibits this noise which is probably due to vibration in the system. The signal is zeroed when the motor is not running.
    Does anyone have an ideas on how to measure the "baseline" torque? The large spike in torque prevents me from doing a running average. Can anyone think of a way of averaging just the noisy part of the signal to get an average value? I aim to to subtract the average baseline torque from the peak value to get an idea of the torque due to the event which causes
    the spike.
    Any help would be greatly appreciated.
    Many thanks.
    Attachments:
    drawing of torque signal.gif ‏26 KB

    Thanks for the reply. I understand what you are saying. However, I might have to modify my method for measuring the peaks if I choose to implement your idea. I have taken a screenshot of my "peak finder" code and attached it.
    Bascially, the reset terminal is wired to a timer which outputs a pulse every few seconds. This resets the vi (a standard NI one I think) and sets the peak magnitude back to zero. This way, I am windowing the signal and measuring the maximum peak in every window. This is what I need to do.
    So I could use a logical filter to feed data to the running average only if;
    the amplitude of the signal is less than a certain threshold
    and if the current value has similar low peaks either side of it
    How would you construct the code to delay the evaluation so that the values in front and behind of the current data point can be analysed?
    thanks again
    Attachments:
    peak_find_screenshot.jpg ‏45 KB

  • How to measure torque on a DC motor using Multisim?

    Hello,
    I would like to know how we measure torque on a DC motor using Multisim Education edition.
    I've searched for the component, "eddy current load brake", but could not find it. Is that component in Multisim?
    Thank you,
    Neil

    Hi,
    Please refer to this forum post.
    http://forums.ni.com/t5/Circuit-Design-Suite-Multisim/PM-DC-Motor-Model-Trouble/td-p/1931859
    Hope this helps.
    Regards,
    Tayyab R,
    National Instruments.

  • How to measure/estimate Bias of the signal

    Dear Sir
    I am performing the FFT of the signal which collect in real time from the hall effect current tranceducer SCT-013-005. I need to measure/estimate bias of this signal. Can you please guide me how can I do that. (Attached is my vi which is developed in LabVIEW 2012)
    I shall be thankful to you for your attention and consideration.
    Kind Regards
    Urfee
    Solved!
    Go to Solution.
    Attachments:
    How to measure Biase of the signal.vi ‏930 KB

    Hi tronoh,
    what about using the "Basic Averaged DC&RMS" function on your periodic signal?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to measure throughput on Cisco 2811

    How do you measure the current throughput on a Cisco 2811 router?
    We will be replacing this unit with a 4000 series one but the new devices limit the amount of throughput and require a license to increase the limit.
    Also, anyone aware of the commands to check the current throughput limit on a 4000 series router?
    thank you guys in anvance
    c

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    How to measure 2811 throughput?  Note aggregate of all interface bit rates with CPU usage.
    I'm not sure about the 4K, but a show license might show the active license, and if it does, that should tell you the maximum performance.

  • How to measure pulse/amplitude droop?

    I am trying to figure out how to measure pulse/amplitude droop in the labview.
    Is there any built in VI that perform this measurement?
    Thanks
    DB

    Do you want to measure the 10% to 90% height of the pulse itself or the 10% to 90% change in the pulse level? The suspect the latter, or we would not be having this conversation. If you want to do the former, use Amplitude and Levels.vi or Pulse Parameters.vi and scale by 0.8 to get the 10% to 90%. If you want to get the latter, you may be in for more work. First, try to use the overshoot output of Timing and Transition Measurements or Transition Measurements.vi. Read the documentation, as there is a fair amount of flexibility you can put to your advantage. If that doesn't give you good results, use Pulse Measurements.vi to find your pulse, then extract that section of your waveform. Trim the ends to get rid of the rising and falling edges (this should be a constant number of points if your pulses are consistent). Analyze the result for 10% to 90% values. The easiest way to do this is probably to use the array max and min primitive to give you the maximum and minimum points, then scale by 0.8. Alternately, and more robustly, you can duplicate the waveform a couple of times, concatenate the results, and use Amplitude and Levels.vi to find the amplitude. As a final alternative, you could fit the resulting curve to an appropriate line/polynomial/exponential and extract the info from the curve coefficients. This will only work if the data is a well defined curve. Be careful with general polynomial fits.
    Good luck. Let us know how you make out.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Sql report, How to access current rows 6 columns data

    I have one page having page items & SQL report having 8 columns.
    First column of report is a link for editing.
    on clicking first column, that record gets displayed on page items, which are opn same page.
    Now my problem is i have used link column of report and set 3 page items value on click of link column.\
    But i need to set values for 2 more page items.
    I tried to create computation & process but not working. i am confused about which process point to select & whether onclick page gets submitted or not.
    I tried to write jscript but not succeeded. I dont know how to get current row id in jscript & different column values of current rowid.
    any help.

    Hi,
    Thanks for reply.
    in 5 items, first three are numeric and last two are timestamp fromtime, totime.
    as I mentioned earlier if i interchange 4 & 5 items i.e. now ITEM4 is totime & ITEM5 is fromtime
    and their values. I get value for totime & not for fromtime. all records contain values for all 5 columns. no null.
    So basically their is no problem in value or data, The only problem is whatever sequence is maintained first 4 items get value & 5th item remains blenk.
    Either I type all 5 ITEM NAMES in one Item name-value pair of link or use all three pairs, 5th ITEM remain blank.

  • How to measure the performance of Extractor

    Hi,
    How to measure the time taken to by the extractor when executed from rsa3 for a given selection?
    Lot of threads speak about ST05... but these transactions are too granular to analyse.
    How to get the overall time taken.i need the overall time taken and the time taken by the individual SQL statements... please provide specific pointers.
    Thanks,
    Balaji

    Maybe SE30 can help you....
    Regards,
    Fred

  • How to measure the performance of sql query?

    Hi Experts,
    How to measure the performance, efficiency and cpu cost of a sql query?
    What are all the measures available for an sql query?
    How to identify i am writing optimal query?
    I am using Oracle 9i...
    It ll be useful for me to write efficient query....
    Thanks & Regards

    psram wrote:
    Hi Experts,
    How to measure the performance, efficiency and cpu cost of a sql query?
    What are all the measures available for an sql query?
    How to identify i am writing optimal query?
    I am using Oracle 9i... You might want to start with a feature of SQL*Plus: The AUTOTRACE (TRACEONLY) option which executes your statement, fetches all records (if there is something to fetch) and shows you some basic statistics information, which include the number of logical I/Os performed, number of sorts etc.
    This gives you an indication of the effectiveness of your statement, so that can check how many logical I/Os (and physical reads) had to be performed.
    Note however that there are more things to consider, as you've already mentioned: The CPU bit is not included in these statistics, and the work performed by SQL workareas (e.g. by hash joins) is also credited only very limited (number of sorts), but e.g. it doesn't cover any writes to temporary segments due to sort or hash operations spilling to disk etc.
    You can use the following approach to get a deeper understanding of the operations performed by each row source:
    alter session set statistics_level=all;
    alter session set timed_statistics = true;
    select /* findme */ ... <your query here>
    SELECT
             SUBSTR(LPAD(' ',DEPTH - 1)||OPERATION||' '||OBJECT_NAME,1,40) OPERATION,
             OBJECT_NAME,
             CARDINALITY,
             LAST_OUTPUT_ROWS,
             LAST_CR_BUFFER_GETS,
             LAST_DISK_READS,
             LAST_DISK_WRITES,
    FROM     V$SQL_PLAN_STATISTICS_ALL P,
             (SELECT *
              FROM   (SELECT   *
                      FROM     V$SQL
                      WHERE    SQL_TEXT LIKE '%findme%'
                               AND SQL_TEXT NOT LIKE '%V$SQL%'
                               AND PARSING_USER_ID = SYS_CONTEXT('USERENV','CURRENT_USERID')
                      ORDER BY LAST_LOAD_TIME DESC)
              WHERE  ROWNUM < 2) S
    WHERE    S.HASH_VALUE = P.HASH_VALUE
             AND S.CHILD_NUMBER = P.CHILD_NUMBER
    ORDER BY ID
    /Check the V$SQL_PLAN_STATISTICS_ALL view for more statistics available. In 10g there is a convenient function DBMS_XPLAN.DISPLAY_CURSOR which can show this information with a single call, but in 9i you need to do it yourself.
    Note that "statistics_level=all" adds a significant overhead to the processing, so use with care and only when required:
    http://jonathanlewis.wordpress.com/2007/11/25/gather_plan_statistics/
    http://jonathanlewis.wordpress.com/2007/04/26/heisenberg/
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

Maybe you are looking for

  • Help with opening up a Seagate Barracuda SATA Internal HardDrive on my Macbook Pro!

    Hi Everyone! I have two questions that I would really love someone to help me out with!! I really need help trying to open three Seagate Barracuda SATA Internal HardDrive that I was given to edit dailies for a feature film! I tried all three and only

  • JTextField and transparency

    I have a JTextField and I am trying to set it up so it is somewhat transparent. mTextField.setBackground(new Color(255,255,255,50)); But what happens when i do that is this: the textfield as a text value gets the text that i have set up for one of th

  • How to save Outbound Queue(SMQ1) to SMQ1?

    Hi All, I just want to know is there a way that we can save the SMQ1 queue to SMQ3? My scenario is say ECC <--> PI <---> Third party , i have queue name HR_1 in SMQ1 with 10 entries . I have processed the first entry and in PI it got error for this f

  • Dynamic Recipient List in 3.1

    Currently burst reports to about 200 buyers using Cognos ReportNet. It looks like this dynamic recipient list is the way to go.  How would I get started in making this happen in 3.1?

  • Dynamic Proxy Classses Generation

    Hi All, i am getting an exception while running the Sample Application Given By the Oracle for Dynamic Invocation of Web Services with wsdl URl.. The Link For the Client Application is http://fgvspnet.fgvsp.br/ojspdemos/servlet/ViewSrc/src/oracle/j2e