The easiest way to stream data is to configure your serial port outside of a while loop.
Use a "bytes at port" wired to a visa read inside the while loop.
Close the serial port on the other side of the while loop.
You should put a wait in the while loop so you don't hog your CPU. Only needs to be a few mSec.
If you need to do any data processing you might what to use a producer - consumer design pattern.
Good Luck