Go to Post "The lowly snowflake is very fragile, but look at what they can do when they stick together" - Wayne Doenges [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 05-02-2014, 21:55
JakeE's Avatar
JakeE JakeE is offline
Shut up and program.
FRC #4127 (LoggerBots)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Vernonia, OR
Posts: 3
JakeE is an unknown quantity at this point
Counting the amount of times a voltage is read?

I have been having a complete brain fart over how to program something I think should be really simple. Using a sequence, I want a button to start a motor, count the amount of times a certain voltage is read from our analog channel, and then stopping the motor. However, I have no idea how to count and reset the amount of times this voltage is read! Anyone have any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 05-02-2014, 23:44
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Counting the amount of times a voltage is read?

Look up Analog Triggers. You can define a voltage range for an analog input channel, and pass the output of the trigger to a counter as if it were a digital input.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 08:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi