ADC 11 - Digital Output Programming

Post general discussions on using our drivers to write your own software here
Post Reply
Guest

ADC 11 - Digital Output Programming

Post by Guest »

Hi,

I am trying to program a Pico ADC 11 to produce suitable outputs from it's two digital outputs.

The Digital outputs are to be connected to a Counter which is controlling a Multiplexer, changing from channel to channel.

1st Dig Out - needs to be a flat Clear signal

2nd Dig Out - needs to be an 'up..down' jump to move the counter on one.

I am not sure how to do this and although I have a limited knowledge of True Basic I am not sure which program to use.

Any help would be greatly appreciated.

Alex

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Post by Robin »

Hi

As long as you're happy to do a bit of programming, it is pretty straightforward. You can set or clear the digital outputs using calls to adc11_set_do and adc11_set_do2.

See the User's Guide for more information.

Robin

Guest

Post by Guest »

Hi,

yeah I have read through the user guide and saw that I needed to control both the channels using the code from the user guide.

I take it the code needs to be entered into one of the programs i.e. C++, Visual Basic etc? If so which one would you recommend as I have no idea which one to use?

Thanks
AR

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Post by Robin »

Hi

Either language can be used. The most comprehensive examples we have are written in C and the documentation gives the C function prototypes.

You can download the examples from www.picotech.com/software

Robin

Post Reply