how to use fast streaming with callback

Post your VB and VBA discussions here
Post Reply
teck
Active User
Active User
Posts: 17
Joined: Sun Feb 25, 2007 4:48 pm

how to use fast streaming with callback

Post by teck »

hi,
i am trying to run fast streaming with a callback function in excel macros. HOw do i call get_streaming_last_values with the callback function? Does the callback function returns anything to the main program? My get_streaming_last_values always returns a FALSE suggesting parameters are out of range. What is the correct procedure to call ps3000_get_streaming_last_values?

markB
Site Admin
Site Admin
Posts: 83
Joined: Tue Mar 27, 2007 9:43 am
Location: Cambridgeshire,UK

Post by markB »

I'm not a VB expert but I think you may need to use the AddressOf operator. I believe the usage of this is slightly different for VB6 and VB.Net so I wont try and post any code. Googling 'AddressOf' gives plenty of examples.

Post Reply