DIO control with ADC-24

Post your MATLAB discussions here
Post Reply
pmahon
Newbie
Posts: 0
Joined: Fri Jun 29, 2018 6:19 am

DIO control with ADC-24

Post by pmahon » Fri Jun 29, 2018 6:27 am

I would like to control the DIO ports on the ADC-24 and would be grateful for any MATLAB code that supports this.

Hitesh
Site Admin
Site Admin
Posts: 2829
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: DIO control with ADC-24

Post by Hitesh » Mon Jul 02, 2018 9:12 am

Hi pmahon,

Which version of MATLAB are you using and is it 32-bit or 64-bit?

Which mode of data collection are you using?

Regards,
Hitesh

Technical Support Engineer

pmahon
Newbie
Posts: 0
Joined: Fri Jun 29, 2018 6:19 am

Re: DIO control with ADC-24

Post by pmahon » Mon Jul 02, 2018 9:52 am

My application requires continuously sampling an analog input while using the digital output to control an external switch. I am using MATLAB 2016 in a 64 bit OS.

Hitesh
Site Admin
Site Admin
Posts: 2829
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: DIO control with ADC-24

Post by Hitesh » Tue Jul 03, 2018 8:17 am

Could you e-mail support@picotech.com referencing this forum post please as I can provide you with an updated driver for the device that resolves an issue with setting digital I/O and data collection.

We will be publishing some examples on GitHub in due course.

Update: Example files can now be accessed from MATLAB Central File Exchange.

Thanks,
Hitesh

Technical Support Engineer

Post Reply