‎07-09-2009 11:04 AM
Hi i am looking to measure the peak to peak voltage of an ac signal in labview basic 8.6.
Unfortunately I do not have the amplitude and measurement levels express VI. which does this queit nicely.
Is there another way to measure the peak to peak voltage of an ac signal just like this vi can? Is there a vi posted somwhere which i have not found which someone has solced this issue before.
Thanks in advance for any help or assistance.
Kevg
‎07-09-2009 12:20 PM
‎07-10-2009 08:48 AM
Ravens Fan is spot on with this one, finding the peak to peak of a signal is not too hard at all. If you are using the DAQ Assistant just wire the signal output to the 'Array Max & Min' function and it will automatically insert the convert from dynamic data function for you. If you are using the DAQmx functions you will need a Get Waveforms Componants function or just read the data as an array straight away.
Hope this helps
Rich
‎07-10-2009 08:59 AM
‎07-14-2009 05:46 AM
Hi,
Thanks for the code it did the trick alright. But noise is a small bit of problem but i am going to run a loop and sample over a period of time and average the values, this should limit the noise variations of the signal.
Thanks
Kevg.