Data Scaling for PS5000A 8-bit Mode

Post general discussions on using our drivers to write your own software here
Post Reply
Posts: 0
Joined: Thu May 26, 2016 12:43 pm

Data Scaling for PS5000A 8-bit Mode

Post by 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!

Posts: 2855
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Data Scaling for PS5000A 8-bit Mode

Post by 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).


Software Dev. Engineer

Post Reply