From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

i want to build a comparator to compare voltages such that reference voltage is negative

i want to build a comparator to compare voltages where
reference voltage is negative,a square wave is to be generated at positive cycles of zero crossings of sine wave
0 Kudos
Message 1 of 3
(2,322 Views)
I am having trouble in understanding your question (aside of my suspicion that this may be a school assignment 🙂 ). Please check my previous explanation about comparators in your previous question:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000008C2B0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

Also, check the following answer I provide for a current question about zero-crossing detection:

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000008B2B0000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0

Also, check the attached vi (LabVIEW 5). The vi generate a sine wave, detect if the is greater or lower than zero and create a square wave accordingly.

Best regards;
Vargas
www.vartortech.com
0 Kudos
Message 2 of 3
(2,322 Views)
and your question?
0 Kudos
Message 3 of 3
(2,322 Views)