ps4000 streaming

Post your VB and VBA discussions here
Post Reply
eki
Newbie
Posts: 0
Joined: Sun Aug 15, 2010 11:00 am

ps4000 streaming

Post by eki »

Hi
Can somebody help with steaming mode in ps4000 and VB code.
I copied the VBA code from ps4000.xls to my VB6 code. The GetData works well, but the sreaming locks the whole VB. I think it stops at line "newSamples = AvailableData(handle)" What can cause this?
(PicoScope 4424)

Eki

Chris
Site Admin
Site Admin
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots

Re: ps4000 streaming

Post by Chris »

The example needs to be ammended, as follows....

Declare Function AvailableData Lib "ps4000Wrap.dll" (ByVal handle As Integer, ByRef startIndex As Long) As Long


Dim startIndex As Variant
newSamples = AvailableData(handle, startIndex)

Post Reply