Jump to content
  • 0

Setting DC power supply in AD2 from Matlab


pgarde

Question

Hi,

I'am currently using my AD2 in Matlab 2018b and altough I'm capable of using some functionalities (the ADCs, for ex), I couldn't find a way of setting the power supply. Which, by the way, is doable in Waveforms. Does anyone know how can I set the DC power supply from Matlab?

Thank you in advance for your time!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Hi @pgarde,

Here is a non-digilent pdf that goes through using the AD2 with MatLab  Here is the MatLab site for using the AD2. Unfortunately, I don't have MatLab nor have used MatLab with the AD2.

In case you need more features than this "Data Acquisition Toolbox support package for Analog Discovery" provides you can use the WaveForms SDK to control the Analog Discovery 1 & 2, Electronics Explorer, Digital Discovery.

thank you,

Jon

 

 

 

 

Link to comment
Share on other sites

Thanks @jpeyron, I've read the articles you pointed but sadly they don't cover how to set the power supplies from Matlab.

The reason why I'm trying to do that is because I have a huge piece of code in Matlab which uses the ADCs and does some post-processing. The only thing I couldn't do was to set the power supply to replace an external source (Although I'm capable of using the scopes and the power supply simultaneously in Waveforms).

Any hint on this will be highly valued.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...