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…
- Create a handler for listening DIO using PDSDK. (wrote some code to leave logs whenever the handler is called)
- Get DIO Signal objects(instances) from Virtual Controller.
- Change state of the signals.
- Check the log I wrote the code in step 1 <== handler never be fired
- Change the signal using by the signal controller on Robot Studio.
- 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.
I figure it out that events are not fired by my fault.
Please ignore this question.
I`m sorry for these question without deep research.