Download CAAPE User`s Manual
Transcript
Simulator Reference ON_NVSER_SENDING( *INT PORT, *STRING ADDRESS, *INT POSITION, BOOL STATUS ) Called when a message is about to be sent from the serial port. • PORT is the port number, from 1 to max. • ADDRESS is the message address. • POSITION is the zero-based position of the indication message in the list of indications assigned to the port. • STATUS is a pointer to an internal variable returned to the simulator. Set this variable True to prevent the simulator from sending the message (for example, some protocol might require a special message bit to be set first, and the data to be transmitted only when another special message bit is set). ON_NVSER_SENT( *INT PORT, *STRING ADDRESS, *INT POSITION, BOOL STATUS ) Called when a message is sent from the serial port. • PORT is the port number, from 1 to max. • ADDRESS is the message address. • POSITION is the zero-based position of the indication message in the list of indications assigned to the port. • STATUS is a pointer to an internal variable returned to the simulator. Set the variable True to acknowledge that the event was processed. P2512A, Rev. J, Aug/15 13-27 Alstom Signaling Inc.