Search found 3 matches

by danis_rom
Thu Oct 20, 2016 2:30 pm
Forum: C and C++
Topic: Pico 4424 - ps4000GetValues
Replies: 3
Views: 5361

Re: Pico 4424 - ps4000GetValues

Hello Martyn, I just found my error in code and wanted to write it here, but I see you just suggest it. :) Yes this was the Problem, the variable sampleCountRead had different values (not initialized) and pointed to different values ... Extract from Help: noOfSamples, on entry: the number of samples...
by danis_rom
Thu Oct 20, 2016 9:34 am
Forum: C and C++
Topic: Pico 4424 - ps4000GetValues
Replies: 3
Views: 5361

Re: Pico 4424 - ps4000GetValues

I made some examples with different ways of reading Values. Try 1. Function_Start_Read_Pico - ps4000SetChannel -ps4000GetTimebase -ps4000RunBlock(...,CallBackBlock,..) wait for values: while (gState==0) DelayWithEventProcessing(0.1); -ps4000SetDataBuffer -ps4000GetValues In this case I always get th...
by danis_rom
Wed Oct 19, 2016 3:31 pm
Forum: C and C++
Topic: Pico 4424 - ps4000GetValues
Replies: 3
Views: 5361

Pico 4424 - ps4000GetValues

Hello, I'm using this code to read data from scope: typedef struct { int16_t handle; int *ptrIdPicoDevice; int state;// 0 - waiting for trigger/values read, 1- values are in buffer int armed;// 1 - a read operation was started for this device int16_t *buffers[MAX_NR_PICO_CHANNELS]; // array of buffe...