Test and Measurement Forum

ADC value and Timebase

Post your LabVIEW discussions here

ADC value and Timebase

Postby walterlee » Fri Jul 15, 2016 9:37 am

Hi there,

I am using PICO2206A. I am collecting of DATA using PicoScope2000aGetBlock.vi and return as ADC value. I would like to have voltage value and how to do it?

In addition, I would like time base to be 400 ms, what is value to apply?

Many Thanks.
Walter.
walterlee
Newbie
 
Posts: 0
Joined: Thu Jul 14, 2016 2:57 pm

Re: ADC value and Timebase

Postby Martyn » Fri Jul 15, 2016 11:02 am

You will need to scale the value using the current voltage range used by SetChannel and the Maximum ADC count which can be retrieved using
Code: Select all
ps2000aMaximumValue
PICO_STATUS ps2000aMaximumValue (
short handle
short * value
)
This function returns the maximum ADC count returned by calls to get values.


To work out the timebase you need to use the forumula
Code: Select all
(timebase - 2) / 62,500,000 = sample interval
Martyn
Technical Specialist
Martyn
Site Admin
Site Admin
 
Posts: 2347
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests