Thread Subject: Problem doing readwaveform on channel 3&4 on Tek TDS 2024

Subject: Problem doing readwaveform on channel 3&4 on Tek TDS 2024

From: Rob Purser

Date: 12 Jul, 2007 09:03:56

Message: 1 of 1

Hi Byron,

I took a quick look at the issue you asked me about on channels 3 and 4 on
the tektronix 2024 driver. I'm not quite sure what the customer was doing,
but took a "wild stab" that it would be readwaveform. And, I can see a bug
that would prevent you from getting to channel 3 and 4.

I'm presuming that the following code would have shown the customer's issue:

instrreset

% Create a SERIAL object.
interfaceObj = serial('COM1');

% Create a device object.
deviceObj = icdevice('tektronix_tds2024.mdd', interfaceObj);

% Connect device object to hardware.
connect(deviceObj);

% Execute device object function(s).
groupObj = get(deviceObj, 'Waveform');
groupObj = groupObj(1);
y = invoke(groupObj, 'readwaveform', 'channel3');

Error using ==> icgroup.invoke at 90
Invalid SOURCE. CHANNEL must be one of: channel1, channel2, channel3,
channel4, referenceA, referenceB, referenceC, referenceD, math

It's a bug in the driver, logged as 390970:
http://komodo.mathworks.com/main/gecko/view?Record=390970

I believe I have a fix -- you can get an updated driver at
\\mathworks\public\Rob_Purser\ict\tektronix_tds2024.mdd

If you could send this to the customer, and have them back up and replace
the one that is at
$MATLABROOT\toolbox\instrument\instrument\driver
that would be great. Let us know if it fixes the problem.

-Rob


Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com