NRAO Home  >  Green Bank  |  Wiki Topic:    GB > Software > CCBClassDoc
   Changes | Index | Contents | Search | Statistics | Go
-- MelindaMello - 20 Apr 2004

Under construction

Overview

The Caltech Continuum Backend is a continuum backend designed for use with th GBT 1cm and 3mm receivers. Unlike most other devices at the gbt, the Ygor manager has no direct access to the hardware. The backend is configured through C libraries provided by CalTech?. Detailed documentation of the libraries is in CCB library the YGOR manager to CCB document. All communication between the manager is done through two sockets, the telemetry socket and the control socket.

Threads

There are 4 threads. Each thread is responsible for a particular set of IO. 3 of them are for IO from the CCB librairy, the other is the PanelSErver? thread.

write_control -- This thread calls the ccb lib function ccb_client_communicate() and blocks. It will not return until there is an error or the clientlink is terminated. Whenever a queued command is queued by the CCBmanager, this thread "tells" the server to send data down to the hardware.

read_control -- This thread calls the ccb lib function ccb_client_communicate() and blocks. It will not return until there is an error or the clientlink is terminated. Whenever there has been a problem with one of the commands sent down to the CCB, it 'tells' the ccb to call the function that was registered with the ccb_cmd_error_callback() lib function.

read_telemetry -- This thread calls the ccb lib function ccb_client_communicate() and blocks. It will not return until there is an error or the clientlink is terminated. It 'tells' the ccb to call the callback functions that were registered with the ccb_monitor_msg_callback(), the ccb_integ_msg_callback() and the ccb_log_msg_callback lib functions.

Attachment: sort Action: Size: Date: Who: Comment:
CCBclass.pdf action 5152 20 Apr 2004 - 20:17 MelindaMello  
CCBthread.pdf action 3923 20 Apr 2004 - 20:20 MelindaMello  
ccb_external_hardware_interfaces.pdf action 976163 20 Apr 2004 - 21:06 MelindaMello  
ccb_network_interface.pdf action 978059 20 Apr 2004 - 21:09 MelindaMello  

Topic CCBClassDoc . { Edit | Attach | Ref-By | Printable | Diffs | r1.2 | > | r1.1 | More }
Revision r1.2 - 21 Apr 2004 - 14:19 GMT - MelindaMello Content copyright © 1999-2007 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.