iMac can't find iPad.
I have an iPad3 which I have used for some little time but when I came to use it today there was no wifi connection. After a lot of checking and testing I have now got a wifi connection but my iMac simply does nor register the existence of the iPad in iTunes. remote on the iPad requests that I add an iTunes library and gives me a passcode but no devices are showing on iTunes so I cannot input the passcode. HELP!
iMac, OS X Mountain Lion (10.8.2), printer, scanner, ATVs, external hard drives, USB DAC