connecting to 2 different scopes from 2 matlab instances

Post any questions you may have about our current range of oscilloscopes
Post Reply
gelbertgil
Newbie
Posts: 0
Joined: Tue Dec 19, 2023 10:04 am

connecting to 2 different scopes from 2 matlab instances

Post by gelbertgil »

Hello
I have the 5444D and I use it with MATLAB.
I plan on buying the 2204A and using it in parallel with the 5444D from a different instance of MATLAB on the same computer.
Will each instance of MATLAB be able to connect to its scope and they will run independently?

Thank you

Gerry
PICO STAFF
PICO STAFF
Posts: 1145
Joined: Mon Aug 11, 2014 11:14 am

Re: connecting to 2 different scopes from 2 matlab instances

Post by Gerry »

Hi gelbertgil,

Sorry for the delayed response.

In theory, you should be able to do that without any issues (although, you may find that you have to compile executables to do so). That is what you can do with our PicoScope 7 software, i.e. run 2 instances of the software with each instance controlling its own PicoScope.

It's actually simpler than controlling 2 PicoScopes from the same API, because you don't need to duplicate functions related to hardware resources (typically using arrays) and reference the individual handles/arrays everytime you want to utilize one of those functions. Instead you can just use the code from the Github examples as direct references (but it may be more time consuming if you do have to create the executables, each time).

Regards,

Gerry
Gerry
Technical Specialist

Post Reply