Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5366

Using Loop to read value

$
0
0

Hello !!

 

 I am detecting rising and falling edge of a square wave in a loop.......but i am not able to do it.....kindly help........sample code is...

 

Case 1 :

do

{

 

Val = readhardware(channel number);

if (val >2) break;

 

 

}while(1)


Viewing all articles
Browse latest Browse all 5366

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>