Tube connector including two conductive elements and a resistor and/or capacitor electrically connected therebetween, the two elements arranged such that an electrical circuit including the two conductive elements and the resistor and/or capacitor will be closed when the tube connector mates with a device connector of a medical device.