RobotStudio event

Is it normal DIO event not fired when the signal has set not by the system but by PDSDK?

By the result of many test I`ve done so far, it seems that DIO Changed event is not fired when I(the program that uses PCSDK) changed the signal.

What I have done for test so far...
1. Create a handler for listening DIO using PDSDK. (wrote some code to leave logs whenever the handler is called)
2. Get DIO Signal objects(instances) from Virtual Controller.
3. Change state of the signals.
4. Check the log I wrote the code in step 1 <== handler never be fired
5. Change the signal using by the signal controller on Robot Studio.
6. Check the log I wrote the code in step 1 <== logs have been written as I expected.

No DIO event need to be fired when I change the signal because I know the signal has changed, but I want to know my understand is correct or not.

Any help will be appreciated.
Thank you.
Tagged:

Best Answer