Effacer les filtres
Effacer les filtres

How to use digilent analog discovery?

3 vues (au cours des 30 derniers jours)
keith lin
keith lin le 11 Fév 2014
Modifié(e) : Lowell Toms le 30 Avr 2014
if detect digital input (sensor)
send digital output port 1(turn on led)
pause(2)
send digital output port 1( turn off led)
send digital output port 2 (1 to 5 volts I choose)
1) I would like to do the above with diligent analog discovery. Can anyone give me a sample code of generate D/O and detect D/I?
2) I saw there's "16 channels digital pattern generator" So is it safe to assume there's 16 digital I/O port? But when I read the data sheet "http://www.digilentinc.com/Data/Products/ANALOG-DISCOVERY/Discovery_TRM_RevB_1.pdf" it said there's only 2 digital intput/output trigger signals. I'm not familiar with the jargon.
thanks
  1 commentaire
Lowell Toms
Lowell Toms le 30 Avr 2014
Modifié(e) : Lowell Toms le 30 Avr 2014
I sent an email to digilent support and got this:
"MatLab DAQ does not support digital IOs of Analog Discovery. To control these too, you could create custom application using the WaveForms SDK, with Python, C...
The drive strength of IOs is 4mA and have a 200 Ohm series PTC for protection."
So, 1) Not much current for LEDs, 2) apparently the NI devices have better support.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Periodic Waveform Generation dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by