Test and Measurement Forum

get current config

Post your MATLAB discussions here

get current config

Postby tei » Mon Jun 20, 2016 2:14 pm

When connection to the PicoScope via Matlab, one getting a information list for most important parameters. How can I invoke this after i have connected the device?
Posts: 0
Joined: Fri Jun 17, 2016 8:06 am

Re: get current config

Postby Hitesh » Thu Jun 23, 2016 8:05 am

Hi Tei,

Once you have created an icdevice object, you use the following to view the properties (and groups) of an object, call

Code: Select all

You can then call the instrhelp function to view help text for the property you are interested in.

The same can be repeated for the various groups shown in the examples such as 'Block' and 'Trigger'.

Once you have identified the properties you are interested in, you can use the get function to retrieve the value e.g.

Code: Select all
numPostTriggerSamples = get(ps6000DeviceObj, 'numPostTriggerSamples');

The Instrument Drivers do not report back the channel settings at this moment in time so you should keep track of this in your code.


Technical Support Engineer
Site Admin
Site Admin
Posts: 2790
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Return to MATLAB

Who is online

Users browsing this forum: No registered users and 0 guests