I am sorry I do not have a link to this sensor as I just found it in the store room of my company with no details of the manufacturer or the part number.
So, you are just guessing what the device is and how to connect it. Why do you suppose that you have the hardware connected correctly, and that it must, therefore, be a software problem?