LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

pci-6110 power measurement

Hello all
 
I need to measure the power of a pulse (triggered).
 
AI0 - measures voltage
A1 - measures current through a shunt resistor.
 
DI0 - gets a trigger pulse to initiate measurement.
 
My questions are?
1. how to get the relevant measurements into an Array
2. make numerical integration to calculate the power.
 
Thanks
Alex Averbuch
Polaris Systems, Israel
0 Kudos
Message 1 of 5
(3,535 Views)
Hi Alex,

The first thing I would recommend taking a look at is our DAQmx examples.  This will show you how to get the data back from your 6110.  By default this is going to store all of your data into an array which you can then pass into the numeric integration function within CVI that will integrate the information in the array.  The DAQmx examples can be found if you go to Help>>Find Examples.  Then look underneath the example finder and browse to Hardware Input and Output>>DAQmx. 
The Numeric Integration method is called NumericIntegration.  You can go to the CVI Help to find more information on this function.  Hope this helps!


Message Edited by Patrick P. on 10-23-2006 11:42 AM

Pat P.
Software Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,520 Views)
Daqmx of course would be prefered, but I need to use Traditional DAQ and CVI6.0
0 Kudos
Message 3 of 5
(3,508 Views)
Hey Alex,

The Numeric Integration method still existed in CVI 6.0.  You can get to it by going to Library>>Advanced Analysis Library>>Additional Numeric Methods>>Numeric Integration.  There should be some traditional DAQ examples in the CVI folder.  They should be located under C:\Program Files\National Instruments\MeasurementStudio\CVI\Samples\daq\.  If the folder isn't there, it should be located under a more current version of CVI as long as you have the traditional DAQ driver installed.
Pat P.
Software Engineer
National Instruments
0 Kudos
Message 4 of 5
(3,489 Views)
Thanks,

It helps alot...
0 Kudos
Message 5 of 5
(3,481 Views)