PASS or FAIL 5VDC signal stays on until the next test. Is there a way to reset the device other than a 120VAC power cycle to where neither the PASS or FAIL light is on going into the next test?
Answer
You can use ICP DLL functions to turn off the LEDs after programming is completed:
err=Icp2PinState(G3_GPF_OUT_PASS, PIN_LOW, &pin_state); //PASS/FAIL outputs
err=Icp2PinState(G3_GPF_OUT_FAIL, PIN_LOW, &pin_state); //+err=Icp2PinState(LED_INT_PASS, PIN_LOW, &pin_state); //PASS/FAIL LEDs
err=Icp2PinState(LED_INT_FAIL, PIN_LOW, &pin_state); //+err=Icp2PinState(G3_LED_PASS_EXT, PIN_LOW, &pin_state); //PASS/FAIL LEDs (ICP2GANG/COMBO)
err=Icp2PinState(G3_LED_FAIL_EXT, PIN_LOW, &pin_state); //+