I am trying to use SDK with 2207B unit, and the ps2000_open_unit function always returns 0 handle. I tried both 32 and 64 bit versions.
Picoscope 6 software works fine.
What can be the problem?
Thank you, that worked out.
Now I am trying to use the PicoScope2000aExampleRapidBlock.vi example, and for some reason only the 1st waveform is updated when I click on Run button on the front panel, independently of the Number of captures parameter value.
Is it a bug or I misunderstand something?
Firstly make sure that Tools->Preferences->MaximumWaveforms is set to a value >= to the number you wish to collect using rapid trigger.
Then try a normal repeat trigger and what you will see is the waveform count at the top increment buffer by buffer as the scope triggers, displaying the last collected buffer each time. 1 of 1, 2 of 2, 3 of 3 .... x of x
Now change to RapidTrigger and start a capture, you will see nothing in the display until all the buffers are collected by the scope. The software will then download and display the first buffer and you will see that the count at the top says 1 of x , where x is the number of buffers you configured for rapid trigger. You can now use the waveform buffer tools to step through the collected data.
Maximum waveforms is set to 10k.
The normal repeat trigger works fine as you described.
The rapid trigger works as you described, and I can I can step through the collected data, although after restarting the acquisition only the first waveform in the buffer is updated. This problem pertain to both SDK and Picoscope 6.
I can step through the waveforms, that is not the problem. The problem is that the waveforms (except the very first one) are from previous run, they do not get updated.
If I step through those files each buffer in turn is different from the previous one, and if you compare file to file the same numbered buffers are different, so I am still at a loss in seeing what you are.
One point when you run again are you are allowing it to fully capture the 1000 buffers and stop.
Actually I can see the issue you have, the 20200708-0001.psdata file I had originally loaded for comparison was the earlier one you sent through not the second one. I will need to test this against a real scope tomorrow.
Thank you, I am waiting for the result.
I also sent a post about this problem to PicoScope 6 for Windows forum, but it is not published yet. Why is that?