My signature for the callback (passed into ps3000_get_streaming_last_values) looks like this:
- Code: Select all
public void MyCallback(IntPtr overviewBuffers, short overflow,
uint triggeredAt, short triggered, short auto_stop, uint nValues)
Now, the overviewBuffers should contain a 2-dimensional array of shorts (ie. short), but I don't seem to be able to unmarshall it.
Any help would be appreciated.
Also, is there any progress on a C# sample?