Search found 17 matches

by picowally
Tue Apr 26, 2022 7:04 am
Forum: USB PC Oscilloscopes
Topic: 2208B effectively slower than 2205A
Replies: 2
Views: 1632

2208B effectively slower than 2205A

When I use normal block-mode with simple triggering, the 2205A has no problem in recording pulses with 25MHz and transferring the block of data to the PC, before rearming again. But with the 2208B (which is supposed to be faster!), I can't even get close to that. From 100 pulses (even at 25MHz!) it ...
by picowally
Mon Apr 25, 2022 4:41 am
Forum: General Software Discussions
Topic: ps2000aGetNoOfCaptures returns wrong number
Replies: 0
Views: 2591

ps2000aGetNoOfCaptures returns wrong number

Model is 2208B (2000-A Series) When I call ps2000aGetNoOfCaptures() without the trigger ever being triggered, "nCaptures" still shows a value greater than 0! Is this the expected behaviour? I thought it would return only the number of actually captured segements, but there can not be any, if the tri...
by picowally
Wed Apr 20, 2022 11:20 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Missing GetValuesTriggerTimeOffsetBulk64
Replies: 2
Views: 2723

Re: Missing GetValuesTriggerTimeOffsetBulk64

Thanks so much for the clarification.
I'm actually just happy to find out, I'm not the only one mislead :-)
by picowally
Wed Apr 20, 2022 10:25 am
Forum: General Software Discussions
Topic: Relative time between triggers Rapid Block Mode
Replies: 21
Views: 32014

Re: Relative time between triggers Rapid Block Mode

Also a little bumped here :( We just got two 2208Bs as I thought the Offset would provide what I now know it doesn't, after reading through threads for quite a while :? The dilemma is, that all I had before was a call to get system ticks (which isn't accurate at all but at least something) and now (...
by picowally
Wed Apr 20, 2022 7:59 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: Missing GetValuesTriggerTimeOffsetBulk64
Replies: 2
Views: 2723

Missing GetValuesTriggerTimeOffsetBulk64

Hello!
I am trying to get Rapid Block mode running in C# with a 2208B, but the GetValuesTriggerTimeOffsetBulk64 method was not included in the Imports-class.
Is there any way to get the times for a bulk recording in C#?
Thanks!

P.S.: It seems to be available in the python examples.
by picowally
Thu Apr 14, 2022 4:30 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: PinnedArrays in API examples
Replies: 11
Views: 6081

Re: PinnedArrays in API examples

Ah yes, the unsafe-scare :) I totally forgot about that. Good point… But as I understood it, there's actually more difference between pinning via GCHandle and fixed segments. THE Hans Passant has an interesting answer over at SO, but I am not knowledgeable enough about G...
by picowally
Thu Apr 14, 2022 9:36 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: PinnedArrays in API examples
Replies: 11
Views: 6081

Re: PinnedArrays in API examples

I'm curious what the decision was, not to use the "fixed" statement here, as it would make "unpinning" of the arrays unnecessary and we could just use regular GC routines.
by picowally
Wed Apr 13, 2022 3:19 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: PinnedArrays in API examples
Replies: 11
Views: 6081

Re: PinnedArrays in API examples

That explains why I have no problems so far, without using the pinned arrays. The GC mode GCLatencyMode.Batch basically disables the GC :D
by picowally
Tue Apr 12, 2022 7:37 pm
Forum: .Net Languages (C#, VB.Net, .)
Topic: PinnedArrays in API examples
Replies: 11
Views: 6081

Re: PinnedArrays in API examples

Hi bennog! Interesting idea. If I understand correctly, I would write a C function that does 'something' (like iterating, maybe) over the arrays, and that function, should start to see discrepancies, right? If I put increments of 1 in the arrays and check on the C side, data would get discontinous. ...
by picowally
Tue Apr 12, 2022 8:47 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: PinnedArrays in API examples
Replies: 11
Views: 6081

Re: PinnedArrays in API examples

Hey Martyn, thanks for the answer! I am using unpinned arrays for a while and have not encountered a problem even once. So I am wondering now, how one would go about writing tests for this scenario :wink: But that's a question for a different forum, I guess :D BTW, the quality of your products is im...
by picowally
Mon Apr 11, 2022 12:23 am
Forum: .Net Languages (C#, VB.Net, .)
Topic: PinnedArrays in API examples
Replies: 11
Views: 6081

PinnedArrays in API examples

Hello everyone! Quick question: In the API examples for the 2000A-Series (possibly others, that's the one I know so far :D ) the arrays passed to the GetValues and GetTimesAndValues methods are pinned (PinnedArray) and have to be fully initialized beforehand. Why is this necessary and in what situat...
by picowally
Sun Apr 10, 2022 3:07 pm
Forum: Getting Started
Topic: Complex trigger difficulties on picoscope 2000 2206B
Replies: 1
Views: 16991

Re: Complex trigger difficulties on picoscope 2000 2206B

Hi!
I have a different setup and hardware (2205A), but am also struggling with a kind of similar behaviour, where the trigger will fire at falling edge when it is configured to trigger at rising edge. Really strange. :?
by picowally
Sat Mar 26, 2022 8:40 am
Forum: C and C++
Topic: Updated examples and Tutorials
Replies: 2
Views: 2809

Re: Updated examples and Tutorials

Hello Martyn and thank you for your wonderful answer, although I was already aware of these links. I got it all working in VS2019, VS2022, VS Code, on PC and Pi, with C and C# 8) Basically I tried all the (sane) combinations even cross-compiling and remote-compiling (only for C). :D What I meant is,...
by picowally
Sat Mar 26, 2022 8:32 am
Forum: General Software Discussions
Topic: 2205A max number of samples
Replies: 4
Views: 2264

Re: 2205A max number of samples

Thanks, that's what I thought.
Have a wonderful rotation!
by picowally
Thu Mar 24, 2022 4:50 pm
Forum: C and C++
Topic: Updated examples and Tutorials
Replies: 2
Views: 2809

Updated examples and Tutorials

TL;DR: Has anybody successfully compiled the picoscope c/c++ examples in Visual Studio >= 2019 ? How?! --- Hello fellow scopers :-) I am struggling to get the c/c++ example code to work on a Win10 machine with Visual Studio. Is there any tutorial or walk-thourgh, on how to get the picoscope (2205A i...