Search found 8 matches

by ruff
Wed Apr 10, 2013 7:44 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Unable to ps2000_run_streaming_ns for PS 2204, using C#
Replies: 7
Views: 7112

Re: Unable to ps2000_run_streaming_ns for PS 2204, using C#

Hooray! Thank you very much! I get a 1 as status back now.
So the problem was the values of the parameters? How can I know that?

Hopefully you can see the need of a C# example for the 2000 series.
by ruff
Tue Apr 09, 2013 12:24 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Unable to ps2000_run_streaming_ns for PS 2204, using C#
Replies: 7
Views: 7112

Re: Unable to ps2000_run_streaming_ns for PS 2204, using C#

Oh, I'm sorry that was only a temporary state. Of course, I tried longer intervals for every time_unit. In the meantime I changed the import slightly: short time_units instead of int time_units No success. Using the 2204 Picoscope in C# is killing me. Without the right examples, I even have to quest...
by ruff
Mon Apr 08, 2013 3:51 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Unable to ps2000_run_streaming_ns for PS 2204, using C#
Replies: 7
Views: 7112

Unable to ps2000_run_streaming_ns for PS 2204, using C#

Hello everyone, I have a problem calling "ps2000_run_streaming_ns" for a Picoscope 2204 in C#. I only get back "0" as status. Am I right, that with a 2204 you cannot use ps2000_run_streaming, but have to use ps2000_run_streaming_ns? After I opened the device I do this: short status; int range = 8; s...
by ruff
Wed Mar 06, 2013 7:50 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Unable to trigger PS 2204, using C#
Replies: 10
Views: 5179

Re: Unable to trigger PS 2204, using C#

HOORAY! AT LAST. Man, I'm so angry. With a really hight threshold it works for me, too. My test environment gives back values around 6000, when idle. So I thought, a threshold of 7000 or 8000 would be sufficient. Is there a tolerance here? And does it trigger, if I am above the threshold at the begi...
by ruff
Mon Mar 04, 2013 2:45 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Unable to trigger PS 2204, using C#
Replies: 10
Views: 5179

Re: Unable to trigger PS 2204, using C#

here you can find my test project:
https://www.dropbox.com/s/nyifaqbb9korp ... sole.zip?m

Only look at
CollectBlockTriggered
by ruff
Mon Mar 04, 2013 1:45 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Unable to trigger PS 2204, using C#
Replies: 10
Views: 5179

Re: Unable to trigger PS 2204, using C#

timeInterval: 1638400
timeunits: 2
maxSamples: 4032
by ruff
Mon Mar 04, 2013 1:12 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Unable to trigger PS 2204, using C#
Replies: 10
Views: 5179

Re: Unable to trigger PS 2204, using C#

Yes, the auto trigger kicks in. It is a signal that gives values from 0-145 when idle and then goes up to about 16000 (ADC counts). So I thought I was right to specify the threshold to something like 1000. I tested a lot with the threshold. Oh, I accidentally posted a test, where I set the threshold...
by ruff
Mon Mar 04, 2013 12:39 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: Unable to trigger PS 2204, using C#
Replies: 10
Views: 5179

Unable to trigger PS 2204, using C#

Hello! I'm using the PS2000.dll in C#. Altered the C# examples from PS2000A and PS3000.dll. I want to collect data using "PS2000_run_block". This works fine except from triggering. ps2000_set_trigger returns "1", so it should be alright? Am I missing something? It worked fine for a PicoScope 2206 I ...