「NI cDAQ-9178」「NI 9225」「NI 9239」を使用したLabVIEWでの電力演算について

お世話になります。
ご回答よろしくお願い致します。 
「NI cDAQ-9178」に「NI 9225」と「NI 9239」を取り付け、それに三相(50Hz)の電圧と電流の瞬時値を取り込み、LabVIEWで演算して
「電圧実効値」「電流実効値」「有効電力」「無効電力」「周波数」の5項目を得たいと考えております。(現在は導入検討の段階です)
そこで、貴社HPの「交流電力回路の測定技術を学ぶ、電流・電圧・位相角の測り方」を拝見しまして、
 LabVIEWの電力測定向けパレット「Electrical Power Measurement」について、下記2点お聞きしたく連絡させて頂きました。
① 「Electrical Power Measurement」の関数を使用すれば「電圧実効値」「電流実効値」「有効電力」「無効電力」は得られそうだが、
  「周波数」は得られるのか?
  もし得られないのであれば、別にカウンタモジュール(アナログ用)が必要なのか?
②三相50Hz(周期:20ms)を測定するが、サンプリング(演算結果の出力)は10msで行いたい。
  半波分しかないが、「Electrical Power Measurement」の関数で演算できるのか?
以上、よろしくお願い致します。
解決済!
解決策の投稿を見る。

 日本National Instruments 神谷様
ご回答ありがとうございます。
追加質問させてください。 
Electrical Power Measurement Resouce Kitを確認しましたところ、周波数を測定する関数はありませんでした。
しかし周波数を測定できる「トーン計測」 Express VIをがございますのでこちらをご利用頂くことが出来ます。
>承知しました。トーン計測で検討いたします。
サンプリング周期10msで測定に測定結果につきまして、位相角以外の測定には問題がないと思われます。
しかし位相角及びトーン計測関数を用いた周波数測定を行うにはナイキストの定理以上(通常は測定対象信号の周期の10倍以上)の
サンプリングレートで収録されますとより精度の高い測定結果を得ることが出来ます。
>こちらの説明が不十分でした。申し訳ありません。仕様が伝わっていなかった様ですので、構築検討中の計測システムについて補足説明をさせて頂きます。
  三相AC200V 10A 50Hzの電圧瞬時値計測用に「NI 9225」、電流瞬時値計測用に「NI 9239」(CTを使用し電圧変換して入力)の二つを同期させて計測します。
  「NI 9225」「NI 9239」共に50kS/秒なので50Hzの半波分の10ms中では、電圧電流共に500個の瞬時値が測定できます。
  この500個の瞬時値を10ms毎に演算して「電圧実効値」「電流実効値」「有効電力」「無効電力」「周波数」を得たいのです。
  つまり、10ms毎に瞬時値を得たいのではなく、10ms毎に5項目の演算結果が欲しいのです。
  これは可能でしょうか。データにそれほど高い精度は求めません。
もし、この内容を解釈されての前回のご回答でしたら申し訳ありません。
以上よろしくお願い致します。

