I was wondering if it is possible to generate a signal, arbitrary or not, and at the same time or some small time later record it with the same osciloscope and how is this possible? I can afford to lose the first part of the signal if it is not possible to start to register at the same time the generated signal begins. I was reading the C api document for the 2008A model and I can not find a single function that can possible do this. I also read the example source code (ps2000acon) and there is are generating signal functions and registering functions but there are not a combination of both.
I tried using an arbitrary signal that is triggered by software, then setup a block trigggered and at the end call the software trigger to start the awg and maybe start the block registering function but I can only get garbage in the buffers. Maybe my signal is too small (1000 samples at 1hz) or I need to repeat it many times in order to let the registering function to catch it. I welcome sugestions.
Last edited by Hitesh on Wed May 20, 2015 9:26 am, edited 1 time in total.
Reason:Added reference to Triggering a PicoScope Generator Using the PicoScope API Functions document
Hitesh's method is essentially how I am doing it. I have an arm button that when pressed sets up the function generator, run block, and another piece of hardware I am using. Once I want to collect data I tell the run block to start, trigger my other piece of hardware, then trigger the arbitrary function generator. Work's great. I can get it to between 400 us and 1 msec of delay between starting the run block and starting the function generator.