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?
Post your MATLAB discussions here
1 post • Page 1 of 1