LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a Program that counts specified voltage

I have a project due for a freshmen engineering course (I'm extremely new to labVIEW), that reads voltage from an input (USB PMD-1208LS), and counts every time the voltage reading is 0. I also need to learn how to set HIGH/LOW values on a buffer that is connected to a breadboard (which is also hooked up to the PMD-1208). 

Thanks!

0 Kudos
Message 1 of 3
(2,661 Views)

First, you should note that if you are reading an analog voltage, it might never read exactly zero.  One, because there might be small levels of voltage and variations due to noise.  Two, it is a floating point number and floating points may never be exactly equal to another.

 

So you might have to implement code that checks to see if the reading is "close enough" to zero.

 

Second, what do you mean by "set HIGH/LOW values on a buffer that is connected to a breadboard".  What is the buffer, and what values are High/low?

0 Kudos
Message 2 of 3
(2,644 Views)

@Wired94 wrote:

I have a project due for a freshmen engineering course (I'm extremely new to labVIEW), that reads voltage from an input (USB PMD-1208LS), and counts every time the voltage reading is 0. I also need to learn how to set HIGH/LOW values on a buffer that is connected to a breadboard (which is also hooked up to the PMD-1208). 

Thanks!


You have a statement there, but no question. Are you just trying to show appreciation to your instructor here? Smiley Very Happy What you need to learn seems quite useful.

 

If you do have a question ("How in the heck do I do this?") that your knowledge attained through your course has not yet prepared you to answer, you might be able to do some catching up (at least enough to understand your course notes) by working through the online tutorials listed below. Please let me know if they help.

 

Cameron

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 3 of 3
(2,613 Views)