Switch off automatic text outputs

Post your MATLAB discussions here
Post Reply
NewMartin
Newbie
Posts: 1
Joined: Thu Mar 31, 2016 6:51 am

Switch off automatic text outputs

Post by NewMartin » Thu Nov 02, 2017 8:27 am

Hi,

I have to run individual measurements several hundred times using a 6403D. For each single measurement I am using the rapid block mode routine, which I call in Matlab. However, this has the nasty side effect, that each time the following status reply is written in the command line:

Code: Select all

runBlock:- Collecting block of data:
	Timebase: 3
	Pre-trigger samples: 0
	Post-trigger samples: 1197736
runBlock: Waiting for device to become ready...
runBlock: Device ready.

getRapidBlockData: Retrieving data...
getRapidBlockData: Converting to milliVolts and assigning to channel array.
getRapidBlockData: Data succesfully retrieved.
Is it somehow possible to switch the automatic text outputs off?

Thanks for your help!

Regards,

Martin

NeilH
PICO STAFF
PICO STAFF
Posts: 45
Joined: Tue Jul 18, 2017 8:28 am

Re: Switch off automatic text outputs

Post by NeilH » Thu Nov 02, 2017 2:03 pm

Hi Martin

If you put this line of code after connecting to the device it will suppress all the text outputs in the command window (except those for connecting and disconnecting)

Code: Select all

% Set device property to hide display output during data collection.
set(ps6000DeviceObj, 'displayOutput', PicoConstants.FALSE);
Neil
Neil
Technical Support Engineer

NewMartin
Newbie
Posts: 1
Joined: Thu Mar 31, 2016 6:51 am

Re: Switch off automatic text outputs

Post by NewMartin » Thu Nov 02, 2017 2:26 pm

Hi Neil,

thank you for your quick reply. Unfortunately, I get the following error code:

Code: Select all

Error using icdevice/set (line 104)
The name 'displayOutput' is not an accessible property for an instance of class device objects.
when inserting the line of code:

Code: Select all

PS6000Config;
ps6000DeviceObj = icdevice('picotech_ps6000_generic.mdd');
% Connect device object to hardware.
connect(ps6000DeviceObj);
set(ps6000DeviceObj, 'displayOutput', PicoConstants.FALSE); 
% Stop the Device
[status.stop] = invoke(ps6000DeviceObj, 'ps6000Stop');   
% Disconnect
disconnect(ps6000DeviceObj);
Additionally, get(ps6000DeviceObj) doesn't show me any property like this.

Which version of the PicoSDK is necessary to run your line of code?

Thanks for your help!

Martin

NeilH
PICO STAFF
PICO STAFF
Posts: 45
Joined: Tue Jul 18, 2017 8:28 am

Re: Switch off automatic text outputs

Post by NeilH » Fri Nov 03, 2017 10:05 am

Hi Martin

I am using the most up to date version of the SDK, PicoScope Support Toolbox and the 6000 series driver toolbox.

Neil
Neil
Technical Support Engineer

Post Reply