Test and Measurement Forum

ps6000RunBlock error

Post your MATLAB discussions here

ps6000RunBlock error

Postby picouser42 » Sat Apr 30, 2016 1:57 pm

Hi, I am trying to modify the example scripts for the PS6000 series and I am having a problem changing from runBlock to ps6000RunBlock .

When changing:
Code: Select all
[status.runBloc, timeIndisposedMs] = invoke(blockGroupObj, 'runBlock', 0)

to:
Code: Select all
[status.runBloc, timeIndisposedMs] = invoke(blockGroupObj, 'ps6000RunBlock', 0)


I get an error saying: No method with matching signature

However, if I type:
Code: Select all
methods(blockGroupObj)


I do see ps6000RunBlock in the list, so I do not understand where the problem might be. Could you give me any pointers on how to solve this?

I am running Matlab 2014b under Ubuntu 14.04.4 LTS and followed the instructions on http://www.mathworks.com/matlabcentral/fileexchange/48311-picoscope-6000-series-matlab-generic-instrument-driver, plus added the missing .SO files from https://www.picotech.com/support/topic19701.html
picouser42
Newbie
 
Posts: 0
Joined: Sat Apr 30, 2016 1:35 pm

Re: ps6000RunBlock error

Postby Hitesh » Tue May 03, 2016 11:03 am

Hi picouser42,

Which version of the picotech_ps6000_generic.mdd Instrument Driver file are you using?

This should be displayed when the connect() function is called.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: ps6000RunBlock error

Postby picouser42 » Tue May 03, 2016 2:10 pm

Hi Hitesh,

I am making use of version 1.2.10.

Code: Select all
   Driver Information
      DriverType:         MATLAB generic
      DriverName:         picotech_ps6000_generic.mdd
      DriverVersion:      1.2.10
picouser42
Newbie
 
Posts: 0
Joined: Sat Apr 30, 2016 1:35 pm

Re: ps6000RunBlock error

Postby Hitesh » Tue May 03, 2016 2:29 pm

Hi picouser42,

Thanks for confirming the version number.

Could you please e-mail support@picotech.com and I can provide an updated Instrument Driver file for you.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
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