Why would an app get stuck in ps2000_get_times_and_values()?
I have taken the ps2000.xls VBA macro example and changed exactly one line of code from
Call ps2000_set_trigger(ps2000_handle, 5, 0, 0, 0, 0)
Call ps2000_set_trigger(ps2000_handle, 0, 0, 0, 0, 1)
which, I believe, should enable triggering on CH A with an auto trigger of 1ms. In other words the example should capture some data pretty much immediately no matter whether there is a trigger or not.
However, although the code gets to the ps2000_get_times_and_values() call it never comes out, even if I guarantee a trigger by poking a signal up CH A
To gain control I am forced to disconnect the 2203 from the USB, at which point Excel and VBA come out of their "Not Respondong" state, and reconnect.
There is a thread elsewhere about auto trigger not working in the middle of last year, but the DLL mentioned there is older then the one in the SDK (10.1.0.8) I have downloaded in the last few days. So, unless the bug has slipped back in, this seems to be something different.
All files taken from PS2000sdk_r10_1_0_8.zip
PS2000.DLL version 188.8.131.52