Triggering data acquisition with a TTL input in MATLAB

Post your MATLAB discussions here
Post Reply
yileili
Newbie
Posts: 0
Joined: Mon Jun 08, 2020 11:04 pm

Triggering data acquisition with a TTL input in MATLAB

Post by yileili »

Hi,

I have separately programmed two functions for the data acquisition using the following command modified from example code provided by the (Picoscope Instrument Driver)

[numSamples, overflow, chA, chB, chC, chD, chE, chF, chG, chH] = invoke(blockGroupObj, 'getBlockData', 0, 0, 1, 0);

and the generation of a TTL trigger input by an Arduino. I wonder what is the best way to combine the two? It seems that the instrument will wait for the trigger before executing any other functions. How can I coordinate the two events?

Yilei

Post Reply