I have a simple problem but I do not know how to solve it. I need to wait in a loop till I get a specific CAN frame from the device I am testing. The frame has no data field so I cannot specify a signal name. I tried to use the XNET Read in 'Frame CAN' mode and I used the size of the output array as a stop for the while loop. I thought that if no frame arrived that the size would be zero and if a frame arrived it would be 1. However, it always gives a size of 1 regardless of whether the frame arrives or not. The help text talks about trigger signals and the functionality sounds exactly what I want but I do not understand how to use it. It shows :trigger:.<frame name> as the signal name but non alpha numeric characters are not allowed in a signal name.
Any help appreciated.
Thanks
Andy