Test and Measurement Forum

Frequency and Duty cycle measurement from C# code

Post your .Net discussions here

Frequency and Duty cycle measurement from C# code

Postby Pradeep » Tue Apr 12, 2016 1:56 pm

Hi,
We are using PicoScope 3406D MSO device with our C# .Net application. The sample C# code provided in SDK has only getting block and stream of data from device. We require to get additional data like AC RMS value, Frequency, DutyCycle etc. From the Picoscope 6 application, we are able read it by Adding desired Measurements. But we need it to be read from our C# code.
Please guide us to achieve the same. Thanks.
Attachments
measure from code.PNG
Screenshot
Pradeep
Newbie
 
Posts: 1
Joined: Mon Apr 04, 2016 10:21 am

Re: Frequency and Duty cycle measurement from C# code

Postby Hitesh » Fri Apr 15, 2016 9:52 am

Hello Pradeep,

The driver API functions provides the User with the ability to configure the device and retrieve raw data from the oscilloscope (and control the signal generator where available).

To make measurements on the data, you will need to implement your own algorithms or there are third party libraries which you might be able to use.

If you wish to use the PicoScope 6 software instead you can do so and use the automation commands to export the Measurement table data out using the command:

Code: Select all
picoscope.com /a Measurements.CSV?

You can also pipe the output to a file e.g.

Code: Select all
picoscope.com /a Measurements.CSV? measurements.csv

Hope this helps,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to .Net Languages (C#, VB.Net, .)

Who is online

Users browsing this forum: No registered users and 2 guests