I am currently writing software to interface to the 4224 so that I can see a waveform from a device and interpret its signal. The device is stationary and as I move an object close to it a waveform is generated. I need to know two things:
1) How far from the device was the object when the signal started (I am using a cylinder with position feedback)
2) Did the device produce the proper signal over 200 ms
In order to do this I need to have immediate (within a ms or 2) feedback when the scope has been triggered. I can accomplish this with triggered block mode. However, in order to get the immediate feedback my sample size must be very small because the callback function is not called until all the data is collected.
I tried streaming mode as well but it seems the callback is not called every time I call ps4000GetStreamingLatestValues. Most times it takes 3 calls (roughly 30 ms) to get a response from the device.
Does anyone know of a way to both have this desired immediate feedback and retain 200 ms worth of data?