In cases like yours it is always advisable to post the complete project so that we all can have a look at all of your settings? To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Virtually all components have to be started -
What is the range of the input signals you are dealing with. In voltage ?
All (nearly all) components need an initialization using a Start() function. This applies the settings made in the configuration and powers the component. So you have the opportunity when running on a battery to reduce power usage for components by calling a Stop() or a Sleep() function.
So I inserted a Comp_1_Start() call and now it should work perfectly. Project attached.
I want to check two voltage (0-5)V when one voltage is higher than other logic one should be acheived
Unfortunately the input CM range is limited to -
So you will have to divide down the Vin+ and Vin- to accomidate that. Simple
R dividers will accomplish that. I would suggest you use the Vref = Vdd / 2 for
the - input, and an equal R divider on the other. You will have to worst case the
design to establish range of trip values.
Now it works
Glad to have been of assistance.
Don'tforget to set the comparator with hysterisis to handle false tripping in
a noisy environment.