I am currently working with a PicoScope 2208A. What I am trying to do is generate a signal using PicoScope's AWG channel and feed it as an input to a system and feed the resulting output from the system back into channel A of the PicoScope in block mode (for a start, eventually I would also like to be able to this in streaming mode).
So far I have managed to generate the signal input into the system using AWG:
1. Setting up the scope in this mode (as in PS2000A_ID_Sig_Gen_Example.m)
2. Sending the signal to the scope continuously until I decide to set it to 0 manually:
How should I then approach capturing this waveform?
Code: Select all
while(1) % Output the modified input waveform [status.setSigGenArbitrarySimple] = invoke(sigGenGroupObj, 'setSigGenArbitrarySimple', in_mod_central); end % Set the output to OV DC [status.setSigGenOff] = invoke(sigGenGroupObj, 'setSigGenOff'); % Disconnect and delete the device disconnect(ps2000aDeviceObj); delete(ps2000aDeviceObj);
What I have tried to do so far was setting up and implementing the block mode capture in between the while loop and the line of code setting the AWG output back to 0V - hoping that this would account for simultaneous operation of the scope in the two modes, but I could not plot the output in Matlab (while being able to see it on a different oscilloscope's screen)
Thank you and best regards,