Cyrprus Assistance labview

Our programming team has been facing a problem with the cypress device and we are seeking help.
We have written code using labview that takes a cypress digital input and sets an LED to off (the LEDs are always on). For some mysterous reason it only works 1/4th of the time and we’re completly stumped on why. We can redeploy the same code that was working and it will no longer work.
If you have any idea whats wrong, if you dont think its right, please tell us, any help would be appretated.