Create a chart in a function of time with Picoscope 2205

Post your .Net discussions here
Post Reply
Memphis
Newbie
Posts: 0
Joined: Fri Jun 28, 2013 3:28 pm

Create a chart in a function of time with Picoscope 2205

Post by Memphis »

Hi all, i'm new, this is my first encounter with this product, I am a programmer who has been commissioned to create a software that displays, as in the PicoScope 6 software, the curve as a function of time and frequency. Proceeding step by step I would like to understand how to implement meanwhile the curve as a function of time. Looking into the library I found the function ps2000_get_times_and_values ​​and wondered if it was one I was looking for, I have seen and tried the examples on your website and works fine, but return only the values ​​and not the time. Can you help me?

thanks

Karunen
Advanced User
Advanced User
Posts: 194
Joined: Thu Nov 21, 2013 9:22 am

Re: Create a chart in a function of time with Picoscope 2205

Post by Karunen »

Hi Memphis,

In the SDK(software development kit) the c console and the excel examples have the implementation of ps2000_get_times_and_values,

The examples do not export the values but they stored in an array inside the application.

Have you had a look at the programmers guide

http://www.picotech.com/document/pdf/ps2000pg.en-10.pdf

Because that function will return the time lapsed from the trigger point to when the value is captured.

Thanks,
Karunen

Technical Specialist
Pico Technology

Memphis
Newbie
Posts: 0
Joined: Fri Jun 28, 2013 3:28 pm

Re: Create a chart in a function of time with Picoscope 2205

Post by Memphis »

Thank you for the reply, if I understand you, I don't need the get_values_and_times function. When I drawing the chart, I entered the value of the mV obtained by get_value in the axies Y, but how can I get the time to put in the axies X? In Excel I created a chart (the image I have attached) with only the voltage value and it seems looks like the time-based instrument in the PicoScope 6 software, but I need the time for the X axies. I read the programmers guide but I have not found nothing or I didn't understand! Can you help me?
Attachments
Chart.png

Hitesh

Re: Create a chart in a function of time with Picoscope 2205

Post by Hitesh »

Hi Memphis,

As per Karunen's reply, you will need to use the ps2000_get_times_and_values function in order to return times from the driver, assuming that you are using a block mode capture.

I hope this helps.

Memphis
Newbie
Posts: 0
Joined: Fri Jun 28, 2013 3:28 pm

Re: Create a chart in a function of time with Picoscope 2205

Post by Memphis »

Thank to all for the reply :D

Hitesh

Re: Create a chart in a function of time with Picoscope 2205

Post by Hitesh »

Hi Memphis,

No problem :D

Please note that when you call the function, the time_units parameter should be what you obtain from calling the ps2000_get_timebase function.

Regards,

Post Reply