get current config

Post your MATLAB discussions here
Post Reply
tei
Newbie
Posts: 0
Joined: Fri Jun 17, 2016 8:06 am

get current config

Post by tei »

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?

Hitesh

Re: get current config

Post by Hitesh »

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

fieldnames('ps6000DeviceObj');
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.

Regards,

Post Reply