|
||||||||||||
|
All TiePie engineering measuring instruments can work in close collaboration with MathWorks Matlab software. This provides the possibility to perform instant processing on the acquired data, rather than first storing the measurements to disk, import them in Matlab and finally do your calculations. Earlier versions of Matlab required the use of .MEX files to be able to use the DLL's supplied with the measuring instruments, but Matlab 6.5.1 and higher are able to use the DLL's directly. You can find the DLL for your measuring instrument in the download section. A Matlab example script is available to show how TiePie instruments can be controlled from Matlab.
|
|||||||||||
cd c:\tiepie |
Before executing the script, set the DLL file name to the name of the DLL you want to use. By default, HS805.dll is used. For example, to use it with the Handyscope HS3, execute:
sDLL = 'HS3' |
To run the example script, execute:
TPMeasure |
The sample file is now executed: all channels are enabled, a measurement is performed and the measured data is shown in two figures. The first figure shows the measured data of all channels in the time domain and the second shows the frequency spectrum of all channels, calculated with the Matlab fft command. See the picture below for the result of a measurement performed with a TiePieSCOPE HS805.
Matlab measuring example with a TiePieSCOPE HS805.