Collect and extract UR robot data/information into computer for processing

How can we collect/ extract the data(information) of the UR3e robot arm in to our computer ?

the best way to extract any data is with RTDE on port 30004
see Link
https://www.universal-robots.com/articles/ur/interface-communication/real-time-data-exchange-rtde-guide/
It even gives example Python code to get you started.