Search found 4 matches

by APOG
Tue Oct 29, 2013 3:26 pm
Forum: C and C++
Topic: C Console Example doesn't work
Replies: 7
Views: 8938

Re: C Console Example doesn't work

Thanks for your help. So i wrote with my colleague a simple console version. We get each status report after the function was called. And i think i have the probleme: My program does not go into the while sloop from your example: g_ready = FALSE; if((status = ps6000RunBlock(handle, 0, maxsample, 100...
by APOG
Fri Oct 25, 2013 2:25 pm
Forum: C and C++
Topic: C Console Example doesn't work
Replies: 7
Views: 8938

Re: C Console Example doesn't work

Hi, so i wrote my code like your example(thanks for that) but now i get a return failure for GetVales. Its 37 invalid buffer. But i have an array with enough space. I am confused, because in the programming guide, this error should not bereturned after the getvalues function. All other parts give me...
by APOG
Fri Oct 25, 2013 12:01 pm
Forum: C and C++
Topic: C Console Example doesn't work
Replies: 7
Views: 8938

Re: C Console Example doesn't work

Hi, thank you for this and now the console program works. But I don't get it, why i cant get values with my own program. This is my code and i made it with your guide unsigned long maxSamples = 100000; short *buffers = new short[100000]; ps6000BlockReady(handle2); short overflow2; FILE * fp; status ...
by APOG
Thu Oct 10, 2013 11:58 am
Forum: C and C++
Topic: C Console Example doesn't work
Replies: 7
Views: 8938

C Console Example doesn't work

Hello, i own a Picoscope 6402B device and i used the c console example of the sdk to learn the syntax of the picoscope. i can compile the example, the program finds the picoscope and show me some values of the 4 channels (i used the block mode). If i analyse the data, all the time value in the block...