Search found 26 matches

by davidpruitt
Fri Jul 07, 2017 7:51 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Is this feature available in the public API?
Replies: 1
Views: 1719

Is this feature available in the public API?

We have several PicoScope 2204A oscilloscopes. We are recording a signal that is 500 ms in duration, and throughout the 500 ms duration of time there are a total of 15 biphasic pulses that are each 100 us in duration. We would like to record each biphasic pulse that is 100 us in duration, but we can...
by davidpruitt
Tue Aug 16, 2016 2:10 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: What scope allows hardware triggers on both channels?
Replies: 11
Views: 8263

Re: What scope allows hardware triggers on both channels?

Hitesh, Thanks for the link to the updated programmer's guide. I am still somewhat confused, however. Although it says that the Pico 2204A supports logic triggering, it also says: "The channels that are set to CONDITION_TRUE or CONDITION_FALSE must all meet their conditions simultaneously to produce...
by davidpruitt
Mon Aug 15, 2016 1:53 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: What scope allows hardware triggers on both channels?
Replies: 11
Views: 8263

Re: What scope allows hardware triggers on both channels?

Hitesh, According to the programmer's manual (https://www.picotech.com/download/manuals/ps2000pg.en-10.pdf), it doesn't seem like what you described is possible, even with "advanced trigger conditions". Quote from the manual (page 39 of the PDF, but numbered page 35 of the document): The channels th...
by davidpruitt
Fri Aug 12, 2016 2:25 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: What scope allows hardware triggers on both channels?
Replies: 11
Views: 8263

Re: What scope allows hardware triggers on both channels?

But you say that I could trigger off Channel A or Channel B? So would that look something like this: Enable Channel A Enable Channel B Set trigger to trigger on A OR B (using advanced trigger options???) Run Block Wait until scope is ready Read data using ps2000_get_times_and_values (it would includ...
by davidpruitt
Fri Aug 12, 2016 2:09 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: What scope allows hardware triggers on both channels?
Replies: 11
Views: 8263

Re: What scope allows hardware triggers on both channels?

In streaming mode my app (depending on some selections made by the user) either streams at 5 us/sample or 10 us/sample (so if my math is correct that is either 200 kS/second or 100 kS/second). We can sample at a lower resolution, however. The signal we are sampling is a 500 ms signal bi-phasic pulse...
by davidpruitt
Thu Aug 11, 2016 8:23 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: What scope allows hardware triggers on both channels?
Replies: 11
Views: 8263

Re: What scope allows hardware triggers on both channels?

So just to clarify further, let me write some pseudocode showing what I want to do:

Code: Select all

while(true)
{
    if (ChannelA is triggered)
        Collect data from ChannelA
    if (ChannelB is triggered)
        Collect data from ChannelB
}
by davidpruitt
Thu Aug 11, 2016 2:54 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: What scope allows hardware triggers on both channels?
Replies: 11
Views: 8263

Re: What scope allows hardware triggers on both channels?

Pretty simple reallly, I just want to be able to trigger each channel once the voltage rises above a certain level, say 1.0 V. Then, when the trigger occurs, I just want to collect the next 500 ms or so of data coming from that channel, whether it be channel A or channel B. Based on our discussion a...
by davidpruitt
Wed Aug 10, 2016 11:10 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: What scope allows hardware triggers on both channels?
Replies: 11
Views: 8263

What scope allows hardware triggers on both channels?

Quick question: I know the Pico2204A only allows doing a hardware trigger (using the RunBlock function) on one channel at a time. If I want to place hardware triggers on both channels simultaneously (rather than writing my own software triggers and streaming data from the scope using the run_streami...
by davidpruitt
Fri Jul 22, 2016 3:12 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Access violations when accessing data in fast streaming mode
Replies: 13
Views: 12326

Re: Access violations when accessing data in fast streaming

Hitesh, Thanks for the new drivers. I will try them out today. I have a few questions (also, sorry about the long amount of time between my last reply and this new reply). Question 1: We are a neuroscience lab, and could potentially be using these Pico scopes in a lot of places throughout our lab. W...
by davidpruitt
Thu Jun 16, 2016 2:24 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Access violations when accessing data in fast streaming mode
Replies: 13
Views: 12326

Re: Access violations when accessing data in fast streaming

Location 1 (where the SDK is installed): C:\Program Files\Pico Technology\SDK\lib picoipp.dll version: 1.1.2.52 ps2000.dll version: 2.1.4.38 Location 2 (where the PicoScope software is installed): C:\Program Files (x86)\Pico Technology\PicoScope6 Pico.IPP.dll version: 1.1.2.51 picoipp.dll version: ...
by davidpruitt
Mon Jun 13, 2016 11:28 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Access violations when accessing data in fast streaming mode
Replies: 13
Views: 12326

Re: Access violations when accessing data in fast streaming

I have finally been able to come up with a version of the program that reliably reproduces the behavior. First of all, here are some stats on my oscilloscope: Driver version: 2.1.4.38 USB version: 2.0 Hardware version: 17 Variant info: 2204A Serial info: DV037/342 Calibrated date: 11Apr16 Error code...
by davidpruitt
Tue Jun 07, 2016 2:32 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Access violations when accessing data in fast streaming mode
Replies: 13
Views: 12326

Re: Access violations when accessing data in fast streaming

64-bit. I am working on a smaller version of the app that replicates the problem that I can upload.
by davidpruitt
Mon Jun 06, 2016 2:45 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Access violations when accessing data in fast streaming mode
Replies: 13
Views: 12326

Re: Access violations when accessing data in fast streaming

Hitesh, Thank you for your reply. That is exactly what I am doing. My original code was simply copying data from the overview buffers to my own arrays. Having clocked my program, it is more than fast enough to read from the overview buffers without any overflows happening. Since I am sampling at a r...
by davidpruitt
Fri Jun 03, 2016 3:23 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Help with understanding ps2000_run_streaming_ns
Replies: 3
Views: 3542

Re: Help with understanding ps2000_run_streaming_ns

The way I would like to interact with the oscilloscope is basically as if it were a serial connection just streaming me constant data, and then I choose to either throw away that data or use it. So something like this (pseudocode): StartStreaming(scope_handle); while(true) { new_data = ReadNewScopeD...
by davidpruitt
Fri Jun 03, 2016 2:02 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Access violations when accessing data in fast streaming mode
Replies: 13
Views: 12326

Re: Access violations when accessing data in fast streaming

I have been actively trying to debug this, but still no luck. I suspected that maybe the overview buffers were overflowing, and maybe nValues was exceeding the size of the overview buffers, which would cause my loop to also read out of bounds of the allocated array. I tested this by simply outputtin...