Similar Messages

  • CDAQ-9178とMeasurement & Automationについて

    お世話になります。
    ご回答よろしくお願い致します。
    現在、cDAQ-9178とNI 9229を使用して電圧計測を行おうと考えております。
    しかしながらMeasurement & Automation Explorerにおいて、デバイスが認識されておりません。
    また、デバイスマネージャ上でも認識されていませんでした。
    以下の環境では対応していないのでしょうか。
    使用PC環境
    ・Windows7 Home Premium 64bit
    ・LabVIEW 2011(評価版)
    ・NI-DAQ 9.5.1
    PC周辺環境
    ・cDAQ-9178(1台)
    ・NI 9229(2台)
    以上、よろしくお願い致します。
    解決済!
    解決策の投稿を見る。

    小清水様
    ご指導ありがとうございます。
    【DAQアシスタントについて】
    LabVIEWを起動し、ブロックダイアグラム>>Express>>入力のパレットを確認致しましたが、
    DAQアシスタントは配置されており、新規Expressタスクの作成まで可能でした。
    しかし、信号を収録>>アナログ入力>>電圧を選択し、次のステップに進むと
    サポートされている物理チャンネルにおいて、「サポートされているデバイスがありません。」と表示されます。(このキャプチャを添付致します。)
    【9178の接続に関して】
    現在接続しているPC(Lenevo G570)にはUSBポートが4箇所ついております。
    3箇所は通常のUSBポートで、1箇所はeSATAとUSBの併用ポートとなっております。
    ①通常の3箇所のUSBポートにそれぞれ接続した場合
    シャーシのLEDは「ACTIVE」から「READY」に切り替わりました。
    また、デバイスマネージャ上ではデバイスが認識されていました。
    ②eSATA/USB併用ポートに接続した場合
    シャーシのLEDは「ACTIVE」のまま切り替わりませんでした。
    また、デバイスマネージャ上でもデバイスが認識されていませんでした。
    上記いずれの場合でも、MAX上ではデバイスが認識されていませんでした。
    お手数をかけて申し訳ありませんが、よろしくお願い致します。
    添付:
    DAQアシスタント_新規タスク作成.jpg ‏113 KB

  • Control a VFD via cDAQ 9178

    Hi!
    I want to control a Variable frequency driver through the cDAQ-9178.
    I got an analog input module NI 9201,analog output module NI 9263 and digital output module NI 9472.
    I have never connected analog modules and digital modules together and was wondering if anyone could help me. How do you connect a my VFD to these inputs and outputs?
    I have attached the connection diagram for my VFD
    I would like to add a knob to control the frequency via labview so i can increase/decrease the speed and also turn it ON/Off.
    I know this is possible solution, but I don't really know how to wire it up to my VFD.
    If I succeed with the wiring to my modules, could I then use DAQ- assistant in labview to wire a knob to it to change the speed for an example, or is there another way to do it?
    Best Regards - Maurlind!
    Attachments:
    Connection diagram.PNG ‏76 KB

    Hi!
    Could you take a look at my wiring, (se attached picture). I just want to make sure I'm doing this correctly before I'm plugging in and starts messing around with LabView.
    I don't know where to put T3 +10v reference output. 
    Should I connect B3 instead of B2 Vsup, (Voltage supply).  I don't know what "NC" stands for or what it does on the modules NI 9263 and NI 9201
    As far as I have understood, I can control the frequency from the VFD by making a DAQ assistant function via the analog outputs AO0 and AO1. 
    What does B1 do? It is Analog output (motor speed), if wired to AI0 can i monitor the speed then, like in a graph?
    Can I connect as i have done with T1 (0volt, ground) to the COM ports, from the same ground? (In reality just put a lot of cables in T1 and the connect to all of the corresponding COM ports? 
    With the analog output I control the motors frequecny, the speed. With Analog input I can get the motor speed information. With the digital output I can control the motor direction, start stop, enable the VFD and so on. This i have got right I think.
    Since I have never done this before I just want to be sure I'm doing this right, or if I have to change something.
    Best Regards Maurlind!
    Attachments:
    Connection sketch.png ‏114 KB

  • PFI Trigger with cDAQ-9178

    I am trying to receive a trigger input with the PFI on a cDAQ-9178.  Neither of the two PFI inputs show up as input options in any of the NI-DAQmx vi's in LabVIEW. How do I get the PFI inputs to show up?
    Thanks,
    Mike

    If you use the DAQmx Start Trigger VI it will be listed in the trigger source input pulldown.  See attached image.
    www.movimed.com - Custom Imaging Solutions
    Attachments:
    cDAQ 9178 PFI Lines.png ‏10 KB

  • Unable to read 5th channel using cDAQ 9178 with NI 9219 modules

    Dear LabView user,
    I've made a VI for reading the measurements of a couple of LVDT sensors, a load cell and a couple of strain gauges. When I connect 4 of these sensors to my cDAQ 9178 with using 1 slot of NI 9219, then there is no problem for my VI. But if I use 2 modules, and connect the 2 LVDT sensors and the load cell to the first module, and the 2 strain gauges to the 2nd module, then my program only will show the readings of the first module and the readings of only 1 strain gauge on the 2nd module. I've found that there occurs an error for the 5th channel in the 'zero' state. It says my buffer size is too small... How can I solve this problem? I can't work with finite samples because it is a continious measurement. 
    I also have the cDAQ 9171 USB module, if I only connect 4 sensors to this module, the sample rate is high (100 Samples/sec), when I use the same configuration, but connect this with the cDAQ 9178, the sample rate is much lower however I use the same NI 9219 module to fill the slots. Is there some kind of setting I need to make when switching over to the cDAQ 9178?
    I've attached my VI.
    With kind regards,
    Pete

    Dear RavensFan, 
    Thank you for your answer.
    "Have you tried swapping the modules between the slots and see if you still have the same problem or if it moves?"  When I use the cDAQ 9178, I always use the first 2 slots next to the power suply and the usb connection, you mean that I should try for example the 4th and the 5th slot or other slots? I will try this on Monday, and I will let you know.
    About the states machines inside a state: How is it possible then to use several buttons, like start and stop measurement and the 'home' button inside the state "measurement"? Should I make another simple state machine inside this state? 
    What about that 5th channel that I'm unable to read? The problem happens in my "zero" state: to acquire my "zero elements", the loop does the job for the 5 channels for the first 8 samples, after that, it doesn't want to sample the 5 channels anymore, it only does for 4 channels... It's something about the buffer size, but I don't know how to fix that.
    With kind regards,
    Peter

  • Cdaq-9178 slots showing empty

    I have a cDAQ-9178 with the following (8) cards installed in order NI-9421, NI-9421, NI-9201, NI-9211, NI-9211, NI-9264, NI-9472, NI-9472. From my notebook running NI Max 14.0 everything works fine. But with the new PC installed on the Test Stand with DaqMX 15.0.1 installed, NI Max does not show the first four cards. I tried the Reset and Self Test but it still shows nothing. There is also a labview executable and when I browse for the channels, only the last four cards show up.
    Any Ideas?

    Have you tried to pull the modules out and inserting one at a time to see if they show up that way?  Also, have you tried the cards that are not showing up in different slots?
    Are the devices showing up in the Windows Device Manager? If so, check out this page: http://digital.ni.com/public.nsf/allkb/D1F1D3FC80E4FFDF86256B410059DE31
    Another good step to try is to reset the Device Loader Manager Service. Here is a guideline on completing that: http://digital.ni.com/public.nsf/allkb/0819391CA91B3EB38625731D00024649?OpenDocument

  • Physical Connections to use 4 counters with NI 9411 in cDAQ 9178 chassis

    Hello,
    Currently I have a NI 9411 module in a cDAQ 9178 chassis.  I am using 2 of the counters to read frequency measurements.
    From the NI 9411 pinout diagram (see pdf file attached to this post), these are the connections I made:
    CTR 0 SRC, pin 1 to COM/ground
    CTR 0 GATE, pin 2 to first frequency signal
    CTR 1 SRC, pin 6 to COM/ground
    CTR 1 GATE, pin 7 to second frequency signal
    The problem is now I'd like to use the 3rd and 4th counters in my cDAQ 9178 chassis, but I am confused how to wire
    in the 3rd and 4th frequency signals, because CTR2 GATE is pin 1 and CTR3 GATE is pin 6.  Can I change the pin assignments
    to use the other pins in the NI 9411 module for counter frequency measurements?  I haven't figured out how to do that in MAX
    configuration.
    Thanks,
    Anna
    Solved!
    Go to Solution.
    Attachments:
    NI 9411 pinout.pdf ‏72 KB

    Hi EETDer,
    The "C Series Signal Connections for Counters" help that you found is a good resource.  One thing I want to point out is that for a frequency measurement on a single counter, you only need to wire the signal source to the CTR Gate.  Internally, the module will route an appropriate internal timebase to the counters source, therefore you DO NOT want to connect the CTR Source to ground.  On your device, you will just wire each signal into the counter source, thereby only utilizting pins 1,6,3,8 for your 4 frequency measurements.
    Chris
    National Instruments
    Applications Engineer

  • Sync two cDaq 9178 chasis using NI9469 modules

    I have found topics using the NI9469 modules to syncing cards, but I have not found topics regarding sycing mutiple chasis using the NI9469 modules.
    Setup: two cdaq 9178 chasis, one chasis is all 9227 modules, and the other has 9229 modules. We will be putting in a 9205 and a 9213 as well.
    I attempted to use an example VI from NI attached, but it just seems like something is missing. Up to this point I have largely used DAQ assistant so this is definitely a learning experience for me. NIMax recognizes the 9469 cards, and I have them connected correctly. I do not see any lights illuminated though. I assign the hardware I want to use in the physical channels portion of the VI, but I do not see anything populate in the data field when running.
    Can anyone offer any advice?
    Attachments:
    Multichassis Synchronization Code with NI 9469 .vi ‏25 KB

    I have since found two more examples of vis that might work for this. At first I'll be using only 9227 and 9229 cards, which I believe are Delta Sigma cards. So I'll focus on that vi. Can anyone tell me what the Oversample Timebase Source and Oversample Timebase? I don't understand it. The 9469 can sample at two speeds, but the oversample timebase on the main screen just increments by ones. What is its purpose?
    I would like to add a write to measurement file vi. I would add this after the loop correct?
    Attachments:
    NI 9469 Delta Sigma Modules.vi ‏36 KB
    NI 9469 SAR ADC - Slow Sampled Modules.vi ‏33 KB

  • Encoder reading error

    Hi,
    I just started using labview today, and its for my final year project to control a rig built similar to the QNET VTOL Trainer (http://sine.ni.com/nips/cds/view/p/lang/en/nid/210173) 
    I have a very simple VI which reads only the encoder position, it was working fine before, however now i seem now the readings just seem to increase and they dont reset. I was hoping someone can enlighten me where I am going wrong or if the encoder itself is faulty.
    I have a NI9401 in bay 6 of the cDAQ 9178 and I am using Labview 2010.
    The encoder model is Avago HEDS 5640 
    Hope someone can englighten me on this.
    Thanks
    Attachments:
    Encoder error 2.jpg ‏13 KB
    angular position.vi ‏43 KB
    Encoder error 1.jpg ‏30 KB

    Hi ayamkeren,
    Thanks for your post and welcome to the forums!
    If you start the VI without moving the encoder, what values does the VI start with? What sort of values are you expecting and how do they change?
    When it was working before, did you find that if you close down labview and re-open the VI are the encoder values correct?
    Regards,
    Ben B.
    Applications Engineer
    National Instruments UK & Ireland
    "I've looked into the reset button, the science is impossible!"

  • 9225 and 9227 Module Constant Phase Shift (Drift)

    Hi,
    I wrote a large VI and am aquiring voltage and current with the 9225 and 9227. The phase of the voltage and current constantly drifts. Its not just out of phase a bit for the entire run; the phase constantly cycles from 0 to 360 degrees. I have an excel file with plots showing what I mean. Series 1 = voltage, Series 2 = current
    I wrote a tiny VI to do the same thing with nothing extra. I didn't even add data recording. I just used a graph to plot the voltage and phase. The voltage and current were still off!
    What do you think. Are the timers bad on the modules? Slow computer? DAQ Assitants aren't good? Im using the internal timers in the modules.
    Synronizing in the beginning doesn't help because the signals would still go out of phase anyway later. The load is a piezoelectric tube.
    Im using Labview 2011 and NI cDAQ-9178:
    9225 3CH 300vrms 24-BIT Simultaneous AIN
    9227 4CH 5Arms 24-BIT Simultaneous AIN
    Cheers 
    Solved!
    Go to Solution.
    Attachments:
    Graphs 1.png ‏393 KB
    Graphs 2.png ‏404 KB
    Graphs 3.png ‏333 KB

    I am trying to assign the sample clock from Mod7 (9225) to the Mod8 (9227). I am not sure if this works. I am using PFI0 as a trigger.
    I am trying to follow Figure 8: http://www.ni.com/white-paper/11549/en
    This is what I did, but it doesn't work. I am not sure if PFI0 does anything or if Mod8 recieves the Mod7 sample clock.
    I get this error:
    Possible reason(s):
    Some or all of the samples requested have not yet been acquired.
    To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate. If your task uses a start trigger,  make sure that your start trigger is configured correctly. It is also possible that you configured the task for external timing, and no clock was supplied. If this is the case, supply an external clock.
    Property: RelativeTo
    Corresponding Value: Current Read Position
    Property: Offset
    Corresponding Value: 0
    Task Name: _unnamedTask<23>
    I want both signals to be in sync the entire time, without any phase drift.
    Thanks!
    Attachments:
    cdaq_module_synchronization-3.vi ‏30 KB
    Synch 9225 and 9227.png ‏70 KB

  • New Hardware / DAQmx Install, LabView 7.1 Now Missing DAQmx VI's?

    Hello -
    I've been running Labview 7.1 and some applications we've built with it for some time now.  Due to an old DAQ board failure, we had to upgrade.  Upon receiving the new (PCI-6225M) DAQ board, we had to update DAQmx (to 8.9.5) in order for this new board to be supported.
    In doing so, it appears that the DAQmx VI's I had for Labview 7.1 were actually removed from the system.  When I try to load my 7.1 applications, I get errors saying that it can't find various DAQmx VI's (like the DAQmx Create Task and Read VI's).  Since it allows me to browse for them, I browse to the directory structures that *do* have them now (intended for LV 8.2+, which we don't have).  If I select these VI's they seem to be found okay, but then I get an error for each VI saying that it's only for a newer version of LabView, not v7.1.
    So what gives?  What can I do?  Why on earth would a newer DAQmx installer actually go in and remove already existing files from my previous install that previously worked fine?  I am not impressed.  What should have been a simple board upgrade now appears to be setting us back some significant time.
    Thanks,
    Brett

    Hi Dennis,
    I also have common issue.  I am using labview 7.1 with DAQmx version 8.8.  Recently, I just bought the cDAQ-9178, which requires me to upgrade my DAQmx to version 9.4.  After installation completed, I discovered all my DAQmx missing.  My question is:
    1. Do you have any patch to let me stay @ LV version 7.1 with the new DAQmx 9.5 without missing DAQmx vis?  I need the new DAQmx to be able to connect with cDAQ-9178.
    Thanks you for your time, Dylan

  • Control a m061-fd02 step motor with labview

    i am trying to control a m061-fd02 step motor via cdaq 9178,and i dont really know how to begin,can some one help me

    Thank you both for posting on NI Discussion Forums. It looks like you are close to finding an answer to your questions. Also, our engineers at National Instruments would be glad to help you find the products that you need to meet your applications needs. We are here to help.
    I believe that this post should have been made in the Motion Control board rather than the LabVIEW board. These forums are moderated by NI engineers. By posting in the correct board, the posts are routed to the correct engineering teams so that we can assist you all more efficiently.
    Applications Engineer
    National Instruments

  • Enlazar intrumentos de medicion a Labview

    Buenos dias, tardes o ya sean noches tengo un proyecto planeado que consiste en enlazar un sensor de alturas keyence il-300 a labview. soy nuevo en esto y me preguntaba que necesito para poder ver el mismo comportamiento del sensor laser en el software de labview osea que muestre las mismas medidas que muestra el display he estado investigando sobre algunos productos de NI como lo que son el cDAQ-9178 y el NI9401 me serviran algunos de estos productos para hacer la interfase posible? o que instrumentos se necesitan para hacer esto posible? 
    ¡Resuelto!
    Ir a solución.

    Buen día Kuro-moon.
    Gracias por utilizar los foros de NI. Contestando tu pregunta, primeramente debes de investigar cómo funciona bien este sensor, por lo que pude ver rápidamente este sensor te da una salida de voltaje proporcional a la distancia de reflexión del láser que mide por lo tanto deberás conectar la salida de este sensor a una tarjeta de adquisición de datos con entradas analógicas.
    Mi recomendación es que si este proyecto será para la industria utilices la plataforma cDAQ para llevarlos a cabo, si solo es un proyecto académico puedes utilizar una tarjeta NI MyDAQ o tarjetas como la NI 6008.
    En caso de usar la plataforma cDAQ necesitaras un módulo de entradas analógicas, necesitas revisar los rangos de salida de voltaje de tu sensor por ejemplo si tiene salida de 0 a 10v puedes usar el modulo NI 9201 en conjunto con el chasis cDAQ 9174 para que puedas montar el modulo.
    Puedes revisar otros módulos y chasis en estas ligas:
    http://sine.ni.com/np/app/main/p/bot/no/ap/daq/lang/es/pg/1/sn/n17:daq,n24:cDAQ,n36:19/
    http://sine.ni.com/np/app/main/p/bot/no/ap/cdaqchss/lang/es/pg/1/sn/n25:chassis,n24:cDAQ,n32CBasedCh...
    Una vez que ya tengas seleccionado el modulo y el chasis lo único es realizar la adquisición de datos en LabVIEW, esto es muy sencillo, te dejo este tutorial con el que puedes comenzar para realizar tu aplicación.
    http://www.ni.com/white-paper/3116/en/
    Espero que esta información te sea de utilidad.
    Éxito en tu aplicación!
    -- Luis C

  • Cdaq question

    Please only relavent responses,
    So i switched my cdaq 9178 to a 9174 and when i try to run any of the VI's that were already created for the cards that were in the 9178 it gives me an error message 201003 so is there a place where i should be entering the fact that there is now a 9174 chassis instead of the 9178 somewhere or if i have to change all the points somewhere i am also using labview 2012
    Any advice would be greatly apprecoated

    Like MAX (Measurement and Automation eXplorer)?
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Remote access in LabVIEW

    Recently, I received the Compact DAQ that I bought.  The CDAQ is connected to a remote computer that does not have labview, but remote system does have MAX and LV run time engine.  I am trying to access that remote CDAQ on my local machine through LabVIEW, but it doesn't work. 
    For my GPIB and serial instrument on the remote sysem, I can access them through VISA server.  I can see all these instrument on my local machine, except for the CDAQ.  I thought I could see the CDAQ on my local machine through VISA server, similar to how I see the GPIB and serial instrument on my remote machine.  I guess this is not the case.
    All I want to do is to access my CDAQ that is connected to a remote computer on my local machine.  What are the different ways to achieve this?  
    Kudos and Accepted as Solution are welcome!

    Can you give me a little more information on your setup. Which cDAQ chassis is in question? 
    If I understand you correctly, you want to connect to the cDAQ using another computer, do you have DAQmx installed on the remote computer. Again, how is the cDAQ connected to your system?
    Regards,
    A. Zaatari
    National Instruments
    Applications Engineer

Maybe you are looking for