sir i have doubt can u clear it???
i have connected a 6v relay to uln2003 this relay acts as a switch for a 12v electromagnet so now if i give a continous high logic
at th input pin of uln2003 the relay jst starts and gets off. it does not stay at logic 1.
your schematic is not very clear but I think you have connected pin 9 of ULN to Vcc?
If so it is wrong, you have to connect it to the same supply as the relay (I think 12v in this case)