Included is a step-by-step presentation to introduce the USB interface that goes with the simple scripts:
* open serial connection to USB
* confirm connection via *IDN?
* retrieve 4,000 point scan
* retrieve 1,050,000 point scan
* format data for use as Simulink input
Thanks for all the files and info.
I am trying to read voltage data of a motor in MATLAB.
Now, I was able to use your dsplot file and import the square waveform.
However I need to read rolling data wrt time. So not a waveform technically.
Also, When I use the dsplot my oscilloscope freezes. Would you please elaborate?
My oscilloscope is a GDS-1102 and I am using MATLAB 2013 on PC.
Quick synopsis of the setup + run sequence:
>> s = openInstek1000Serial('COM3')
Other Instek products in the GDS-1000A series should also work with these examples but they have not been tested with them. The commands used here come from the "GDS-1000A Series Programming Manual", GW Instek part no. 82DS-1102AI01 (Sept. 2009 is latest), downloaded from http://www.gwinstek.com/en/product/productdetail.aspx?pid=3&mid=7&id=42 ... more info in the PDF file included with the download.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.