Test and Measurement Forum

zero offset programatically using C#, LabVIEW

Post any questions you may have about our current range of oscilloscopes

zero offset programatically using C#, LabVIEW

Postby cphiliptan » Fri Feb 02, 2018 11:03 am

HI,

I would like to know if there is a way to do this via a driver call? My board can switch to short the inputs of all the channel of the Picoscope however I am unable to find an API call to perform zero offset. I am using a 5443a at the moment. If there is no API to automatically perform zero offset. Could I have some guidance on the method to this via existing functions that is exposed. I notice there is a large DC offset of about -50mV on one of the channels and would like to cancel this offset. Much appreciate the advice.

Regards,
Clarence
cphiliptan
Newbie
 
Posts: 0
Joined: Fri Feb 02, 2018 10:56 am

Re: zero offset programatically using C#, LabVIEW

Postby Hitesh » Mon Feb 05, 2018 9:48 am

Hi Clarence,

There isn't an API function to perform the zero offset.

Try doing the following:

  • Leave the device collecting data for about 30 minutes to warm up
  • Short the input
  • Use a block capture to take a set of readings on the channel
  • Take an average of the ADC values and convert it to a voltage
  • Call ps5000aSetChannel() again specifying the new offset to use

You would need to repeat the process (apart from the first point) if you switch voltage range.

It is recommended to repeat this each time you open the connection to the device.

Regards,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2675
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: zero offset programatically using C#, LabVIEW

Postby cphiliptan » Tue Feb 06, 2018 5:01 am

Hi Hitesh,

Thanks for the advice. Much appreciate.

Regards,
Clarence
cphiliptan
Newbie
 
Posts: 0
Joined: Fri Feb 02, 2018 10:56 am


Return to USB PC Oscilloscopes

Who is online

Users browsing this forum: No registered users and 1 guest