npn, pnp

Do the arduino boards work better with npn or pnp photoelectric proximity switches from Contrinex?
I am new to this type of project and this forum.
Any help is greatly appreciated.
Thank you.

Post a link if you want help on a specific sensor.
It should make no difference which one you use but without seeing the data sheet I can't tell for sure.

Do the arduino boards work better with npn or pnp photoelectric proximity switches from Contrinex?

It can be made to work equally well with any switches.

The npn or pnp is for different ways of signaling that the sensor is active or tripped or watever that sensor does, an npn would be switching the 0v, pnp switching 5v (or probably 12-24v native for that sensor)
all depends how you wanna design it, alot of sensors have dual outputs for that flexibility

Here is a link to the sensor I think I want:
http://old.contrinex.com/xml/productSheet.aspx?src=ps_LTK-3030-103&langage=English&typeFolder=OPTO
This is wonderful help,
Thank you

Interesting part.
So you apply +10V and Gnd.
In the PNP version, current is sourced to two load resistors.
In the NPN version, current is sunk thru two load resistors.
In either case, you would monitor the voltage at the load resistor and do some action from there.

With the PNP, the load could be two equal sized resistors in series, yielding a nice 5V max output (less the voltage drop across the transistor) to deal with.
With the NPN, not quite so easy, as full off would let the junction float up to the source voltage.

If your gonna use that sensor id suggest using a 5.1v zener after the output to make sure it doesn't go above 5v, this way you can use a higher voltage for the sensor and better than running it at its minimum