Search found 11 matches

by Cwebster
Wed Oct 01, 2014 10:45 am
Forum: General Software Discussions
Topic: Different Results From Picoscope 6 and My Program
Replies: 8
Views: 9398

Re: Different Results From Picoscope 6 and My Program

That is the correct sample interval, matching the PicoScope 6 value. Are you changing the returned values, which are adc counts, to mv, as seen in PicoScope 6 ? Yes, Im using the following formula to change my adc counts into mv: mv = ( ( adc * max value of channel ) / maximum adc count of scope ) ...
by Cwebster
Tue Sep 30, 2014 5:42 pm
Forum: General Software Discussions
Topic: Different Results From Picoscope 6 and My Program
Replies: 8
Views: 9398

Re: Different Results From Picoscope 6 and My Program

When I use 194 I get 3072, using 386 I get 6144.

How do I check the number of active channels in PicoScope?

In my own program I have only called SetChannel for A and B, would I need to call it for the others and then disable them? (I assumed they would all be disabled as default).
by Cwebster
Tue Sep 30, 2014 2:23 pm
Forum: General Software Discussions
Topic: Different Results From Picoscope 6 and My Program
Replies: 8
Views: 9398

Re: Different Results From Picoscope 6 and My Program

Thanks for the reply, Im using the Picoscope 2206A, and in the programmers guide the timebase formula says: (timebase - 2) / 62,500,000 I changed the timebase to see if it helped and I'm still not getting the correct data, are there any other discrepancies in my code compared to the Picoscope 6 sett...
by Cwebster
Thu Sep 25, 2014 9:02 pm
Forum: General Software Discussions
Topic: Different Results From Picoscope 6 and My Program
Replies: 8
Views: 9398

Different Results From Picoscope 6 and My Program

Hi, I'm trying to write a program to do some basic digital signal processing, and I want the program to mimic the data capture that I get when using Picoscope 6. At the moment I am currently using Block Mode to capture the signal (all the signal is sent within 50ms). With the settings I am using in ...
by Cwebster
Tue Sep 02, 2014 4:45 pm
Forum: General Software Discussions
Topic: 2206A Trigger Problems
Replies: 9
Views: 10509

Re: 2206A Trigger Problems

Martyn wrote:Can you send me your code to support@picotech.com and I can take a look.
Thanks, I've sent an email with the code I am currently using.

I get values for Channel A but not Channel B, although I have set up both data buffers with memory allocation now.
by Cwebster
Tue Sep 02, 2014 12:57 pm
Forum: General Software Discussions
Topic: 2206A Trigger Problems
Replies: 9
Views: 10509

Re: 2206A Trigger Problems

Martyn wrote:Where are you allocating the memory for your buffers, before passing their location to the driver?
As far as I am aware I am not doing this manually.
At the moment I am just defining the array in my .cpp file.

How would I go about doing this?

Thanks,
by Cwebster
Tue Sep 02, 2014 12:38 pm
Forum: General Software Discussions
Topic: 2206A Trigger Problems
Replies: 9
Views: 10509

Re: 2206A Trigger Problems

Thanks you for bringing this to my attention, I have changed the value to 2000 and the program now waits until I set off the trigger. I now have the problem that it still does not return any values, I'll explain in more detail; Call Order: ps2000aRunBlock( iPicoHandle, ( iSegmentSamples / 10 ), ( iS...
by Cwebster
Tue Sep 02, 2014 10:32 am
Forum: General Software Discussions
Topic: 2206A Trigger Problems
Replies: 9
Views: 10509

Re: 2206A Trigger Problems

Martyn wrote:What is PS2000A_2V ?
Hi, thanks for the reply.

PS2000A_2V is what I put in for the threshold, although the signature of the method asks for a short, I looked through the API enumerated types and thought that the ±2V would work for this value, is this not the case?

Thanks again,
by Cwebster
Sun Aug 31, 2014 11:02 pm
Forum: General Software Discussions
Topic: 2206A Trigger Problems
Replies: 9
Views: 10509

2206A Trigger Problems

Hi, I am setting up my Pico 2206A Oscilloscope using C++ and It seems to all compile. Throughout I assign the result of the function calls to a variable and ensure the returned PICO_STATUS is PICO_OK. I have set up my trigger as follows: iStatus = ps2000aSetSimpleTrigger( iPicoHandle, 1, PS2000A_CHA...
by Cwebster
Fri Aug 29, 2014 1:53 pm
Forum: General Software Discussions
Topic: 2206A Streaming Mode Help
Replies: 1
Views: 3858

2206A Streaming Mode Help

Hi, I'm new to programming with the Picoscopes and I've been reading the programmers guide but cannot seem to get my head around using the Streaming Mode with the 2206A scope. I have the Channels and Trigger setup, and I have set the data buffers up as so: Using RATIO_MODE_AGGREGATE so I have 2 buff...