Can only get Arduino Uno output on Arduino IDE

I suspect you are facing a problem because opening the serial port causes the Arduino to reset.

If you wrote a special program (using Python, for example) to gather the data you would build in a process to wait until the Arduino had gone through its reset process.

Some of the other serial terminal programs (perhaps PuTTY) have the ability to save stuff to a file.

...R