Test and Measurement Forum

Amplitude axis issue

Post your LabVIEW discussions here

Amplitude axis issue

Postby Waqas Ahmed Faroouqi » Tue May 15, 2012 6:02 am


I am using Picoscope6403, LabView 8.6.1 and Picoscope LabView SDK.

I have integrated Picoscope6403 in my LabView application using SDK.

My question:
When waveform is acquired and displayed in my application, amplitude axis doesn't correspond to voltage values instead it looks that it displays some ADC output values (quantized values).
So how to display waveform in my LabView application with amplitude axis showing voltage of acquired waveform? Any formula exists ?

Waqas Ahmed Faroouqi
Posts: 0
Joined: Tue May 15, 2012 5:36 am

Re: Amplitude axis issue

Postby Martyn » Tue May 15, 2012 7:09 am

The raw ADC count value divided by the maximum count value (32512) multiplied by the selected voltage range

The following code snippet is from the c console application in the sdk
Code: Select all
#define PS6000_MAX_VALUE 32512

unsigned short inputRanges [PS6000_MAX_RANGES] = {   50,

* adc_to_mv
* If the user selects scaling to millivolts,
* Convert an 16-bit ADC count into millivolts
int adc_to_mv(long raw, int ch)
   return scaleVoltages ? (raw * inputRanges[ch]) / PS6000_MAX_VALUE : raw;
Technical Support Manager
Site Admin
Site Admin
Posts: 3113
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