Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

(Try to post the error messages too. It helps in debugging)

The offending command "chnfobj.getdata()" change it to "chnfobj.get_data()"

I also commented:

#axes.set_ylim([0.6,1.2])

since I do not know if chan 6 is or not a voltage channel. Now I got a plot.

To know the channel type, print the array chanid (giving in dictionary format) first then in a second pass, plot your selected channels accordingly to their type (set the y-axis range as needed).