Test and Measurement Forum

Switch between channels or use them in parallel

Post general discussions on using our drivers to write your own software here

Switch between channels or use them in parallel

Postby Anna » Tue Nov 08, 2016 1:28 pm


I'm programming a python (pyQT) application for a 6404B.
The python code accesses the SDK libraries, based on https://github.com/colinoflynn/pico-python.

I am currently taking data in the rapid block mode using channel A over ~ hours. I connected a temperature correlated signal to channel B. I would like to monitor the temperature in ~ minutes intervals.

My current algorithm is
1) set channel A (and other required stuff)
2) in a while loop: rapid block
3) stop rapid block loop after a minute
4) set channel B
5) start normal block mode, stop it
6) set channel A
7) == 1)
This crashes due to not freed memory.

Therefore I wanted to ask how data taking from several channels is usually implemented (as algorithm independent of the language)? Is it possible to record 2 channels in parallel or is it required to switch regularly between them?

Thanks for any hints,

Posts: 0
Joined: Fri Sep 16, 2016 8:44 am

Re: Switch between channels or use them in parallel

Postby Hitesh » Thu Nov 10, 2016 2:10 pm

Hi Anna,

If you have set up both channels A and B and setup data buffers for both channels, then data will be available for both channels when you undertake a data collection. The PicoScope 6000 Series devices use simultaneous sampling.

We do not support mixed mode data collection (block/rapid block) and you should not need to run a data collection for one channel and then the other unless that is intentional.

You can use downsampling to reduce the number of data points for channel B.


Technical Support Engineer
Site Admin
Site Admin
Posts: 2387
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Return to General Software Discussions

Who is online

Users browsing this forum: No registered users and 0 guests