Test and Measurement Forum

how to use fast streaming with callback

Post your VB and VBA discussions here

how to use fast streaming with callback

Postby teck » Wed Mar 14, 2007 12:54 am

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?
teck
Active User
Active User
 
Posts: 17
Joined: Sun Feb 25, 2007 4:48 pm

Postby markB » Thu Mar 29, 2007 8:30 am

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.
markB
Site Admin
Site Admin
 
Posts: 83
Joined: Tue Mar 27, 2007 9:43 am
Location: Cambridgeshire,UK


Return to VB and VBA (Excel, Access)

Who is online

Users browsing this forum: No registered users and 1 guest