From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-20-2019 08:44 AM
Hi,
I'm doing a project on Power Monitoring Unit. I measure voltage and current and display it in LabView. and i am having trouble with current measurement and running the programe
For the voltage measurement, i used a voltage transformer 220V/6V AC connect to 6008. As for the current measurement, my supervisor told me use current transformer(Input: 0-50A , Output: 0-50mA, frequency:50-60Hz) and parallel a 300ohm resistor in secondary side in 6008.
To test the circuit ,i connect a 1100W/220V blower in extension unit and use a digital meter for calibration. In the result, the reading of voltage is accurate after i multiply the turn ratio. But the value of current in LabView is only 0.54mA and the actual value is 5A, the result is far away from the actual value.
Also, when the porgramme running , it keeps show the message :The specified resource is reserved. The operation could not be completed as specified. I try the different setting and still pop up the meassage.
If you guys can give me a solution for this, it's greatly appreciated,
Cheers,
Tom
Solved! Go to Solution.
10-20-2019 08:49 AM - edited 10-20-2019 08:50 AM
There are a few problems with what you uploaded in order to troubleshoot your problems (mainly that you gave us pictures, not a VI, and a screenshot of the error rather than the text or code (but they can be read on the screenshot)), but I'll guess anyway:
10-20-2019 08:56 AM
Thx for the help, Here is the VI
10-20-2019 09:04 AM - edited 10-20-2019 09:07 AM
Ok, so I still suspect that my previous post will be more useful than this one, but I did manage to get one further detail by opening your VI - you have measurements configured for voltage in one DAQ Assistant and current in the other. Are you actually measuring current, or are you measuring voltage drop over a known resistor and calculating current (as I previously guessed)?
If you are measuring voltage, change the measurement to voltage. Although you'll probably still be better with the advice above, using DAQmx and combining the two measurements into one task with multiple channels (you can do this with DAQ Assist too if you really prefer).
Edit: you can't make current measurements directly with a NI-6008, so I'm now pretty sure you're making voltage measurements. I'm surprised you don't get an error in that configuration, but I suspect it may be the/a reason for the low measurements.
10-20-2019 10:00 AM
I am measuring the current with the current transformer and parallel a 300ohm resistor in secondary side as the attached photo, can i measure current in this way?
10-20-2019 10:05 AM
@Tomy6661 wrote:
I am measuring the current with the current transformer and parallel a 300ohm resistor in secondary side as the attached photo, can i measure current in this way?
Technically, no, you cannot measure current this way. You can only measure voltage. However, you can calculate the current flow with that setup and a simple application of Ohms law.
But when setting up your acquisition with LabVIEW, remember that what you are measuring is voltage, not current. Then just divide by resistance to get current (and multiply by turns ratio to get the input current, I suppose).
10-20-2019 12:26 PM
@cbutcher wrote:
@Tomy6661 wrote:
I am measuring the current with the current transformer and parallel a 300ohm resistor in secondary side as the attached photo, can i measure current in this way?
Technically, no, you cannot measure current this way. You can only measure voltage. However, you can calculate the current flow with that setup and a simple application of Ohms law.
But when setting up your acquisition with LabVIEW, remember that what you are measuring is voltage, not current. Then just divide by resistance to get current (and multiply by turns ratio to get the input current, I suppose).
I just finished a project measuring output from a sensor that used "Current Loop", i.e. it produced a current from 4 - 20 mA that translated to 0 - Full Scale. I used a USB-6001 to measure voltage across a 500 ohm resistor, so I got voltages from 2 to 10 V.
When I first played with my device using MAX, "just for fun" I selected "Current". It asked me for the value of the in-series resistor I was going to use. I don't have a "real USB-6001" with me now, and I couldn't get a Simulated 6001 to work, but (similar to the way that DAQmx lets to you output "Scaled values") there may be a way to configure DAQmx to "do the math for you" and let you "measure" Current (meaning that the output from the DAQmx Read will be in units of Amps).
Bob Schor
10-22-2019 05:00 PM - edited 10-22-2019 05:01 PM
You do know that simply calculating ACVolts x ACAmps = VA (Apparent Power) not Watts (True Power)?