From: Faisal rumayan on
I am trying to use the instrument control toolbox in Simulink (query instrument) to read continues data from DS06054a Agilent oscilloscope via USB.

Please let me know if this is the write way to acquire data.
Thanks
Faisal
From: Vinod Cherian on
"Faisal rumayan" <rumayan(a)yahoo.com> wrote in message <hv0ef8$393$1(a)fred.mathworks.com>...
> I am trying to use the instrument control toolbox in Simulink (query instrument) to read continues data from DS06054a Agilent oscilloscope via USB.
>
> Please let me know if this is the write way to acquire data.
> Thanks
> Faisal

Faisal,

Can you give more details of how you intend to use the data from the oscilloscope in Simulink?

Note that the oscilloscope returns a block of points at every read (i.e., a 1xN vector). Are you looking to operate on one point at each timestep, or are you looking to operate on a block of 1xN points at each timestep?

-Vinod
From: Vinod Cherian on
"Vinod Cherian" <vcherian(a)mathworks.com> wrote in message <hv6j19$pml$1(a)fred.mathworks.com>...
> "Faisal rumayan" <rumayan(a)yahoo.com> wrote in message <hv0ef8$393$1(a)fred.mathworks.com>...
> > I am trying to use the instrument control toolbox in Simulink (query instrument) to read continues data from DS06054a Agilent oscilloscope via USB.
> >
> > Please let me know if this is the write way to acquire data.
> > Thanks
> > Faisal
>
> Faisal,
>
> Can you give more details of how you intend to use the data from the oscilloscope in Simulink?
>
> Note that the oscilloscope returns a block of points at every read (i.e., a 1xN vector). Are you looking to operate on one point at each timestep, or are you looking to operate on a block of 1xN points at each timestep?
>
> -Vinod

You should be able to modify this example to work with VISA-USB.

http://www.mathworks.com/matlabcentral/fileexchange/12988