Hobbyist Toolkit

cancel
Showing results for 
Search instead for 
Did you mean: 

Linx using digital read pulse width

Solved!
Go to solution

I want some help to understand the function of the block digital read pulse width and particularly the Stimulus Pulse (Active High) and the DO Channel. What are they? and how can i use them.

0 Kudos
Message 1 of 4
(1,550 Views)

https://www.labviewmakerhub.com/doku.php?id=learn:libraries:linx:reference:labview:digital-read-puls...

it is used in ultrassonic distance measurement for example

Jorge Augusto Pessatto Mondadori, PhD
Sistema Fiep
CLAD, CLD
0 Kudos
Message 2 of 4
(1,509 Views)

thank's for the replay.

As I understood, the DO channel is the output pin of the digital Arduino pins we use to drive the ultrassonic distance sensor, and with the stimulus pulse we can choose the polarity of that pulse. Is that correct ? when the say a non polarity, can be that in a pulse ?

0 Kudos
Message 3 of 4
(1,467 Views)
Solution
Accepted by THEOLEFTHEROUDIS

for the first question yes, you are correct.

for the second i am not sure, give it a try.

 

since DO is optional, you can use the Square Wave.vi to generate a frequency, and measure pulse width with digital read pulse width.vi
and place a jumper between arduino pins, just for learning purposes.

Jorge Augusto Pessatto Mondadori, PhD
Sistema Fiep
CLAD, CLD
0 Kudos
Message 4 of 4
(1,453 Views)