Properties about time
In this project some time properties are defined internally, and they cannot be modified by users. In the following, these time properties and the associated running logic are explained.
Sending process:
- According to sACN-2016, the Universe Discovery Frame is sent every 10s.
- After data frames with the terminate flag have been sent, the socket kept opened in 2.5s, in order to keep receiving sACN frames arriving from other sources during this period. After time has been expired, this socket is closed and
bCommunicated
andbConnected
are set back to FALSE. Socket cannot be reopened unless a falling edge of terminate variablebStreamTerminated
occurs.
Receiving process:
- According to the sACN specification the receiving process will be terminated, and the client will change to idle state, if no new sACN Data Frame has been received in a period of 2.5s. The socket keeps opened if no error occurs during the idle time.
- If no error occurs during idle state, the receiving process will restart after 5s.