zero offset programatically using C#, LabVIEW

Post any questions you may have about our current range of oscilloscopes
Post Reply
cphiliptan
Newbie
Posts: 0
Joined: Fri Feb 02, 2018 10:56 am

zero offset programatically using C#, LabVIEW

Post by cphiliptan »

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

Hitesh

Re: zero offset programatically using C#, LabVIEW

Post by Hitesh »

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,

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

Re: zero offset programatically using C#, LabVIEW

Post by cphiliptan »

Hi Hitesh,

Thanks for the advice. Much appreciate.

Regards,
Clarence

Post Reply