hi,
You must be using some D I/O card to monitor these sensors,so all you have to do is use the read D I/O vi and get the status of the sensor and use a simple case loop for any action to be taken when the sensors go High or Low.
Hope this helps
cheers
vicky