Help me for fast streaming acquisition Picoscope 3224

Post your VB and VBA discussions here
Post Reply
FX
User
User
Posts: 2
Joined: Wed Sep 17, 2008 1:58 pm

Help me for fast streaming acquisition Picoscope 3224

Post by FX »

I followed your instructions as indicated on the manual,

handle the istruction ps3000_run_streaming_ns() return 1

but when invoke ps3000_get_streaming_last_values() , after about 30 seconds (with HDD led work), VB6 crash

in the manual not is clear in which variables are put data, and how,

example this is declare function VB6 for ps3000.dll:

Declare Function ps3000_set_unit Lib "c:\ps3000.dll" (ByVal handle As Integer) As Integer

for transfer data manual refers to a callback function, but how to declare in VB6 callback function ?

FX

ziko
Advanced User
Advanced User
Posts: 1705
Joined: Fri Dec 01, 2006 10:03 am
Location: St Neots

Post by ziko »

As far as we are aware we do not believe that VB6 supports callbacks, for this reason, a wrapper encapsulating the callback function has been provided in the ps3000Wrapper, available as a .c file for customer adjustment and as a .dll that has limited implementation.


Hope this helps.
Ziko

Technical Specialist

Post Reply