I would like to send and receive signals of mixed data types with my TC2 target using the SCI transmit and receive blocks. As there are no PACK and UNPACK blocks available with TC2 library, I tried using the BYTE PACK and BYTE UNPACK blocks with TC6 but I receive the following error message:
Error evaluating registered method 'Start' of M-S-Function 'c2000hostsci_rx' in 'pcjunk2/SCI Receive'. Attempt to reference field of non-structure array
I receive the same error when I try to use the UDP PACK and UNPACK blocks as well. How else can I pack and unpack data when communicating with my target?
Best Answer