Test and Measurement Forum

Data Scaling for PS5000A 8-bit Mode

Post general discussions on using our drivers to write your own software here

Data Scaling for PS5000A 8-bit Mode

Postby malomo » Thu May 26, 2016 3:03 pm

I have a custom application interfacing with a PS5244B at 8-bit resolution at +/- 1 V range. From the Voltage Ranges section in the PS5000A programming guide, I assumed I would get essentially the 8-bit counts shifted into the high byte of the 16-bit return value, for a total of 256 unique values. However, I'm getting values spaced by (roughly) 361 rather than the expected 256 if this were the case. For a ramp input, for example, the raw counts returned are: 0,361,722,722,1083,1444,1806,...

The SDK's ps5000Acon application, using the same settings, gives me the same results. Maybe I am misunderstanding the 8-bit to 16-bit scaling. Are there any details available into how the scaling factor is calculated?

Thanks for your help!
--Matt
malomo
Newbie
 
Posts: 0
Joined: Thu May 26, 2016 12:43 pm

Re: Data Scaling for PS5000A 8-bit Mode

Postby Hitesh » Wed Jun 01, 2016 3:04 pm

Hi Matt,

Please refer to this post.

The driver does apply a digital gain for calibration purposes.

As this is a flexible resolution oscilloscope, a 16-bit integer has to be used to account for the 12-bit resolution and above (note that the maximum ADC count changes when these resolutions are selected).

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests