iNTERFACEWARE Products Manual > Installing and Using Chameleon > Using Python Scripting > Chameleon Python API > Delimiter Functions > Example of Using the separator_char() Function |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
Let's say that your counterparty is sending you messages that arrive with different delimiter sets. By default, the ACK messages will always be generated using the delimiter set defined in the Options window. However, let's say that your counterparty required the ACKs to always use the same delimiter set as the original message. To correct this issue, you would need to use the set_separator_char() function to change the delimiters used to generate the ACK. To fix this issue, you would need to modify the Auto ACK VMD file:
The above code ensures that the delimiter characters used to generate the ACK are the same ones used from the incoming message. |