Test and Measurement Forum

matlab examples with picoscope 3405A

Post your MATLAB discussions here

Re: matlab examples with picoscope 3405A

Postby Hitesh » Fri Jun 02, 2017 2:54 pm

Hi Joe,

If you have installed the Instrument Driver files via the MATLAB Add-Ons Explorer, then please update the Instrument Driver files as a new property, displayOutput, has been added.

To suppress the output to the command window during data collection, please add the following to the MATLAB script after the connect code e.g.

Code: Select all
connect(ps3000aDeviceObj);

set(ps3000aDeviceObj, 'displayOutput', 0);

If you wish to wait until after the data has been retrieved before converting to millivolts then you will need to call the ps3000aSetDataBuffer() function to set a buffer for each channel/segment combination and ps3000aGetValuesBulk() function in order to retrieve the data instead of using the getRapidBlockData() function.

When installing the files on another PC, I would recommend the following:

Using the Add-Ons Explorer will add the files to the MATLAB path and you can then copy your scripts to the PC, running them from your preferred location.

I hope this helps,
Hitesh

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

Previous

Return to MATLAB

Who is online

Users browsing this forum: No registered users and 0 guests