- STARGRASP Info-Sheet
- STARGRASP Quick Start
- STARGRASP Core System
- I. Core System Operation
- A. Quick Start
- B. Performance
- II. Core Software Overview
- Command Syntax Notes
- Application Notes
- A. Demo Scripts
- B. Toolkit Level
- C. STARGRASP C Libraries
- D. Controller Socket Commands
- E. Registers and Clocking Instructions
- III. Core Hardware Overview
- A. Cryogenic Assemblies
- B. Cryostat Mounted Assemblies
- PowerDist pcb
- Mounting plate
- C. Power Supplies
- IV. Computers and Switches
- V. Test Procedures
- Extra Software Provided (Unsupported)
- Status Server
- Log System
- FITS Data Store
- controller NTP client
- controller event timestamping
See also Command syntax notes
These are the five layers of interfaces to the STARGRASP controller system. Each is built on only the next lower layer:
A. Demo Scripts
Our example/template script commands run on the STARGRASP pixel server. They are implemented in Bourne Shell and are primarily for demonstration -- a suggested way to integrate a camera or set of detectors controlled by STARGRASP into a larger system. The scripts use toolkit level commands, described below, to control a group of controller boardsets.
The STARGRASP toolkit consists of C programs which a user or script can invoke on the pixel server host. Toolkit programs can be invoked on any host with the ability to connect to the controller using IP over Ethernet. The most important tools in the toolkit are those which receive log messages, boot the controller, send arbitrary commands, and retrieve FITS images. Additional engineering tools exist to visualize and optimize noise performance and generate clocking patterns.
Each of the toolkit tools are built on five main C Libraries. Users wishing to replace the Demo Scripts, or make their own customized tools that work in a similar fashion to the toolkit level can build their own programs by using the APIs at this level and linking with these libraries. Some of the APIs at this level are still evolving, so we recommend using the Toolkit tools instead, if possible.
The STARGRASP C libraries must accomplish all controller communication through a TCP socket on the controller's port 915 (by default.) The majority of these commands are sent by using grasp_cmd() (the C function, or the toolkit tool.) grasp_cmd is a pass-through to the extensive list of commands that the controller supports at the socket level. For diagnostics, many of these commands can also be typed manually if a serial console is connected to the controller, and most can be sent interactively with a tool such as "telnet" or "nc". A command exists to control each analog and digital function of the controller.
Registers and Clocking Instructions are the lowest level API, used only by someone adding a new controller socket level command. All controller socket level commands are implemented in C code (downloaded as the stage2.srec to the controller) which modifies registers or address space, and/or writes instructions to the clocking engine.
- stargrasp-src-2.00.tgz (9 MB) - Initial public release of software, including many extras., added by isani on Thu Jun 25 21:58:57 2009.
- stargrasp-src-2.02.tgz (10 MB) - Updated STARGRASP software from July 2011. Includes better 64-bit support., added by crae on Tue Jul 26 17:50:25 2011.
- stargrasp-src-3.00.tar.gz (9 MB) - Includes libjpeg (for otatool), Jumbo packet support, 64-bit fixes, and an ncurses fix for Director invisible prompt bug., added by isani on Fri Mar 16 13:10:11 2012.
- stargrasp-src-3.02.tar.gz (12 MB) - Various bug fixes, and adds noisetone and zimfits (in extras.), added by isani on Fri Sep 7 13:06:21 2012.
- stargrasp-src-3.03.tar.gz (13 MB) - New utilities ("make ccid20"), cestlavie history feature, updates to ircclient, director, and daqsim controller simulator., added by isani on Wed Sep 25 07:39:25 2013.