Electrical power measurement with compactrio

Hi,
It's me again. I'm trying to set up a very simple 1-phase electrical power measurement system. I have found this link: http://sine.ni.com/nips/cds/view/p/lang/en/nid/208111. Here it's done with a DAQ system. I would like to use the same code, but with the CompactRIO. The question is how to connect the channelinput of the voltage and that of the current, to finally get the power reading. And how can I get a sine figure on the chart?
See attachment. 
Soedarman
Attachments:
code.doc ‏209 KB

Hello Mr. Soedarman,
To do these Power Measurements it's better to better use the following software:
http://zone.ni.com/devzone/cda/tut/p/id/11336
Kind Regards,
Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
CLD, CTA
If someone helped you, let them know. Mark as solved and/or give a kudo.

Similar Messages

  • Sound Power Measurement with 4472

    Is onboard DSP a must for any Sound Power Measurement?
    I know that NI-Sound Power Plus works only with 455x.
    Is it simply because NI has not yet written a software for Sound Power Measurement using 4472 or is it technically NOT possibly to do Sound Power Measurment using 4472?
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    1. The 6036E is a "sweet" card for high-speed, high-accuracy DAQ on the PCMCIA bus. Even at 10-times oversampling you can achieve 15-20 kHz of response with nice line resolution in the FFT. My experience with the PCMCIA bus has shown a wild variation in DAQ bandwidth (IBM/Compaq...the PITS -- Dell...the best ; and , no I do not work for Dell). For signal conditioning, I use SCXI (so I can not comment on the use of the other components). If you can live with interchannel skew, the set up looks quite promising. Our DAQ requirements demand the use of simultaneous sample-and-hold (SCXI 1140) for either two-channel hot-film measurements or multiple sound pressure measurements with precise cross-correlation (to eliminate wave reflections and e
    chos within the test article). Our microphones were developed by NASA for use in VERY HIGH temperature environments, so our signal conditioning ahead of the 1140 is made from custom devices.
    2. It is important to note that any toolkit add-on to LabVIEW "could" be written by the end user using the very same subVIs distributed with the Full Development System. Sound power is merely a term used to describe a particular mathematical method involved in transforming the acquired sound data from the real domain to the frequency domain. The mathematical methods have been used for many decades. I use my own custom code originally developed in FORTRAN, converted to C++, and now embedded in a code interface node (CIN). The issue to resolve comes down to a) do you have the in-house capability to write and support detailed code development, or, b) do you purchase the toolkits and thereby achieve the capability very quickly. Although the toolkits are expensive, the burdened cost of, say, 1
    additional highly-skilled employee could cost 20 times as much.

  • Power Measurement Phasor behavior

    I downloaded the "LabVIEW code for Electrical Power Measurement from https://lumen.ni.com/nicif/us/codelvelectpwr/content.xhtml, and I have some issues with how it's operating.
    Here's is the diagram of a VI I setup to play around with it (I realize that the phasor VI is set to 3 phase, but I can't seem to connect to the phasor diagram if it's set to single phase):
    And here is a shot of the front panel, during steady state operation:
    I have two issues - Why is the amount of measured power creeping up slowly? With the current waveform lagging the voltage waveworm this doesn't happen. It appears to only behave this way in the first three quadrants, but not IV.
    Also - Why does my phasor diagram show both arrows pointing to +60 degrees? The voltage and current are out of phase and I would expect the voltage phasor to point to 0, and the current phasor to point to +60.
    Thank you.
    Solved!
    Go to Solution.

    Hi, I have made a similar simulation, in which I want the current phase increase from 0 to 90 degrees. As you can see in the code, I have used for loop to achieve that. The difficulty is that when I run it, the phasor function does not recognize the phase i.e. it is around 0 for every iteration. When I use fixed phase all seems to work fine. Does anybody has any clue where is the error? Thanks for any information about this issue.
    Attachments:
    MKv07 - simulation - for-30deg-fixed.vi ‏112 KB
    MKv07 - simulation - for.vi ‏120 KB

  • Training for Hydro-electric Power Station

    I want to design a DAQ for hydro-electric power station with capacity up to 10MW. I want to find a training course for the above problem

    Hello,
    The data acquisition training course offerred by National Instruments can be found at ni.com/training. This class offers an excellent forum to learn quickly, and effectively, some of the basics and more advanced data acquisition topics. The course is offerred in a variety of different ways.
    If it is help on your specific application, you could search our list of qualified alliance members for assistance in developing your application. ni.com/alliance.
    Best Regards,
    Jared A

  • Where can I get the spliced power outlet to use with power measurement system

    I am trying to try to do something with the power measurement like the white paper 
    "How to Get Started With the Power Monitoring Starter Kit for NI CompactRIO"
    http://www.ni.com/white-paper/11336/en/
    Could someone tell me where I can get the spliced power outlet so I can measure the current directly without using current sensor/transformer?
    Regards,

    Something like this might work.
    http://www.aemc.com/products/html/minfindex.asp?id=60201&dbname=products

  • HT4060 Hi, I have bought iPad air, and got apple 12w USB Power Adapter with pin flat plug. It is a problem for me. I live in Switzerland and the electric outlet is suitable only for round pin plug.

    Hi, I have bought iPad air, and got apple 12w USB Power Adapter with pin flat plug. It is a problem for me. I live in Switzerland and the electric outlet is suitable only for round pin plug.  I do appreciate for your support.

    Plug adapter
    http://img.diytrade.com/cdimg/975531/17878192/0/1293436146/Universal_socket_to_S witzerland_Plug_adapter.jpg

  • Measurement of harmonics using THD block in Electrical power

    Hi to all,
    I want to measure the harmonics in a waveform. I take the THD block which is present in the Electrical Power Suite, but the input to that THD block is spectra but not waveform. So please help me in converting the waveform into spectra.
    Awaiting Reply,
    Thanks in Advance.

    I do not have that suite, so I am not sure of the exact requirements. LabVIEW has several VIs in the Signal Processing >> Spectral, Waveform Measurements, and Transforms palettes.  One of those may be what you need.
    Lynn

  • Will Non-DSA Simultaneous Cards (such as the 9220) Work with the Electrical Power Suite?

    Hello, All!
    I wondered if the 9220, and other non-delta-sigma (DSA) c-series modules, will still work with the Electrical Power Suite. From the overview on the product page:
    Supported Hardware
    C Series Modules
    -The suite meets standard accuracy requirements when used with the NI 9225 (high voltage) and NI 9227 (5 A current) C Series modules. 
    -Compatible modules include any self-timed delta-sigma module such as the NI 9229, NI 9232, NI 9234, and NI 9239. Due to the lower voltage inputs, these modules require external voltage transformers. 
    -The resampling algorithms of the LabVIEW Electrical Power Suite are not designed for multiplexed modules, such as the NI 9201 or NI 9205.
    Note that a few modules are listed explicitly, and it sounds like any self-timed delta-sigma module (eg the 9229, 9232, 9234, 9239) will work appropriately, and that multiplexed modules (eg 9201, 9205) will not work. However, what about non-DSA simultaneous cards such as the 9220? Note also that supported hardware is not explicitly listed in the 2012 EPS Readme, so I wanted to check.
    Please let me know!
    Will Hilzinger | Switch Product Support Engineer | National Instruments

    [originally posted 7-19-2013]
    Hello, Fang!
    Thank you for the information! The question is from a customer who is an Alliance Partner. They don't have to use the 9220, but would very much like to. Please let me know if you have any further questions for me, and thank you again!
    Best,
    Will H | Applications Engineering | National Instruments
    Will Hilzinger | Switch Product Support Engineer | National Instruments

  • I would like to know what happen with my battery,  if my Mac Pro Notebook is connect to the electrical power all the day.  what should I have to do, connecting or disconnect

    I would like to know what happen with my battery,  if my Mac Pro Notebook is connect to the electrical power all the day.  what should I have to do, connecting or disconnect

    hi

  • Electrical power energy auditing

         I am  doing a project on power supply monitoring system with labview. The main aim of the project is monitoring and data logging the signals from non contact type hall effect current sensors. Voltage and current are the two main parameters which is to be measured. Electrical power is the another parameter need to measure. I don't know how to start the task.
    Help me......
         Just give me a basic idea of how to start and provide me a basic vi for the task.

    Hi sharavanen,
    Sorry for replying late.
    I suggest you refer to COMTRADE Logging examples from EPS toolkit. This example provides a solution to log voltage and current parameters (and other "electrical power" parameters if you add such VI's mainly from PQ category in the palette). 
    There are things that you should notice:
    1. Choose your wiring method on the block diagram. 
    2. If you need to log more paramters, you have to add such VIs yourself. You can refer to Power Quality examples in this regard. 
    3. If you choose to use other target and/or modules than what's in the example, you have to modify the target in the project and/or FPGA VI to convert the fixed point data precision (details in the example's builtin help and description).

  • Ues of Electrical Power Suite for variable frequency test

    My customer is doing capacitor testing. He would like to measure the phase angle whiile varying the source frequency. Can the Electrical Power Suite be used for this? If not can you make a recommendation (basically for measuring power factor)?

    I do not have the Electrial Power Suite so I cannot comment on its suitability.  In addition to posting here, there is an Electrial Power Suite on the Forums, although it gets very little traffic.  Some of the NI people involved with the suite seem to monitor that Board.
    Assuming that your customer has suitable instrumentation and data acquisition hardware, it should not be too difficult to measure/calculate phase angle with LabVIEW and standard DAQ drivers.
    Can you be more specific about the equipment?
    Lynn

  • PID control to maintain constant heater electrical power?

    Hi!
    I am looking for a good solution for the following:
    I have a heater wire (approx. 220 Ohms). I drive this wire with DC voltage. I measure the voltage drop on the wire, and the current running through it. I want to control not the temperature, but the calculated electrical power (P=U*I) in the range of 1mW to 1W. 
                Of course the resistivity is slightly different at different temperatures, so that is why I think I need active control.
    Maybe someone could give me a good advice?
    Thanks very much!

    Hi,
    Everything is set up for the hardware. I generate the DC voltage with a NI Static waveform card (DAQmx). I measure the voltage drop and the current (via voltage drop measurement on a calibrated resistor connected in serial with the heater wire) with a Keithley DVM via GPIB card. The SetPoint is the required electrical power, the ProcessVariable is the calculated power from the measured U and I. The output is the driving voltage between 0-3 DC Volts, what I amplify with a factor 5.8 with an amplifier connected to the heater wire.
    I try to use the PID.vi from the PID toolkit (I already use PI(D) controls from LabView for other heater wires, where I have to control temperature, and they work very efficiently and perfectly) for this purpose.
    So far I try to find the proper gain values. My sampling rate is low, approx. 8 seconds. First I tried only the P control (zeroing the I and D gains of the PID.vi), to find a stable oscillation range, so I could go on with the PID Autotune vi. But no luck so far. I think it is also a problem, that this system is not linear: the P is not a linear function of U. Can you suggest how to go on from here?
    Thanks very much!

  • I was transferring data from my old iMac to my new iMac via Time Machine. After about 4 hours, the electrical power fluctuated and turned off my wi-fi. Now most of my necessary programs are useless. How do I erase and start over?

    I was transferring data from my old iMac to my new iMac via Time Machine. After about 4 hours, the electrical power fluctuated and turned off my wi-fi. Now most of my necessary programs are useless. How do I erase that mess and start over?

    Hello there, LynnS.
    The following Knowledge Base article and it's referenced link should get you started with the Erase and Install of Mavericks:
    OS X Mavericks: Erase and reinstall OS X
    http://support.apple.com/kb/PH14243
    Once you've gone through those 2 articles, this article should help you with restoring from your Time Machine Backup:
    OS X Mavericks: Recover your entire system
    http://support.apple.com/kb/PH14185
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Power Measurement Take Too Long

    Hi All,
    I am using Agilent 8163B
    with 2 slots:  81619A (2 heads) and 81618A (1 head) for power
    measurements.  I setup my measurement with Agilent's time sutup driver
    vi at 5 seconds average time.  However it took over 20 seconds total to
    complete the measurement of 3 channels using the Agilent's 816x Read
    PMW Value.vi (this VI calls a DLL hp816x_32).
    My
    question is that can I get this measurement done close to 5s with a
    parallel read of 3 channels at the same time?  i.e., Is the DLL
    hp816x_32 reentrant?
    I tried to have a parallel wiring of
    816x Read PMW Value.vi to test this, but still get a measuement time of
    21 second.  Does anyone has a suggestion to improve this?
    Thanks,
    Bryan
    Solved!
    Go to Solution.

    Lynn and Bill, thanks a lot for following up on my questions.  In my testing VI module I put "fetch" vi in a while loop after sending "initialize" and "average time" commands outside the loop.  When I set the "averaging time" to 5 seconds, I can see the power values from 3 channels are updated at about every 5 seconds. At the same time I monitored the loop index which updates at a far faster rate. This behavior must suggesting that the "fetch" vi was getting the same value within that 5 seconds when my loop was running repeatedly.  This value must be an average value as it didnt change within the 5second time window.  I guess my observation is indeed different from what Lynn posted. I did come across the programming guide yesterday as shown in Bill's link, but didnt look in detail, you know how we LabVIEW programmers got spoiled by the graphic code
    After another look at the guide, it made more sense to my observations, i.e., Fetch command returns an average value right away and you can fetch all 3 channels. While the Read command triggers an measurement and exclude access to other channels after one read command was sent.  I also googled arount a little, and found the following text (not exactly for 8163B though) maybe also helpful to others in a similar situation.
    Thanks again
    Bryan
    The READ? command provides a sequential method to make
    measurements and retrieve the results. READ? will hang the GPIB bus
    until the measurement is completed, or until the timeout value has been
    exceeded. Associated SETup commands (for each measurement) are used
    with the READ? command to retrieve desired measurement results in a
    sequential manner.
    Sending a READ? command is equivalent to an INITiate/FETCh cycle for a
    measurement. A READ? command executes an abort action on that
    measurement followed by an INITiate and a FETCH?.
    READ? commands can be mixed with FETCH? queries in order to make
    combinations of sequential and overlapped operations. One measurement
    can be issued a READ? command (sequential), and the next measurement
    can be issued INITiate/FETCh? commands (overlapped), if necessary.
    The advantage of using the READ? commands to obtain measurement results, as opposed to the INITiate/FETCh method is:
    It is simpler. Fewer commands are required to obtain measurement results.
    Some disadvantages of using READ? over INITiate and FETCh are:
    The test set does not process any additional GPIB commands until the requested measurement results are available.
    The sequential nature of the READ? command does not allow the user to
    make concurrent measurements. Concurrent measurements require the
    overlapped commands INITiate, DONE? and FETCh? .
    The READ? command does not provide measurement results such as statistics that are available using the INITiate/FETCh method.
    The READ? commands have pre-defined measurement results. If additional
    results are needed from a measurement they may be obtained with a
    FETCh? query.

  • AC resistivity measurement with MyDAQ on TEC

    Hello,
    I would like to ask for advice: we would like to measure resisitivity of Peltier-elements. If we use DC method, because of the Seebeck-voltage of the element, we do not get the real resistivity value. The common method to use AC measurement in case of such devices. I would like to know, if it is possible to use a MyDAQ device for this task? As a first approach we do not need the best accuracy, this would be more as a "broken-element" test (there is usually a significant shift away from the nominal AC resistivity value stated by the manufacturer).
    What would be the easiest way to carry out a simple measurement? What about if I use one analogue output of the MyDAQ lets say with 1kHz, and I drive the Peltier-element with this voltage AC source? And I connect a known resistor in series, and I measure the AC voltage drop on this. From this data, I could calculate the current, and the AC resistance of the Peltier-element? Of course I have to choose a resistor so the MyDAQ can drive the network.
    what is your opinion, where to start?
    Thanks!
    Solved!
    Go to Solution.

    Hello, thanks for the reply!
    Actually I am just going to replace 60 Peltier elements in a "home-made" 15 years old heat exchanger (I expect to find some mice too ). This assembly has dropped performance (heat transfer power) and also I know that, a few years ago after a malfunction with the hot side cooling fans, this device was running for a certain time without forced cooling. What is quite bad in case of Peltier-elements. I have already bought 65 brand new Peltier-modules and after I get some heat conducting paste, I will replace them. And I will have 60 pieces of old Peltier modules, to play with them
    Since I have this NI MyDAQ, I thought it would be fun (and would give also valuable information) to try to measure the old elements' AC resistivity. Since this task is not like I should do often, so for first, I would not like to go for more pro solutions, I will try the MyDAQ first.
     I expect that some of the modules got structural degradation during the heat shock, and this may be measurable in a shifted AC resistance.
    I would do the measurement with zero applied DC voltage. These modules are Melcor PT3-12-30L (discontinued product), the nominal module resistance is about 5 Ohm.
    EDIT: and would you recommend a certain circuit to try? Shell I use a known resistor for current measurement via measuring the voltage on it? Or I could use a known AC current to drive the Peltier, and I would measure the resulted AC Voltage on it?

Maybe you are looking for