User manual

Programming with the PicoScope 6000 Series20
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved.ps6000pg.en r9
3.8
Combining several oscilloscopes
It is possible to collect data using up to 64 PicoScope 6000 Series oscilloscopes at the
same time, depending on the capabilities of the PC. Each oscilloscope must be
connected to a separate USB port. The ps6000OpenUnit function returns a handle to
an oscilloscope. All the other functions require this handle for oscilloscope
identification. For example, to collect data from two oscilloscopes at the same time:
CALLBACK ps6000BlockReady(...)
// define callback function specific to application
handle1 = ps6000OpenUnit()
handle2 = ps6000OpenUnit()
ps6000SetChannel(handle1)
// set up unit 1
ps6000RunBlock(handle1)
ps6000SetChannel(handle2)
// set up unit 2
ps6000RunBlock(handle2)
// data will be stored in buffers
// and application will be notified using callback
ready = FALSE
while not ready
ready = handle1_ready
ready &= handle2_ready
Note: an external clock may be fed into the AUX input to provide some degree of
synchronization between multiple oscilloscopes.