From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to build a comparator using labview?

how to build a comparator using labview?
0 Kudos
Message 1 of 4
(4,953 Views)
As an electrical circuit, a comparator is an analog circuit with two input voltages: a reference voltage, sometime referred as a threshold, and an input voltage. When the input voltage is above or below the reference voltage, the output of the comparator change its state.

You can emulate or even create versatil a comparator in LabVIEW by comparing the input voltage against a constant using the most adequate comparison function in the function palette. For example, you may want to use the "Greater?" vi to compare the input voltage (the x input) against a constant value (the y input). If x > y, the output is a boolean TRUE, if not, is a boolean FALSE. You can use this output to determine your output voltage. A good function to do so is the "Select" vi, which wil
l allow you to select between two options depending on the boolean state.

Best regards;
Enrique
www.vartortech.com
0 Kudos
Message 2 of 4
(4,953 Views)
Please restate the question.

We are unsure of your intended question. What is the purpose of your comparator. Logic? Voltage?

Please be very detailed.
0 Kudos
Message 3 of 4
(4,953 Views)

 i am designing the front panel for dual slope adc. Input signal will be given from labview library. how to build a voltage comparator for the same? plz

0 Kudos
Message 4 of 4
(4,370 Views)