wk,
first I recommend to slice your code into 2 or 3 independent running loops. Look for the producer-consumer examples.
1. While loop collect data from RS232 (have you tried to increase the read buffer?) and use an initialized queue to send the raw data to the
2.loop that write the data to file(s) and send (via queue) a reduced data stream to a
3. display vi.
Try to run loop 1+2 not in the vi that run your display
search the knowledge base and your help file for speed (treat) and memory performance
Greetings from Germany
Henrik
LV since v3.1
“ground” is a convenient fantasy
'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'