looking for vb.net streaming mode example

Post general discussions on using our drivers to write your own software here
Post Reply
TimOster
Newbie
Posts: 0
Joined: Mon Dec 01, 2014 5:36 pm

looking for vb.net streaming mode example

Post by TimOster »

Where can I find a streaming mode example for vb.net? The GitHub only has block mode. I've got that working, now I'd like to add streaming.

Thanks.

Hitesh

Re: looking for vb.net streaming mode example

Post by Hitesh »

Hi Tim,

We do not currently have an example for streaming in VB .NET for the ps2000 driver although we may look to provide one in the future.

In the meantime, the PS2000Imports.vb file contains definitions for the functions from the ps2000Wrap.dll that can be used for fast streaming acquisition. There is an example of the code flow that you can use in the Excel example for this driver.

Hope this helps.

Martyn
Site Admin
Site Admin
Posts: 4483
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: looking for vb.net streaming mode example

Post by Martyn »

Alternatively look at the C# example and convert it :)
Martyn
Technical Support Manager

TimOster
Newbie
Posts: 0
Joined: Mon Dec 01, 2014 5:36 pm

Re: looking for vb.net streaming mode example

Post by TimOster »

OK, where is the C# example?

TimOster
Newbie
Posts: 0
Joined: Mon Dec 01, 2014 5:36 pm

Re: looking for vb.net streaming mode example

Post by TimOster »

OK, downloaded the c# files from GitHub. After looking at them, I see that you are using unsafe code. That can not be translated to vb.net.

VB.net does not support unmanaged code, so that won't work.

I'll work with the VBA example.

Post Reply