Jump to content
  • 0

use digital out the fastest way with OS


berguenstein

Question

Hi,

I'd like to update my digital pins of the Analog Discovery 2 in quite a "fastest" time (1ms for example). The problem is, with a python script, the time let by the kernel is approximately 15 ms.

That's why I ask it there, is there a way to programm it with a sort of a script that would be faster than 15 ms to adapt the output (in a non-regular way, a pulse wouldn't work)?

Thanks for the time spent for help,

Marc

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Hi @berguenstein

Unfortunately the communication between the host/PC and device has such unpredictable milliseconds of latency.
You could use DigitalOut function to generate pulses, pwm or custom pattern on the device; or the "ROM Logic" for control loop or state machine.

See the SDK/ samples/ py/ DigitalOut examples.

ROM Logic: https://reference.digilentinc.com/waveforms_-_rom_logic

image.png

 

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...