wiki:GhostRedisInterface

Version 2 (modified by AndyVick, 9 years ago) ( diff )

--

GHOST Redis Interface

The redis server that controls (most) of GHOST is available on the standard Redis port (6379). The IP address of the machine will vary depending on where it is installed;

Location IP Address
ATC Lab169.254.0.20
NASA GlobalHawkxx.xx.xx.xx

Interfaces

Python :: either from Python scripts, programs or from the command line. To use the Python redis interface import redis;

import redis
r = redis.Redis(host="169.254.0.20")
r.keys()                              # returns a list of all the defined keys
r.get("UCam.filename")                # returns the value of "UCam.filename"

rdm:: RDM is a desktop manager for redis, just run rdm to see all the redis keys in real time.

Note: See TracWiki for help on using the wiki.