LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

electrical measurements and calculations

Solved!
Go to solution

Dear All

 

I had use this software for a long time.

I am using 2 analog voltage and current sensors that connect to ni usb 6009.

I am measure temperature too with a lm35.

The sin of voltage and current seems correct. Multiply this 2 sin I have the power (watt)

The problem becomes to calculate joule because I integrat but the results are not convincent.

In 60 seg I should have 1000Wx60seg=60000 Joule

I am using a heater with 1000w power. I should have Joule/360000=kWxh and in 1 hr I should have a value near it. But no.

Can somebody see my code and give me a help?

 

Best 

cpalka

 

 

 

 

0 Kudos
Message 1 of 5
(1,650 Views)

cpalka wrote:  Can somebody see my code and give me a help?

No, because you password protected the VI.

 

And since we do not have your hardware, it would help if you did a small run and then saved the values as default so that we can analyze the data as well.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 5
(1,643 Views)

Sorry the mistake

 

No password now

 

cpalka

0 Kudos
Message 3 of 5
(1,638 Views)
Solution
Accepted by topic author cpalka

Here is the solution

 

The problem were in the integration (I only have 1 sample, the mean) but multiply this mean by the total number of samples gives the correct number of joules.

 

CPalka

0 Kudos
Message 4 of 5
(1,574 Views)

Thanks for posting back with your solution.  Smiley Happy

 

No offense but your block diagram was a bit messy until I ran the clean-up tool on it.  It worked very well in this case.  Try it out...

LabVIEW Pro & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 5 of 5
(1,552 Views)