Measurements and ADC conversion

Post your LabVIEW discussions here
Post Reply
picabolo
Newbie
Posts: 0
Joined: Fri Aug 21, 2015 4:40 pm

Measurements and ADC conversion

Post by picabolo » Fri Aug 21, 2015 4:51 pm

Hello everyone
I am using a Picoscope 5000 Series and I want to measure with it within a PID regulation. I need it to perform measurements of the peak-to-peak voltage and the DC average on both A and B channels.
My first question is: how can I find out the ACD counts-volts conversion?
Right now I am using the ExampleRapidBlockBulk 2CH (the first that worked) to calculate the peak-to-peak and average of both channels, simply taking the info just before it goes into the graph as an array and using the array to calculate. Are there LabVIEW functions that do this directly?

Thanks a lot!

PD: please, take into account that I have been working with LabVIEW for a very very short amount of time. A very slow explanation will be highly appreciated.

MikeNuke
Newbie
Posts: 0
Joined: Thu Oct 31, 2013 1:49 pm

Re: Measurements and ADC conversion

Post by MikeNuke » Thu Aug 27, 2015 8:15 am

Hi!
The ADC counts are in the ±32768 range; once you set your ±voltage range, the conversion factor is (voltage range)/32768.
For the peak-to-peak measurement, inside the "Signal Processing"/"Wfm measure" palette there is a VI called "Amp & Level" that calculates peak-to-peak and other values.
Hope it helps you!

Mike
MikeNuke
Politecnico di Milano
Department of Energy, Nuclear Engineering Division

AndrewA
PICO STAFF
PICO STAFF
Posts: 199
Joined: Tue Oct 21, 2014 3:07 pm

Re: Measurements and ADC conversion

Post by AndrewA » Thu Aug 27, 2015 2:03 pm

I have created an ADC count to Volts vi which can be used with all picoscope examples.
You need to connect the input range and maximum ADC count and Data value;
AdctoVolts.png
ADC count to Volts
PicoScopeAdcToVolts.vi
PicoScopeAdcToVolts
(22.11 KiB) Downloaded 331 times
The picture below show the the vi used in Block mode example for the 5000a series-
Block example with AdctoVolts.png
Block example with AdctoVolts.vi
Regards Andrew
Technical Specialist

ahmadtarmimi
Newbie
Posts: 0
Joined: Sun Mar 22, 2015 3:18 pm

Re: Measurements and ADC conversion

Post by ahmadtarmimi » Tue Sep 15, 2015 2:09 am

Good Day AndrewA

Good information sharing..

is there any conversion for the from sample into time domain (x axis) ?

Best Regards
Tarmimi

Martyn
Site Admin
Site Admin
Posts: 3333
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Measurements and ADC conversion

Post by Martyn » Tue Sep 29, 2015 11:47 am

Hopefully the answer to your posts in the other threads will help you to understand this.
Martyn
Technical Support Manager

Post Reply