Data streaming
Campbell Scientific data loggers can be set up to stream data. This allows the data logger to sit behind a firewall and push its stored data, in an easy-to-read format, to a computer. No data logger software is required on the receiving computer to control the process. For our purposes, “streaming” is a way to transmit data directly from data table memory to a destination without first having to create a local file copy of the data to be transferred.
Both HTTP Hypertext Transfer Protocol. A TCP/IP application protocol. and
FTP File Transfer Protocol. A TCP/IP application protocol. are standard computer network communications protocols commonly used to copy or move files between computers. We will primarily cover streaming to an FTP server using
FTPClient()
. Use HTTPPut()
to stream to an HTTP server. Although the servers are set up differently, the streaming portions of the CRBasic instructions are the same.
See the CRBasic Editor help for detailed instruction information and program examples:
For best results, use the latest operating system (OS) in your data logger.
For troubleshooting, see FTP troubleshooting.