how to use fast streaming with callback

 
Post new topic   Reply to topic    Pico Technology Forum Index -> VB and VBA (Excel, Access)
Author Message
teck
Advanced User
Advanced User


Joined: 25 Feb 2007
Posts: 17

PostPosted: Wed Mar 14, 2007 12:54 am    Post subject: how to use fast streaming with callback Reply with quote

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?
Back to top
markB
Site Admin
Site Admin


Joined: 27 Mar 2007
Posts: 77
Location: Cambridgeshire,UK

PostPosted: Thu Mar 29, 2007 8:30 am    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> VB and VBA (Excel, Access)
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group