Measure current and voltage in Elvis and labview

Hi!  We're setting up a control system setup for class where we need to monitor the current and voltage that we are supplying/drawing from the ELVIS hardware within a LABVIEW setup.  So far, we can accurately display voltage input and outputs from the AI and DAO terminals respectively.  However, we can't seem to find a direct way measure current draw.  I believe that we are supposed to be able to get DMM readings from the AI5 channel, but either we're not doing it correctly, or we still need to place a known resistance across it (which we cannot do, due to variable loads).  Any advise please?
Cheers,
Gerald

Are you using Elvis I or II?  From your post, I will assume it is Elvis I but please correct me if this is not the case.  Page 38 of the manual shows that ACH5 is used for capacitor or diode measurements for the DMM.  To measure current, use the connectors on the front of the Elvis unit and then route the current HI/LO on the protoboard to either the oscilloscope or an analog input channel.  You can use the DMM Soft Front Panel to monitor current as well.
Message Edited by h_baker on 07-09-2009 04:54 PM
Regards,
h_baker
National Instruments
Applications Engineer
Digital Multimeter Resources

Similar Messages

  • 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

  • Keithley 2636 measures current and 2400 offers a 3 volt pulse synchronized in a labview program

    Hello,
    I am not very familiar with labview and I neet a program to realize keithley 2636 measuring current and 2400 offering a 3 volt pulse synchronized.
    It means that when 2636 measure one times, 2400 give a pulse. When 2636 measure 100 times, 2400 offers 100 pulses synchronized.
    The Channel A of 2636 is used for measuring and Channel B is used for another works.
    The attatchment is the labview program I created and it can not be run synchronized.
    Thanks for your help!
    email:[email protected]
    Attachments:
    repeat04.vi ‏38 KB

    Hi Lin,
    I did not talk about a GPIB (or similar) cable to connect both devices with a PC, I did talk about the special cable for synchronizing both devices with each other called TriggerLink!
    Please read the user manual of your K2400, (chapter 11 on triggers, or figure 1-2 for a view of the rear panel). It describes the TriggerLink capabilities of Keithley devices!
    RTFM!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

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

  • Measure pressure and accelerati​on with NIc9174 and NI 9207

    Hi everyone,
    I have a NIc9178 and NI 9207 and I would like to mesure acceleration and pressure.
    I have seen that my devices cannot support to measure directly acceleration, position and pressure (when I create a task using Max I cannot enter the acceleration, the pressure and the position using LDVT as analog inputs).
    Can I measure these quantities using as Analog inputs a voltage? If yes, how can I calibrate the channels?
    Thanks for the reply
    matomato

    well, it is not enough.
    You have to aquire transducer for pressure, also for acceleration, that gives you mA or Volts.
    Then you have to introduce  the right equation for each, pressure and acceleration in .vi. So, you measure current or voltage (mA or V) with NI 9207 from transducer, but trough equation will be bars, and m/s, or any other unit....That depends on the input equation.
    So you just have to know the calibrated limits:
    For example, at 4mA -----0 bar
                           20mA----3 bar   . You write an equation from here, and you will input in .vi.
    Good luck. 

  • Does anyone know how to use ELVIS in Labview to get current and voltage measurements?

    Trying to use ELVIS in Labview to get measurements with a NI myDAQ.

    I have changed from using the ELVISmx driver as I was unable to call on the digital multimeter of the myDAQ twice, I have set up a VI using the DAQ assistant with the myDAQ, I am using the AI0 port for a voltage reading and using the DMM for my current reading, the circuit is working as I am measuring the voltage on a resistor after the ammeter but I am unable to get a current reading in order for it to work. If I have something wired wrong please let me know, thank you. My circuit is a 12VAC power supply, going through a potentiometer to drop the voltage to 8VAC, which passes through a resistor, ammeter is in series after this and attached to another resistor to complete my loop, the AI0 for my volt meter is connected across the second resistor, I have the proper voltage reading when I run the VI, but am unable to get a current input. Thanks for the help.
    Attachments:
    Mikes Project2.vi ‏131 KB

  • NI Elvis Read Current and Voltage Simultaneously

    Greetings,
    I'm trying to read voltage and current on an NI Elvis II to characterize the output of a TENS unit (currently using SignalExpress). 
    What I have worked out:
    Thanks to advice on another question I asked earlier today, I've now got the timing worked out so that I can produce log data at 10kHz when measuring voltage through the CH1 Scope input.
    I'm now moving on to the other have, and am trying to add current in as another task.  It makes sense to me to try and read that through the DMM current input.  However, I'm getting errors that will only allow me to read the value once, instead of at the 10kHz rate I measure the voltage at (and would prefer that they are read in sync).
    This seems like it should be pretty straightforward to do, but I'm just not seeing it.  It's really important (in a non-academic and non-job way) that I get this done tonight, and I really appreciate all the support this board has offered.  If there's anything I need to provide to make the issue clearer, please do not hesitate to post.!
    Would it be easier to run this through LV proper instead of SignalExpress?

    The DMM that is onboard the NI ELVIS II is not specced to run at the rates you're requesting. In fact, the DMM is a software timed device, which means that it will only collect samples when your computer tells it to. I created a quick benchmarking code to see how many measurements that an ELVIS II could take per second and I came up with about 4 or 5. You can recreate the code yourself to see similar results. 
    After one second, the elapsed time Express VI will output a 'true' which will stop the while loop. The DMM will be constantly acquiring and writing data into an array. When the while loop has finished, an array of DMM data will be output. The size of this array will indicate the number of samples that can be read in one second. 
    Nathan M.
    Applications Engineer
    National Instruments

  • Voltage sweep and measure current for Keithley 2400

    Dear All
    Hello,
    anybody can help me?
    In spite of nearlly10 days i am searchig to find any labview 2010 program for voltage sweep and measure current that works with RS-232, i has not able finde anything exept some exapmle that read single and multiple data. I has tried to learm labview and changed some prorgram from gpib to RS-232 but i couldn't.
    In another attempt i find a good "votltage sweep and measure current" VI that work with RS-232 in labview 5.1.1. i converted it to 2008 but it need to old driver (ke24xx.dll) and dont work in my labview 2010 and I could't find old driver.
    in these 10 days, my project on thesis has been stopped and i couldn't do anything for our keithley.
    Please helpe...
    in following i attached these files:
    1-first it is voltage sweep that works with GPIB
    2-Vi that i change gpib port to visa (rs232) that i don't know why it dosen't work.
    3-it is Vi related to "votltage sweep and measure current" that works with RS-232 but need to old dirver so i can not use it.
    4-SubVi needed to run program of 3 (but there is no driver for these subVIs) has been atached in reply post of this post
    if any body has this program ("votltage sweep and measure current" that work rs-232) please send for me
    thanks in advances.
    Solved!
    Go to Solution.
    Attachments:
    24xx Swp-V Meas-I gpib.llb ‏373 KB
    modifi- arash-24xx Swp-V Meas-I - VISA oNLY.llb ‏172 KB
    I V new2.vi ‏103 KB

    The first time you asked this exact same question, you were given the way to get the driver and told that one of the examples does exactly what you want to do. You have chosen to disreregard this and pursue other options for these close to 10 days. If your thesis is stalled, that is really your own fault for not listening to the answers you were given. I have no idea why you would do this but I would suggest you go back to the original thread, reread it. and if you want further help, explain what the problem with the NI driver is.

  • Connect RS232 with labview to read current and voltage values.

    Hi, I am trying to connect my microcontroller kit which will measure the current and voltage. I was provided with rs232 port to connect with labview to read the voltage and current data that is measured by my controller. How to make it display both current and voltage value by acquirng the data from rs232. I tried some programming but it doesn't work or it was wrong. How to make it work ?
    Attachments:
    pro.vi ‏13 KB

    As we said in the other thread, you need to talk to whoever is designing the microcontroller and decide on a specific format for it send you the data.  Once we have that, then we can start talking about how to program this up.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • What example would I use to measure emission current and leakage current (voltage vs. current)?

    I need help on measuring current @ anode (emission) and leakage current @ (gate voltage).
    Using gpib config.

    I don't think you'll find any examples that suit, but that's life. It's rare
    to find someone doing the same work with the same kit when more than one
    instrument is involved.
    Keithley should have examples for the electrometer that show you how to set
    it up and take readings via the GPIB- that's the harder of the two
    instruments because it does more. If they're not shipped, look on
    www.keithley.com, since they have a large selection of example Labview
    programs for their hardware- though I know nothing about that particular
    instrument.
    The power supply should be trivial; it should just have commands to set the
    voltage (and current limit perhaps) and switch the output on and off. This
    may be a good thing to learn to do GPIB programming on since there's
    very
    little involved. Check out the example
    examples\Instr\smplgpib.llb\LabVIEW<->GPIB.vi to see how to send commands
    and receive responses. Once you have a program that provides a sequence of
    power supply voltages to your device, then start playing with the
    electrometer examples and making something to read the current. Then put
    them together and write a top level that builds a current/voltage plot for
    the device.
    I assume there's no problem with the physical connections and how to wire
    the test device up to the instruments? That's out of the scope of this group
    in any case.
    m wrote in message
    news:[email protected]..
    > I am using the kiethly 619 electrometer and a bertan power supply.

  • Using XY Graph to plot current and voltage

    Hi,
       I'm making an I-V curve tracer, and am hoping to plot current and voltage measurements I'm acquiring onto an XY Graph in realtime.  I'm using Labview 2010 on Windows Vista, with the VISA drivers installed; my acquisition hardware is an Arduino Uno communicating over USB to serial via VISA drivers.
    My data is coming in over the serial port formatted like "voltage,current":
    237,521
    320,402
    I've read through the relevant documentation for the graph builder, the 4 samples included with LabView, and quite a few posts on this forum.  I modified Jazlan's sample VI to read the current and voltage, and display the values on the front panel - it works just fine.  However, when I wire those values to an Express XY Graph builder (and set the 'clear data on each call' property to false) and run the software, it just sort of freezes... I try to stop it, but it keeps running for about 10-20 seconds.  The current/voltage values are not updated, nor is anything displayed in the XY graph.
    Am I not sending the correct input to the graph builder?
    Should I just wire up my values directly to the XY graph by concatenating values to an array, and then clustering it?
    Also, on the right border of my case structure, one of the orange squares is not solid - how do I fix that?
    any help much appreciated!
    imran
    Attachments:
    block.jpg ‏140 KB
    project.vi ‏76 KB

    thanks for the tip Tim,
        I wired up the stop button to the VISA close block, and now I'm able to run and stop it multiple times without freezing.
    1)  I know how to add shift registers, but why do I need one?  It doesn't seem like I need to pass values from one iteration of the while loop to another...
    regards,
    imran
    Attachments:
    project.vi ‏43 KB

  • How Multisim, ELVIS 2+ Board, and Labview All Connect

    My school recently obtained some ELVIS 2+ boards and I have been tasked with figuring out exactly what they can do and how we can incorporate them into the curriculum as part of my work study.  Now I have all the basics down for building a circuit on the ELVIS, getting measurements and controlling inputs on the computer etc.  I would like to delve deeper into what the full potential of this device is by integrating it with multisim and Labview.  My question is, is it possible to construct a circuit (or partial circuit) in multisim and then send the output of said circuit to the ELVIS board where it could feed into an actual circuit.  For example, could I build a voltage supply virtually in multisim, and output the voltage to a specific pin on the ELVIS board where I could wire it into my built circuit?  Along the same lines, could I build a circuit on the board and send the output of the circuit to a program in Labview?  Is this board capable for such things or is its connections to labview and multisim just used as a comparison tool for real life readings and simulated readings?  What is the full potential of this board?

    Hello,
    Glad to hear about you work with NI ELVIS. The integration between ELVIS and Multisim is limited to running circuit simulations and then comparing results with the real circuit, in other words, you can compare simulated vs real measurements; this is a great approach to circuits education. 
    Now, if you want to have more control of the inputs/outputs available on NI ELVIS, then LabVIEW is the perfect fit. In LabVIEW you can use the NI ELVISmx Express VIs to configure settings for all the instruments. Furthermore, NI ELVIS is supported by the NI-DAQmx driver, therefore you can use the NI-DAQmx functions to acquire signals from the analog inputs, generate signals in the analog outputs, access the digital I/O and program general counter/timing functionality.
    Visit the NI ELVIS & NI myDAQ Instruments and Applications community to learn more about the integration between ELVIS and LabVIEW; in this page you will find some ready-to-use applications.
    Hope this helps!
    Fernando D.
    National Instruments

  • How to calculate rms voltage, rms current and frequency from real time data?

    Hello,
    I need to calculate the real time rms voltage, rms current and frequency of the received voltage and current graphs using visa read. Actually am trying to monitor the voltage and current parameters of AC load, in this case, am using a set of 4 light bulbs at the moment. Expected frequency is 50 Hz, and rms voltage close to 240v AC, current about 1A. 
    Attached is the vi picture of what I have been able to achieve so far, courtesy of labview forums. But I need to finally finish this vi by calculating the Vrms, Irms and frequecy. The front panel shows the voltage (Chart V) and current (Chart I) after scaling. Chart VI represents ADC value 0 ~ 1023 of received data. Aray V & I show the binary bits received up to 10 bits of useful data from ADC. Each sine wave from ADC is sampled at 25 samples for the ADC conversion, and sampling frequency of 1.28kH.
    I have tried using the RMS vi, but seems I don't know how to configure it correctly to get desired results. Also when I make changes like switching of one of the bulbs so that their is current change, I need to refresh the SERIAL port first before changes show up on the VI. Any ideas on how to improve on this are highly appreciated.
    Otherwise, I would appreciate if somebody helps me MODIFY my VI to read the rms values and frequency from received data. This is the last piece of my project, I do appreciate all the help rendered. Am currently using labview labview 2014, student version!
    Gavin.
    Attachments:
    Test_revised1.vi ‏39 KB
    Test_frontpanel.png ‏196 KB
    Test_blockdiagram.png ‏187 KB

    hello,
    note that peak voltage (Vpeak) is (240 * 1.414) = 399 V and peak current about 1.414 if intended rms current is 1A.
    Gavin.

  • Current and voltage trasformer

    Hello to all,
    I'm developing a system of power analysis based on "Electrical Power Measurement Toolkit".
    I think to use a system based a cRIO-9075 and a NI 9215 (simultaneous sampling).
    I think to use this current and voltage trasformers:
    http://www.magnelab.com/products/Current-Voltage-Sensors/solid-core-ac-current-sensor-uct-0300-
    http://www.magnelab.com/products/Current-Voltage-Sensors/potential-voltage-current-transformers--spt...
    The voltage range in output from these sensors (0 - 333.mV) disagrees with that of the acquisition module (0 - 10 V).
    There might be a problem of signal levels? In this case, can you tell me how to adapt the signal?
    Any other configurations are welcome.
    Thank you very much,
    Federico.

    There is no problem, the NI 9215 has a minimum voltage acurracy of 0.003 V........just set the measuring range of the Daq card in DAQ asistan from 0-10 V ....to 0-1 V.
    Have a nice day! 

Maybe you are looking for

  • Rebuild index vs Analyze index

    Hi All, I am realy confused about rebuilding index versus Analyzing index. Could anyone plz help me out what is the diffrence between them. How to Perform analyze of indexes and Rebuld of Indexes for both Oracle 9i and 10g databases. Thanks a lot

  • Airport icon gone from system preferences ?!

    Airport icon in system preferences is gone!?

  • CS4, Cannot write text

    I cannot write text on certain jpg images.  Any help is appreciated. CS4-64bit, CS4-32bit, and Elements behaves same.  I tried on Windows-7(64bit) and Windows-XP, but the symptom is same. After opening the captioned jpg image, I click "Text Tool", th

  • DROP TABLE works through SSMS but not via T-SQL Query

    Hello All, I am trying to drop a number of tables (1,000+) in a particular database by scripting the actions in T-SQL. When I run the query I get error 3701 on every table which points to a permissions issue. However, I am able to delete tables one b

  • Can I see my startup file in terminal mode on mac os 10.8.4

    can I see my startup file in terminal mode on mac os 10.8.4 iMAC 27 inches, mi-2011 r  2,7 GHz Intel Core i5 16 Go 1333 MHz DDR3 AMD Radeon HD 6770M 512 Mo