Test and Measurement Forum

Help me for fast streaming acquisition Picoscope 3224

Post your VB and VBA discussions here

Help me for fast streaming acquisition Picoscope 3224

Postby FX » Sat Sep 20, 2008 7:44 am

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 ?

Posts: 2
Joined: Wed Sep 17, 2008 1:58 pm

Postby ziko » Fri Oct 17, 2008 11:02 am

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.

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

Return to VB and VBA (Excel, Access)

Who is online

Users browsing this forum: No registered users and 0 guests