PICOSCOPE 2204A

Post any questions you may have about our current range of oscilloscopes
Post Reply
EduardoLima1
Newbie
Posts: 0
Joined: Mon May 07, 2018 9:34 pm

PICOSCOPE 2204A

Post by EduardoLima1 »

I am trying to retrieve the data from the oscilloscope using ps2000.dll. My application is a WPF application and VB.net.
The example shown in the website is not very clear in relation to using this dll.

they have the following function

threshold = mvToAdc(500, channelARange, PS2000Imports.PS2000_MAX_VALUE)

but there is no information about mvToAdc. What are they doing inside that function?

I can communicate to my scope but the data I read is always zero. It does not show real data coming from the scope.

I have a signal applied to my scope.

Can anybody help with using the dll from vb.net or csharp?

Martyn
Site Admin
Site Admin
Posts: 4499
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: PICOSCOPE 2204A

Post by Martyn »

You will find this function in the PicoFunctions.vb file found in the shared folder

It will convert a mV value, in this case 500mV, into an ADC count for the chosen rnage of the channel. This is returned as the trigger threshold value in the line of code.
Martyn
Technical Support Manager

Post Reply