I have a model 6487 picoammeter (Keithley ) connected to my
PC through GPIB interface . I have to find V-I
characteristic of a sample and real time data plotting of
the data taken from the device .I am new to matlab and need
serious help.
"Prashant Patil" <prashantpatil002@gmail.com> wrote in
message <g09fov$lp8$1@fred.mathworks.com>...
> I have a model 6487 picoammeter (Keithley ) connected to my
> PC through GPIB interface . I have to find V-I
> characteristic of a sample and real time data plotting of
> the data taken from the device .I am new to matlab and need
> serious help.
Hi Prashant,
Assuming that you are getting data regularly from your GPIB
device (probably using a loop)you can plot it in real time
by plot once before the loop. If you provide an output
argument to plot command, it returns you a handle to the
plot window.
Using this handle you can now update the XData and YData
properties inside your loop. You will have to however call
'drawnow' command to refresh your plot window to reflect the
changes made to XData and YData.
"Ankit Desai" <adesai.nospam@mathworks.com> wrote in message
<g09nic$h3h$1@fred.mathworks.com>...
> "Prashant Patil" <prashantpatil002@gmail.com> wrote in
> message <g09fov$lp8$1@fred.mathworks.com>...
> > I have a model 6487 picoammeter (Keithley ) connected to my
> > PC through GPIB interface . I have to find V-I
> > characteristic of a sample and real time data plotting of
> > the data taken from the device .I am new to matlab and need
> > serious help.
>
> Hi Prashant,
>
> Assuming that you are getting data regularly from your GPIB
> device (probably using a loop)you can plot it in real time
> by plot once before the loop. If you provide an output
> argument to plot command, it returns you a handle to the
> plot window.
>
> Using this handle you can now update the XData and YData
> properties inside your loop. You will have to however call
> 'drawnow' command to refresh your plot window to reflect the
> changes made to XData and YData.
>
> The following link might be useful:
> http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/creating_plots/f10-1460.html&http://www.google.com/reader/view/
>
> -Ankit
>
"Prashant Patil" <prashantpatil002@gmail.com> wrote in
message <g0jsdb$327$1@fred.mathworks.com>...
> "Ankit Desai" <adesai.nospam@mathworks.com> wrote in message
> <g09nic$h3h$1@fred.mathworks.com>...
> > "Prashant Patil" <prashantpatil002@gmail.com> wrote in
> > message <g09fov$lp8$1@fred.mathworks.com>...
> > > I have a model 6487 picoammeter (Keithley ) connected
to my
> > > PC through GPIB interface . I have to find V-I
> > > characteristic of a sample and real time data plotting of
> > > the data taken from the device .I am new to matlab and
need
> > > serious help.
> >
> > Hi Prashant,
> >
> > Assuming that you are getting data regularly from your GPIB
> > device (probably using a loop)you can plot it in real time
> > by plot once before the loop. If you provide an output
> > argument to plot command, it returns you a handle to the
> > plot window.
> >
> > Using this handle you can now update the XData and YData
> > properties inside your loop. You will have to however call
> > 'drawnow' command to refresh your plot window to reflect the
> > changes made to XData and YData.
> >
> > The following link might be useful:
> >
> http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/creating_plots/f10-1460.html&http://www.google.com/reader/view/
> >
> > -Ankit
> >
>
> Thank you very much , It really helped .
>
Hi Ankit,
Can you give me sample code for real time
plotting which use rand (random number generator ) inside
for loop .It will be very helpful for me .Thanks again
Public Submission Policy
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 Disclaimer prior to use.