08-17-2020 05:38 AM
I try to use NI9263 (Analogue output) to generate AC output to the amplifier. The output voltage of the amplifier is measured by NI 9242 (Voltage input) directly. The output current of the amplifier is measured by the current clamp and the current clamp is connected with NI9215 (Voltage input) to convert the measured voltage to current results. However, I have two problems right now.
1. If I want to change the output amplitude after running the Labview code, it will wait for around half-minute to respond as shown in the attached figures. How can I solve the delay of the output response?
2. Another problem is the calculation of the value of active power. I use the Electrical power toolkit to calculate the power by measure the output voltage and output current. The measurement of apparent power is correct. However, the active power and power factor change each time when I restart the LabVIEW, and sometimes the active power is negative. Obviously, it is not correct. Does the phase problem is caused by the current clamp or the LabVIEW code?
08-28-2020 08:48 AM
Hi HangXu,
I'm not sure if your current clamp is working correctly or not, but an alternative way to measure the current using you NI 9215 is to follow this: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019MDJSA2&l=en-GB, essentially using a known resistor and measuring the voltage across it, then using Ohms Law in LabVIEW to solve for current.
For the LabVIEW code, its worth checking a couple of things: