Torsten,
This is not directly supported by the RS-232 library, but you can probably get there by using the GetSystemComHandle function and calling Windows SDK functions yourself. The library opens a Windows file handle for the port, which GetSystemComHandle retrieves for you. Then you can use the SetCommState function in the Windows SDK to change the XON and XOFF characters. It might go a little something like this:
HANDLE hFile;
DCB deviceControlBlock;
OpenCom(port, "");
...
GetSystemComHandle(port, &hFile);
// Call the following lines after OpenCom/Config, SetXMode, and SetCTSMode
GetCommState(hFile, &deviceControlBlock);
deviceControlBlock.XonChar = 0x08;
deviceControlBlock.XoffChar = 0x10;
SetCommState(hFile, &deviceControlBlock);Note that the code first populates the structure with the current settings into the structure before making tweaks and applying the new settings.
OpenCom/Config, SetXMode, and SetCTSMode all call SetCommState internally, with the XON and XOFF characters hardcoded to the standard values, so you'll have to reset your custom XON/XOFF characters after each time you call these functions. XModemSend and XModemReceive also set the XON/XOFF characters, but you'll have no chance to change them to your custom values before the functions execute the transfer.
Mert A.
National Instruments