A method for connecting to a remote unit via a communications medium, determining a data transfer rate of the connection, setting a sampling rate between the remote unit and an implantable medical device at least in part as a function of the determined data transfer rate and receiving real time data from the remote unit via said communications medium.