Solution
In a CD, Inputs are write protected and you can only read this value. The main reason is to avoid race condition and let the mapping engine of Veristand to transfer the data into the CD inputs.
In this case, the best option is:
- Create a output Flag that represent this frame decoding event inside the CD
- In the system definition file, create an Alarm that is sensitive on this particular Flag.
- When this Alarm is triggered, Call a Procedure
- This Procedure will then be able to driver VeriStand Channels, and in this case, the Custom Device Inputs