File Exchange

image thumbnail

RigExpert Driver V2.4 for MATLAB

version 1.4.0.0 (6.34 KB) by Gergely Öllös
With this driver,one can make measurements, generate signals or get some screenshots from the device

1 Download

Updated 26 Feb 2013

View License

This module controls the rig expert complex impedance meter. As always, one have to instantiate the object first, then open the port and make some measurements or generate signals etc. After you are done, close the communication channel and finally delete the object. You can make measurements, generate signals or get some screenshots from the device. The driver is self-contained, just type help RigExpert at the MATLAB command prompt and you will get all the examples you need. For instance, the following example measures the complex impedance from 200KHz to 200MHz by 1000 points and plots the result.

AA=RigExpert('COM13');
serOpen(AA);
Measure(AA,300E3,200E6,1000,’plot’);
serClose(AA);

If you have any questions or suggestions, you can reach me on gergely.ollos@gmail.com. Have a nice day!

Comments and Ratings (2)

Chris: Try to change "waitForIt(obj,23,1)" on line 186 to "waitForIt(obj,1,5)". As long as I know, the AA series is compatible with this protocol /at least partially anyway/. Maybe only the length of the VER response has changed. If it does not do the trick, check the serial buffer what was sent over and post it here, will check it. On the other side, if it works, you are under obligation to give at least 5 USD to the first homeless person you meet :)

Chris Fuller

I couldn't get the software to work with my AA-1000. I am certain that I have the correct COM port identified, but get the errors:
Communication error (time out)!
The rig expert is not responding (make sure it is in PC mode)!
First you have to connect to the analyzer!
First you have to open a channel before closing it!

I used the test code:
AA=RigExpert('COM13');
serOpen(AA);
Measure(AA,300E3,200E6,1000,’plot’);
serClose(AA);

I would pay money if you could fix the problem.

Updates

1.4.0.0

Only description update

1.3.0.0

formatting problems has been resolved

1.2.0.0

minor bugs and format update

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor