From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get rms value of acqiured signal

hi,

  can any one tell me how i can get the rms value of the  the acquired signal from the AI votage rms. find attached my vi

good
0 Kudos
Message 1 of 10
(11,357 Views)

What is wrong with the RMS value you're already calculating with the Express VI?  Is it not returning a proper value?

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 2 of 10
(11,354 Views)

thanks for your reply Niquist, i am not getting the right rms value. what can i do to start getting the right values

good
0 Kudos
Message 3 of 10
(11,351 Views)

You've configured the DAQmx Read to return the RMS value and then you are taking the RMS value of that? Why?

0 Kudos
Message 4 of 10
(11,344 Views)

thankks dennis for your reply, what i  actually want to do is to be able to acquire the rms voltage  values of the signals that the function generator is generating  once i start the lab view program. i am sweeping the signal generator wave form from 100 hz to 1MHZ.

good
0 Kudos
Message 5 of 10
(11,339 Views)

And I asked why you were taking the rms value of the rms value returned by the DAQmx Read. Either eliminate the express measurement function or set the DAQmx Read to return the absolute voltage.

0 Kudos
Message 6 of 10
(11,335 Views)

thanks dennis for your reply, can u show me how to do what you just said by including it to the vi i attached.

good
0 Kudos
Message 7 of 10
(11,320 Views)

@ifyo wrote:

thanks dennis for your reply, can u show me how to do what you just said by including it to the vi i attached.


You really should try and learn to do this yourself, it's very basic stuff:  The DAQmx Create Channel is set to AI Voltage RMS, change it to AI Voltage.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 8 of 10
(11,316 Views)

What do you mean? You are the one that configured the DAQmx Create Channel for RMS instead of the default of volts and you are the one who inserted the measurement function onto the block diagram. You don't know how to delete a function or now you don't know how to select a different DAQmx Create Channel?

 

I'm posting from my phone right now and cannot edit your VI but this should not be something you need help with (assuming you wrote the VI in the first place).

0 Kudos
Message 9 of 10
(11,315 Views)

thanks dennis and niquit, i have changed it, but the rms values i am getting are strange, instead of getting a decreasing rms value, i am getting an incrasing rms value, whhich will not give me the cut off point of the gain bandwidth product of an op amp. find attached my data

good
Download All
0 Kudos
Message 10 of 10
(11,305 Views)