I come in this forum cause I have a problem using Matlab r2018a and a PicoScope 4224. I'm gonna try to explain it as simply as possible.
Actually, I want to capture data using the streaming mode. So for this, I'm using this code that I've found on github (https://github.com/picotech/picosdk-ps4 ... _Example.m).
The problem is that this code permit to capture data for only 2s if we don't change parameters and me I want to capture data for 15min more or less.
To do this, I've changed :
Code: Select all
set(ps4000DeviceObj, 'numPostTriggerSamples', 2000000);
Code: Select all
set(ps4000DeviceObj, 'numPostTriggerSamples', 60000000);
But every time, from approximately 19s, the program stops and I have this error :
And I really don't understand why it stops and displays this error.Error using icgroup/invoke (line 95)
ps4000GetStreamingLatestValues: Status code : 268435464. Please refer to the PicoStatus.m file.
Error in pico4000 (line 322)
status.getStreamingLatestValues = invoke(streamingGroupObj, 'getStreamingLatestValues');
If anybody have an idea, i will be very grateful.
____________________________________________________
Processor : Intel Core i7-6700HQ @ 2.60GHz
Memory (RAM) : 8.00 Go
W10 64 bits