Post your VB and VBA discussions here
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?
- Active User
- Posts: 17
- Joined: Sun Feb 25, 2007 4:48 pm
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.
- 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