I am using the C# example in the PS4000SDK (R10_1_0_17) with a Picoscope 4227 under Vista Business 32-bit, Visual Studio 2008.
I am using the Triggered Block mode, and my problem is that it works fine on the first trigger, but then does not trigger after that (the signal input is just a square pulse to test it). I have to restart the program in order for it to trigger again.
The 'immediate block' trigger works fine (well it would, since it disables the trigger).
I have checked all of the status codes from the various API calls, and they are all zero. I have looked at the data being passed to the calls, and its seem that it is duplicated data on the repeated call, so I don't know why just the first call is working.
I also tried the C example (PS4000con.c) and this works fine with no problems. I have not compared the code between the two examples to see if there are structural differences (at first glance the C# seems a direct translation).
It seems to be a C#/.NET problem that should be easily repeatable. I have not tried to look at all of the C# wrappers to see if the arguments are being marshalled correctly.
Has Pico Technology seen this problem?
Thanks.
Cart

