#include "serial.h"
#include "semaphore.h"
Go to the source code of this file.
Defines | |
#define | __acquisition_h 1 |
#define | acq_type_object 0 |
#define | acq_type_special 1 |
#define | acq_type_user_readout 2 |
#define | acq_type_bias 3 |
#define | acq_type_flat 4 |
#define | acq_type_dark 5 |
#define | acq_status_running 0 |
#define | acq_status_stoped_by_user 1 |
#define | acq_status_accomplished 2 |
#define | acq_status_failed 3 |
Functions | |
int | acquisition_init () |
Initializes an acqusition. | |
int | acquisition_stop () |
called in order to stop an acqusition. | |
int | acquisition_init_readout () |
Initializes a readout. | |
int | acquisition_pop_item (struct acquisition_struct *dummy) |
pops an acqusition request from the acquisition queue. | |
void | acquisition_push_item (struct acquisition_struct input) |
queues a new acqusition request into the acquisition queue. | |
void | acquisition_clear_queue () |
clears the acquisition queue. | |
int | acquisition_done () |
called after the last frame of a series has been acquiered. | |
int | acquisition_done_readout () |
called after a readout has finished. | |
void | acq_queue_multiple (char *filename) |
queues a multiple exposure | |
char * | acquisition_success_string (int type) |
returns a string to representing the success of an acquisition of a given type. | |
char * | acquisition_type_string (int type) |
returns a string corresdonding to a given type code. | |
acquisition_struct | acq_get_status () |
returns a structure describing the current status of the acquisition. | |
void | ui_acq_progress_changed () |
void | ui_acquisition_stoped () |
void | ui_acq_readout_finished () |
called by acquisition.c whenever a readout has been completed successfully. | |
void | acq_set_progress (char *msg, float f) |
sets the progress of the acquisition . | |
void | acq_start () |
starts the acquisition . | |
void | acq_stop () |
stops the acquisition . | |
Variables | |
sem_t | acquisition_sem |
acquisition_struct | acquisition_current |
Copyright (C) 2001-2003 Dirk Huenniger (dhun@astro.uni-bonn.de)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
|
returns a structure describing the current status of the acquisition.
|
|
queues a multiple exposure
|
|
sets the progress of the acquisition .
|
|
starts the acquisition .
|
|
stops the acquisition .
|
|
clears the acquisition queue.
|
|
called after the last frame of a series has been acquiered.
|
|
called after a readout has finished.
|
|
Initializes an acqusition.
|
|
Initializes a readout.
|
|
pops an acqusition request from the acquisition queue.
|
|
queues a new acqusition request into the acquisition queue.
|
|
called in order to stop an acqusition.
|
|
returns a string to representing the success of an acquisition of a given type.
|
|
returns a string corresdonding to a given type code.
|
|
called by acquisition.c whenever a readout has been completed successfully.
|
|
an acquisition_struct descibing the acquisition in progress |
|
a semaphore protecting acquisition_list |