I'm reading data from ADC in real time (while loop) and I'm trying to plot in real time. Now, I can't use
Because it interferes with ADS's API and how it samples the data. My code looks something like that and it does plot in real time.
But if I want to plot to two different figures at the same time, I can't do it, ADC stops sampling and gives me criptic errors. I try to do something like that:
if cond == 1
Is there another way to plot to two different figures inside the loop? Should I use something else instead of 'dranow'?
I'm using DATAQ DI-1110 and its MATLAB API.