13.07.2015 Views

CAAPE User's Manual - ALSTOM Signaling Inc.

CAAPE User's Manual - ALSTOM Signaling Inc.

CAAPE User's Manual - ALSTOM Signaling Inc.

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Simulator ReferenceFunction: XMIT_NVSER_POSN( port, position )Transmit the data in the indication specified by its serial port and position.• port is the serial port from 1 to max.• position is the zero-based position of the message.For example:* Transmit the second indication on port 3:CALL XMIT_NVSER_POSN( 3,1 )12.4.4. TWC/NVTWC Special Message FunctionsThese give the user access to TWC / NVTWC serial messages in non-vital applications.They can be used to help simulate the operation of special messages in someprotocols.TWC / NVTWC messages are identified by their board, channel, and position in the listof messages of a given type which have been assigned to the channel.Function: GET_NVTWCSP( board, channel, pos, message_bit, return_value )Returns the value of the specified bit in a special message.• board is the TWC/NVTWC board.• channel is the TWC/NVTWC channel.• pos is the zero-based position of the message in the list of special messagesassigned to the channel.• message_bit is the message bit, where 1 is the first bit.• return_value is the name of a Boolean variable which gets the value of the specialmessage bit.For example:* Get the fourth bit of the third special message for TWC board 1, channel 2CALL GET_NVTWCSP( 1,2,2,4,NEWVAL )P2512A, Rev. Oct/09 12–25 Alstom <strong>Signaling</strong> <strong>Inc</strong>.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!