Search found 6 matches

by Oscar
Thu Mar 21, 2013 8:10 pm
Forum: C and C++
Topic: Can get only half of 32M samples (Picoscope 4226)
Replies: 10
Views: 5327

Re: Can get only half of 32M samples (Picoscope 4226)

Many thanks for your help! It works. I'm able to get up to 33554226 samples now!
Best regards,
Oscar
by Oscar
Wed Mar 20, 2013 6:37 pm
Forum: C and C++
Topic: Can get only half of 32M samples (Picoscope 4226)
Replies: 10
Views: 5327

Re: Can get only half of 32M samples (Picoscope 4226)

Here is a screen capture of the original program, only modified to have a BUFFER_SIZE of 32000000 instead of 1024. Just to see if it were any modifications I made. It does not appear so. http://www.lightningwizard.com/research/PS4000con.PNG I disabled channel B (99), then chose timebase, but it does...
by Oscar
Wed Mar 20, 2013 2:50 pm
Forum: C and C++
Topic: Can get only half of 32M samples (Picoscope 4226)
Replies: 10
Views: 5327

Re: Can get only half of 32M samples (Picoscope 4226)

Yes, but that line is only executed if it can open a file settings.cfg. Else (after line 832) it asks the user to provide the settings. There it calls: set_voltages(&unit); timeintv_ns = SetTimebase(unit); It then stores the settings in a text file, makes sure it does not request more samples than B...
by Oscar
Tue Mar 19, 2013 7:44 pm
Forum: C and C++
Topic: Can get only half of 32M samples (Picoscope 4226)
Replies: 10
Views: 5327

Re: Can get only half of 32M samples (Picoscope 4226)

I reinstalled Picoscope 6. By adding this line before asking for the settings in the program I get a normal timebase list even when I set BUFFER_SIZE to 32000000: unit.channelSettings[1].enabled = FALSE; SetDefaults(&unit); /* this line was already there. But if I choose 256 ms @ 8 ns (timebase 1) f...
by Oscar
Tue Mar 19, 2013 6:04 pm
Forum: C and C++
Topic: Can get only half of 32M samples (Picoscope 4226)
Replies: 10
Views: 5327

Re: Can get only half of 32M samples (Picoscope 4226)

Thanks for your reply. I'm trying to make sure it uses the dll file from the SDK. It previously used the dll from the installed Picoscope 6 software. I uninstalled Picoscope 6 now, but when I want to select the SDK system/x86 folder as location for the driver, the installation fails with "a service ...
by Oscar
Mon Mar 18, 2013 7:35 pm
Forum: C and C++
Topic: Can get only half of 32M samples (Picoscope 4226)
Replies: 10
Views: 5327

Can get only half of 32M samples (Picoscope 4226)

Hello. I have modified the C/C++ ps4000con.c script to control a Picoscope 4000 series. It initializes the settings, runs a loop, detecting a window-exit trigger, saving a block to a file, return to the loop. In our new application we want to have the maximum sample rate and maximum number of sample...